• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] [COIL] Damage 100% / Heal 50% how to change it?

Status
Not open for further replies.
Level 12
Joined
Mar 13, 2020
Messages
421
Here an Example Map have fun!


for evryone not checking the Example Map:

  • DeathCoil
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Deathcoil
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) belongs to an ally of (Owner of (Casting unit)).) Equal to Wahr
        • Then - Actions
          • -------- 100% Amount if Target is a Ally --------
          • Ability - Set Ability: (Unit: (Casting unit)'s Ability with Ability Code: Deathcoil)'s Real Level Field: Amount Healed/Damaged ('Udc1') of Level: ((Level of Deathcoil for (Casting unit)) - 1) to ((Ability: (Unit: (Casting unit)'s Ability with Ability Code: Deathcoil)'s Real Level Field Amount Healed/Damaged ('Udc1'), of Level: ((Level of Deathcoil for (Casting unit)) - 1)) x 1.00)
        • Else - Actions
          • -------- 400% Amount if Target is a Enemy because its Hardcoded to deal the half of the Damage (means 400% is 200%) --------
          • Ability - Set Ability: (Unit: (Casting unit)'s Ability with Ability Code: Deathcoil)'s Real Level Field: Amount Healed/Damaged ('Udc1') of Level: ((Level of Deathcoil for (Casting unit)) - 1) to ((Ability: (Unit: (Casting unit)'s Ability with Ability Code: Deathcoil)'s Real Level Field Amount Healed/Damaged ('Udc1'), of Level: ((Level of Deathcoil for (Casting unit)) - 1)) x 4.00)
 

Attachments

  • Deathcoil.w3m
    15 KB · Views: 11
Status
Not open for further replies.
Top