- Joined
- Jan 14, 2008
- Messages
- 366
anybody can tell me how to do this? in gui please?
need a trigger system, that does the following:
hero picks up powerup "item H", his armor temporarily (but with infinit time limit) increases by 1. i dont want his base armor to be affected, so that any "double armor" ability is unaffected by this bonus.
i could make a trigger that just removes all abilities XYZ from the hero manipulating the item, checks the current armor bonus stored in an integer, then adds an ability that adds X+1 armor to the base where X is the bonus that the hero had before picking up the "item H", but that is probably the ugly and stupid way to do it.
need a trigger system, that does the following:
hero picks up powerup "item H", his armor temporarily (but with infinit time limit) increases by 1. i dont want his base armor to be affected, so that any "double armor" ability is unaffected by this bonus.
i could make a trigger that just removes all abilities XYZ from the hero manipulating the item, checks the current armor bonus stored in an integer, then adds an ability that adds X+1 armor to the base where X is the bonus that the hero had before picking up the "item H", but that is probably the ugly and stupid way to do it.