- Joined
- Aug 27, 2008
- Messages
- 127
Is there a way to prevent an item to add bonus intelligence to warriors in my map? Because they use rage and I don't want them to have more than 100 rage. Creating new items will be too much work.
You cannot directly.every 1 seconds
set max mana of unit to 100
Or you can customize the stat bonuses so you can freely determine which units can obtain such bonus
or customize the rage system, like using a variable to store rage rather than using mana
well, basically you will create something similar to an equipment system....
I think it will be easier if you will just make the unit unable to pick up the items with int bonus... or customize rage so that mana != rage
He already said "creating new items will be too much work"It can be done with triggers or replacing the item with a null one.
This system intended only to prevent a unit gets an INT bonus from an item. What if the item has +INT ability AND other bonus ability attach to it ? (hey, an item can have a max of 4 abilities attach to it) You would simply prevent it from obtaining the item ? That's discrimination lol (he wants that other bonus ability, not the +INT) but because you said to prevent, he gets nothing at allYou can also prevent the unit from acquiring items which gives int.
Same applied with aboveAnother solution to your problem might be to not allow your Warrior-class to be able to equip those items.
Just make a trigger that triggers on item acquired event. Check if the unit that gets the item is a warrior and if the item is of the item-type that gives intelligence. Then make the warrior drop the item.
He already said "creating new items will be too much work"
This system intended only to prevent a unit gets an INT bonus from an item. What if the item has +INT ability AND other bonus ability attach to it ? (hey, an item can have a max of 4 abilities attach to it) You would simply prevent it from obtaining the item ? That's discrimination lol (he wants that other bonus ability, not the +INT) but because you said to prevent, he gets nothing at all
Same applied with above