Can anyone give me a sample for Trigger that when hero acquire an item it will increase percentage of stats but when the item drops hero will lose the increased stats.
Thanks in advance!
example i found just change condition to hero manipulates or picks up certan item triggering unit needs to bee hero manipulating item, after the trigger below you have to make a similar trigger for when the hero drops the item to remove the stat.
Increase Strength
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Increase Strength
Actions
Set IncreaseStrength = ((Strength of (Triggering unit) (Include bonuses)) / 2)
Hero - Modify Strength of (Triggering unit): Add IncreaseStrength
Note that the above will only increase the value in proportion to the current stats, any stats gained at a later point would not be proportionally added.
If this is acceptable, I'd recommend storing the values that were gained and removing those when the item is dropped (rather than a new calculation as the values are likely to have changed).
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory