Spell Question

jaybles169

New Member
Reaction score
2
Does this not work because both P1 Holy Light and P2 Holy Light (and P3) are based on the same spell, and the editor can't differentiate between them, even though they have different names/ID's? (Not work in a sense that it executes all 'if' statements no matter which spell is cast) I got it to work when I use different base spells, but then I'd have to weed through every spell to get the desired effects. :banghead:

Trigger:
  • HolyLightTest
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
      • ((Triggering unit) belongs to an ally of Player 9 (Gray)) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to P1 Holy Light
        • Then - Actions
          • Unit - Order (Triggering unit) to Human Paladin - Holy Light Player[0]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to P2 Holy Light
        • Then - Actions
          • Unit - Order (Triggering unit) to Human Paladin - Holy Light Player[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to P3 Holy Light
        • Then - Actions
          • Unit - Order (Triggering unit) to Human Paladin - Holy Light Player[2]
        • Else - Actions
 

SarChasm

New Member
Reaction score
15
I'm not entirely sure what this spell is supposed to do, but from the looks of it, it seems like that this trigger will cause Holy Light to be cast on the player that casts.. Holy Light?

I guess instead of having P1-12 Holy Light, you can have an if/then/else like:

If
(Ability being cast) equal to Holy Light
(Casting Unit) equal to Human Paladin 1
Then
(your actions)

Then repeat that if/then/else for every Human Paladin you have.

But then again, I'm not really sure what you're trying to do. Sorry. =P
 

jaybles169

New Member
Reaction score
2
It's essentially an auto-targeting system for healers. P1-P8 are spells inside a spellbook, and then whatever one the player picks is the unit it casts Holy Light on. Ideally the P1-P8 spells would be based on a self targeting spell, like taunt for instance, so that when the player actually casts that spell it does absolutely nothing, kind of like a dummy spell. But then the trigger kicks in and heals whoever. That make it any clearer?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top