vampyric aura

keldoras

New Member
Reaction score
0
Hey, Guys!


Could someone explain me, how to make vampyric aura to work on both:melee and ranged attacks?


Thanks in advance.
Love, Benas.
 

tork

New Member
Reaction score
2
i belive you would have to use trigger
i will be back to explain how to do this later if i have time i am busy at the moment
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
Trigger:
  • Map Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set tempUGroup = (Units in (Playable map area))
      • Unit Group - Pick every unit in tempUGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Matching unit) is alive) Equal to True
              • ((Unit-type of (Matching unit)) is A structure) Equal to False
              • ((Unit-type of (Matching unit)) is Mechanical) Equal to False
            • Then - Actions
              • Trigger - Add to Damage Detect <gen> the event (Unit - (Picked unit) Takes damage)
            • Else - Actions
      • Custom script: call RemoveLocation(udg_tempUGroup)


Trigger:
  • New Unit
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • ((Matching unit) is alive) Equal to True
      • ((Unit-type of (Matching unit)) is A structure) Equal to False
      • ((Unit-type of (Matching unit)) is Mechanical) Equal to False
    • Actions
      • Trigger - Add to Damage Detect <gen> the event (Unit - (Triggering unit) Takes damage)


Trigger:
  • Damage Detect
    • Events
    • Conditions
      • ((Damage source) has buff Vampiric Aura) Equal to True
      • ((Unit-type of (Damage source)) is A ranged attacker) Equal to True
    • Actions
      • Unit - Set life of (Damage source) to ((Life of (Damage source)) + ((Damage taken) x 0.10))


It adds units that are alive and not matching a structure to the trigger Damage Detect. When a unit is damaged the the damage source has the buff Vampiric Aura and is ranged, it will add 10% of the damage to his life.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
isnt there an item ability that works for melee and ranged
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
im not talking about mask of death its some thing like bones or w\e
 

Devrak

New Member
Reaction score
17
Trigger:
  • Set Global_Unit_Group = (Units in (Entire map))
    • Unit Group - Pick every unit in Global_Unit_Group and do (Actions)
      • Loop - Actions
        • Trigger - Add to <YourTrigger> <gen> the event (Unit - (Picked unit) Takes damage)
    • Custom script: call DestroyGroup(udg_Global_Unit_Group)


You need to make one at map initialization and one when unit enters map

Trigger:
  • Ingame Set
    • Events
      • Unit - A unit enters (Entire map)
    • Conditions
    • Actions
      • Trigger - Add to <YourTrigger> <gen> the event (Unit - (Triggering unit) Takes damage)


EDIT: Oh, ignore my post then.
 
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