1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Solved] Item Trigger

Discussion in 'World Editor Help Zone' started by Xzere, Apr 21, 2020.

  1. Xzere


    Feb 23, 2020
    Hello, i have an item which should cause spell vamp, but there is an issue when the trigger affects multiple enemies.

    The healing works perfect if it affects 1 enemy only, but if i have an AoE ability, it feels like the number is multipied insanely high. I have only 3% spellvamp, and if the hero have immolation which deals 30 damage on 10 units, he's pretty much immortal.

    Am i doing this wrong?

    • Robe of Demons Work
      • Events
        • Game - GDD_Event becomes Equal to 0.00
      • Conditions
        • ((Item carried by GDD_DamageSource of type Robe of Demons) is owned) Equal to True
      • Actions
        • Set VariableSet Robeofdemons_Point = (Position of GDD_DamageSource)
        • Unit - Set life of GDD_DamageSource to ((Life of GDD_DamageSource) x 1.03)
        • Special Effect - Create a special effect at Robeofdemons_Point using Abilities\Spells\Items\HealingSalve\HealingSalveTarget.mdl
        • Special Effect - Destroy (Last created special effect)
        • Custom script: call RemoveLocation(udg_Robeofdemons_Point)

    EDIT: I found the issue
    Last edited: Apr 21, 2020