tdauth / wowr

Warcraft III: Reforged funmap World of Warcraft Reforged.
https://wowreforged.org
8 stars 0 forks source link

Add spell Laser/Ray of Frost/Desintegrate #2698

Open tdauth opened 6 months ago

tdauth commented 6 months ago

Summons a laser in the facing direction of the hero which can be blocked by ground units/destructables etc. and has a max range. Damages everything which is in its way and is vulnerable.

Use PolarProjection, lightning and check for targets in the area.

https://www.youtube.com/watch?v=A96-WOCeLsc

https://www.youtube.com/watch?v=EGFUuUO1Osc

Add an onHit effect callback:

function interface OnHitUnit takes unit caster, unit target, integer abilityId returns nothing
function interface OnHitDestructable takes unit caster, unit target, integer abilityId returns nothing

Add Mass Ray spell which summons rays every 15 degree or something.

Existing Ray spell: https://www.hiveworkshop.com/threads/void-ray-v1-4.271098/

tdauth commented 5 months ago

Add hero Ray Master:

Sorceress Spell Attack animation on loop.

tdauth commented 5 months ago

https://www.hiveworkshop.com/threads/how-to-customise-lightning-effects.203171/

https://www.hiveworkshop.com/threads/spellbounds-custom-lightning-effects.292771/

We need:

tdauth commented 5 months ago

Add:

Balance mana costs, values etc.

tdauth commented 5 months ago
tdauth commented 5 months ago
tdauth commented 5 months ago

Add some kind of duration effect by storing the duration on the same target in the target struct and passing it to the target effect. We wait X seconds until the effect takes place for resurrection, cyclone etc. Harvest Ray should also consider duration on the same target.

Drain should cause damage from the caster to trigger creeps.

Update it in wow reforged for the resurrection not allied check and the new ticks counter.

tdauth commented 5 months ago

Add target skeleton summon sound for Raise Ray.

tdauth commented 5 months ago

Substract collision radius from the distance to the target.

tdauth commented 5 months ago

Add target and caster effects (special effects) and treat them like the target and loop sounds.

tdauth commented 5 months ago

Change icon of holy ray to heal?

tdauth commented 5 months ago

Add Hex/Polymorph Ray. It could either be permanent or only as long as you focus the unit but that would be rather weak.

tdauth commented 5 months ago

https://www.hiveworkshop.com/threads/barad%C3%A9s-ray-1-0.353444/

tdauth commented 5 months ago

Support holding key:

Holding key is detected by looping the cast of the spell with a maximum delay of 2 seconds or something (holdKeyMaxDelay). Warcraft will automatically recast the spell n times when you keep it pressed.

The mouse movement must be detected to get the direction while holding the key.

Add a single ray which is done like that or use Fire and Frost Ray.

tdauth commented 5 months ago

Refactor https://www.hiveworkshop.com/threads/barad%C3%A9s-ray-1-0.353444/#post-3618448