I was wondering if there might occur any problems if you avoid leaks with temporar variables and you have many triggers that may run.
So how likely is it, that two triggers run at the exact same time and try to use the temporar variables at the very same time. Does it happen at all?
Do I...
If it does not matter to you, that the extra damage is displayed in green, you could create an ability based on the "Item - Damage Bonus +1". Switch off "Item-Ability", give it several levels, where each level will have another amount of damage added. (Level 1: +1 Damage, Level 2: +2 Damage...
This can be done also. At first you need to know which amount of experience is needed for which level. This can be found in the gameplay constants. Afterwards you can make an integer-array that stores the minimum-experience for every level and finally you can than write your trigger, which sets...
Im not at the editor right now, but:
Do you want to remove all the corpses or just a few?
If you want to get rid of them all, you could perhaps just replace the unit which holds the corpses with a unit of same type?
Okay, thank you for your quick replies.
If these are the only solutions, I will leave that idea for now and proceed with the other unfinished parts of the map.
Or are there solutions, if you just use different evasions for ranged/meelee and let the spells hit every time?
I want to give my units evasion values depending on the way the are attacked. Means, I for example, want a Skeleton to have a 10% chance to evade a meelee attack, a 80% chance to evade a ranged attack and a 0% change to evade a magic attack (which is quite obsolete in this case, but science I...