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 don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
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.