- Joined
- Jul 21, 2019
- Messages
- 177
Hello, i need help making a "blocking mode" ability, something like the footman's toggleable defend where the unit uses alternate animations, but i need it to block a % of incoming damage, and only when the unit is facing the attacker.
I'm making a hack and slash style map and i already have a key movement and attack system, but i need the units to be able to block attacks too, i do have somewhat decent GUI triggering understanding but pure JASS coding and complex stuff like damage detection systems are beyond me, i don't like working with things i don't understand so i rather avoid these, if possible.
What i need is:
-toggleable ability
-makes unit walk slower and reduce damage coming from the front (can still be damaged from the sides or behind)
-makes unit use defend/alternate animations
-unit must be unable to use other abilities while blocking is toggled, but it can still move
Any advice would be truly appreciated, as i have no idea how to do this.
Something important, i'm making the map in 1.26-1.27 version, and keeping it as simple as possible in order to make it compatible with older and reforged clients, so using any wizardy added after 1.27 is a no-no for me, i've seen old maps with such systmes before so i know it is indeed possible, but i need help.
Thanks in advance
I'm making a hack and slash style map and i already have a key movement and attack system, but i need the units to be able to block attacks too, i do have somewhat decent GUI triggering understanding but pure JASS coding and complex stuff like damage detection systems are beyond me, i don't like working with things i don't understand so i rather avoid these, if possible.
What i need is:
-toggleable ability
-makes unit walk slower and reduce damage coming from the front (can still be damaged from the sides or behind)
-makes unit use defend/alternate animations
-unit must be unable to use other abilities while blocking is toggled, but it can still move
Any advice would be truly appreciated, as i have no idea how to do this.
Something important, i'm making the map in 1.26-1.27 version, and keeping it as simple as possible in order to make it compatible with older and reforged clients, so using any wizardy added after 1.27 is a no-no for me, i've seen old maps with such systmes before so i know it is indeed possible, but i need help.
Thanks in advance