I am currently making a polymorph similar to the World of Warcraft polymorph (If the target is attacked or recieves damage then they turn back to normal). At the moment I can't even find a condition to whether a unit has the Polymorph buff or not. Can someone give me a quick runthrough of the easiest way to do this.- The unit must recieve damage from either a spell or an attack.
-also the unit needs to be affected by my particular polymorph, not just the normal Sorceress Polymorph
Actually that's not enough... You will need to check whenever the target of the polymorph is damaged. And when it is, you simply remove the specific buff given to the ability. That should do it!