1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Spell Lifesteal

Discussion in 'World Editor Help Zone' started by KeepitMovinBaby, Apr 13, 2017.

  1. KeepitMovinBaby

    KeepitMovinBaby

    Joined:
    Jun 5, 2015
    Messages:
    83
    Resources:
    0
    Resources:
    0
    Help Please, how do I create Spell Lifesteal?
    Example there is a Lich that cast Frost Nova for 300 damage, how to make 25% of the spell damage converted to health for the Lich?
    Please post triggers In GUI. Thank You.
     
  2. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,417
    Resources:
    18
    Tools:
    2
    Maps:
    3
    Spells:
    8
    Tutorials:
    4
    JASS:
    1
    Resources:
    18
    If you don't want to trigger the damage from your Frostnova by yourself.
    We need a DDS (Damage detection System) for example this one:
    GUI Damage Engine v3.6.0.1

    to the Triggers:
    • Frostnova cast
      • Events
        • Unit - A unit starts the effect of a spell
      • Conditions
        • (Ability being cast) Equal Frost-Nova
      • Aktionen
        • Einheitengruppe - Add (Triggering unit) to FrostNovaUser
    • Frostnova cast end
      • Events
        • Unit - A unit stopps casting
      • Conditions
        • (Ability being cast) Equal Frost-Nova
      • Actions
        • Einheitengruppe - Remove (Triggering unit) from FrostNovaUser
    • Frost Nova dmg
      • Events
        • Game - DamageEvent becomes Gleich 1.00
      • Conditions
        • IsDamageSpell Equal True
        • (DamageEventSource is in FrostNovaUser) Equal True
      • Actions
        • Unit - Set life of DamageEventSource to ((Leben of DamageEventSource) + (DamageEventAmount x 0.25))
     
  3. Rheiko

    Rheiko

    Joined:
    Aug 27, 2013
    Messages:
    2,936
    Resources:
    7
    Icons:
    2
    Spells:
    3
    Tutorials:
    2
    Resources:
    7
    I think the second trigger is not needed. Just remove the Caster from the group after applying the lifesteal effect.
     
  4. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,417
    Resources:
    18
    Tools:
    2
    Maps:
    3
    Spells:
    8
    Tutorials:
    4
    JASS:
    1
    Resources:
    18
    In most cases Frost-Nova is a AoE spell, affecting multiple targets.
    Therefore the Damage Event will run multiple times in one Frost-Nova usage.

    BTW: Frostnova deals 3 Damage Instances to the Main target: Target Damage, AoE Damage, 0 Buff Damage.

    The 0 Buff Damage thing will not Trigger this Lifesteal.
     
  5. Rheiko

    Rheiko

    Joined:
    Aug 27, 2013
    Messages:
    2,936
    Resources:
    7
    Icons:
    2
    Spells:
    3
    Tutorials:
    2
    Resources:
    7
    I see, so it's basically a prevention method. Alright then.
     
  6. KeepitMovinBaby

    KeepitMovinBaby

    Joined:
    Jun 5, 2015
    Messages:
    83
    Resources:
    0
    Resources:
    0
    Ah, I see, it needs the Damage Engine, huh?
    I'll try this later. Thank You for all the answer!

    P.s : Rheiko... Let's Skype again *_*
     
  7. Lord Siler

    Lord Siler

    Joined:
    Mar 24, 2017
    Messages:
    820
    Resources:
    0
    Resources:
    0
    Very interesting
     
  8. Fruit Forest

    Fruit Forest

    Joined:
    May 16, 2016
    Messages:
    733
    Resources:
    1
    Maps:
    1
    Resources:
    1
    something like this...
     

    Attached Files: