- Joined
- Nov 15, 2010
- Messages
- 30
Ok here's the thing, im making a map and one of its features is that heroes get evasion, critical strike and spell resistance by default and they grow like armor (well I changed armor to come from STR instead of agility to balance things out) I made it so that every 3 points of agility gives 1% of crit and evasion and 3 points of intelligence gives 1% spell resistance.
I made 4 skills and gave it to a spellbook, the four skills are for armor, evade critical and resistance, they have 75 levels, each one gives 1% (so the cap for all is 75%) then i made a trigger that sets the values each time a hero picks up/drops an item, levels up or learns a skill. Every runs as expected; except for this...
Once I set a level, the skill cant go down! it can only go up, this is a problem since if a hero picks up a stat-boosting item or an item that boosts crit evasion or resistance, once the hero drops it, he keeps the highest value!
I also added some armors that up evasion and spell resistance (to emulate it via triggers) and nothing, it just doesnt go down!
I could really use some help here, I don't know how to fix this! I would be glad to share my map with anyone who could help me fix those problems.
I made 4 skills and gave it to a spellbook, the four skills are for armor, evade critical and resistance, they have 75 levels, each one gives 1% (so the cap for all is 75%) then i made a trigger that sets the values each time a hero picks up/drops an item, levels up or learns a skill. Every runs as expected; except for this...
Once I set a level, the skill cant go down! it can only go up, this is a problem since if a hero picks up a stat-boosting item or an item that boosts crit evasion or resistance, once the hero drops it, he keeps the highest value!
I also added some armors that up evasion and spell resistance (to emulate it via triggers) and nothing, it just doesnt go down!
I could really use some help here, I don't know how to fix this! I would be glad to share my map with anyone who could help me fix those problems.