Open tdauth opened 6 months ago
Add hero Ray Master:
Sorceress Spell Attack animation on loop.
https://www.hiveworkshop.com/threads/how-to-customise-lightning-effects.203171/
https://www.hiveworkshop.com/threads/spellbounds-custom-lightning-effects.292771/
We need:
Add:
Balance mana costs, values etc.
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.
Add target skeleton summon sound for Raise Ray.
Substract collision radius from the distance to the target.
Add target and caster effects (special effects) and treat them like the target and loop sounds.
Change icon of holy ray to heal?
Add Hex/Polymorph Ray. It could either be permanent or only as long as you focus the unit but that would be rather weak.
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.
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:
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/