killmeplease
Mk Z on Steam
hello!
i have two questions about this function
1. i read somewhere events marked as serial only work when the user looks at the spot where the event tooks place, is it true?
2. this event passes the id of the unit being damaged and damage values, but how to know what unit did inflict the damage?
what i want is to undo a portion of the dealt damage if it was a ranged attack: bombardment deals less damage to wounded units as they have less soldiers thus area bombardment becomes less effective.
e.g. theres 20 damage, if the bombarded unit had 100 hp, the full 20 damage is dealt. if the unit had 50 hp, only 10 (1/2) is dealt, if unit had 10 hp, 2 (1/10) is dealt...
i have two questions about this function
1. i read somewhere events marked as serial only work when the user looks at the spot where the event tooks place, is it true?
2. this event passes the id of the unit being damaged and damage values, but how to know what unit did inflict the damage?
what i want is to undo a portion of the dealt damage if it was a ranged attack: bombardment deals less damage to wounded units as they have less soldiers thus area bombardment becomes less effective.
e.g. theres 20 damage, if the bombarded unit had 100 hp, the full 20 damage is dealt. if the unit had 50 hp, only 10 (1/2) is dealt, if unit had 10 hp, 2 (1/10) is dealt...