- Joined
- Jun 2, 2009
- Messages
- 1,233
I was thinking it would be easy but it is harder than expected. Difficult part is, taking back the %50 bonus.
Explanation if you want to know what exactly i want.
You have a 100 strength. You are buying this item and it makes your strength 150 + 50 (+50 base comes from trigger)
And if you drop this item, it should revert it and it works.
But it not works after i level up. My base strength increases from 150 to 160 but nothing happens when i drop the item.
Is someone can tell me how to do that properly?
Explanation if you want to know what exactly i want.
You have a 100 strength. You are buying this item and it makes your strength 150 + 50 (+50 base comes from trigger)
And if you drop this item, it should revert it and it works.
But it not works after i level up. My base strength increases from 150 to 160 but nothing happens when i drop the item.
Is someone can tell me how to do that properly?
-
StatArttir
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Claws of Attack +15
-
-
Actions
-
Set StatSTR[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Exclude bonuses))
-
Hero - Modify Strength of (Triggering unit): Add ((50 x StatSTR[(Player number of (Owner of (Triggering unit)))]) / 100)
-
-
-
StatDus
-
Events
-
Unit - A unit Loses an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Claws of Attack +15
-
-
Actions
-
Hero - Modify Strength of (Triggering unit): Subtract ((StatSTR[(Player number of (Owner of (Triggering unit)))] x 50) / 100)
-
-