Hello, I am wondering, if it's possible via lua (spells) ;] This will be buff that stay for x time and in this time all spells/runes attacks should be lowered by x%, the x% should hit back the attacker ;] I know it can be done in c++, but I would prefer to use lua, since it gives great options on 8.1+ OTS (I am slightly behind ;D I had 6 months break, so I don't really know what changed in lua<->server interaction).
Example:
We use buff
Demon hits us for 600 hp with his UE,
we lost 540 hp (90%) and demon lost 60 hp (it doesn't matter which attack type demon used, even if he is immune he should lost hp, if it's possible).
Example:
We use buff
Demon hits us for 600 hp with his UE,
we lost 540 hp (90%) and demon lost 60 hp (it doesn't matter which attack type demon used, even if he is immune he should lost hp, if it's possible).