Item increase percentage of hero stats

paylong08

New Member
Reaction score
0
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!
 

sunshinex3

You can change this now in User CP.
Reaction score
7
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.
  • base.gif
    Increase Strength
    • joinminus.gif
      events.gif
      Events
      • line.gif
        joinbottom.gif
        unit.gif
        Unit - A unit Starts the effect of an ability
    • joinminus.gif
      cond.gif
      Conditions
      • line.gif
        joinbottom.gif
        if.gif
        (Ability being cast) Equal to Increase Strength
    • joinbottomminus.gif
      actions.gif
      Actions
      • empty.gif
        join.gif
        set.gif
        Set IncreaseStrength = ((Strength of (Triggering unit) (Include bonuses)) / 2)
      • empty.gif
        joinbottom.gif
        hero.gif
        Hero - Modify Strength of (Triggering unit): Add IncreaseStrength
 

Inflicted

Currently inactive
Reaction score
63
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).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top