trigger help

shady

Member
Reaction score
7
I want to make spell that gives aura to allies, also gives enemies reducion aura.

Please someone help with trigger:thup::thup:
 

hopy

Active Member
Reaction score
64
Could you be a little more specific please; I don't understand what you want.
Do you want an aura that provides a bonus to nearby friendly units and decreases something of enemie units? Or do you want a area of effect buff (Roar) that (for example) gives attack power to friendly units but decreases the attack power of enemies?

Please try to explain what you need in a little more detail and I will see if I can help you. :)
 

Nat4ku

New Member
Reaction score
0
Well just gives two auras to your unit, one with positive value bonus, and the second with negative values. (To put negative values in worldedit, you have to to in File, Preferences, General, and check Allow negatives values in objects editor.)
 

shady

Member
Reaction score
7
Well just gives two auras to your unit, one with positive value bonus, and the second with negative values. (To put negative values in worldedit, you have to to in File, Preferences, General, and check Allow negatives values in objects editor.)

You don't understand my problem .I want ONE spell that Gives (expample) Trueshot Aura to allied units and (example) Curse to the enemies who are in 900 area.


I made PotM with spell Beauty Aura ( it's base Trueshot aura ( aura do not give buff to PotM ( Done. ) ), and i want to make negative buff named Siduse, that units in 900 area ( like Trueshot Aura ) are with reduced attack speed. ( that's what i want to do, but when i threw Enemy in Stats - Targets allowed gives only Beauty Aura ( trueshot aura ) and they have bonus damage. ) ).

( My idea is to make Trueshot aura and Curse in one single spell named Beauty Aura. )
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
you cant. you have to give your hero 2 auras.

but you can hide auras by adding them to a spellbook, giving the hero the spellbook ability and disabling the spellbook ability for the player via triggers.

the spellbook will be disabled and not show an icon but the effect of the passive abilities inside will still work.
 

Necrach

You can change this now in User CP.
Reaction score
62
You don't understand my problem .I want ONE spell that Gives (expample) Trueshot Aura to allied units and (example) Curse to the enemies who are in 900 area.


I made PotM with spell Beauty Aura ( it's base Trueshot aura ( aura do not give buff to PotM ( Done. ) ), and i want to make negative buff named Siduse, that units in 900 area ( like Trueshot Aura ) are with reduced attack speed. ( that's what i want to do, but when i threw Enemy in Stats - Targets allowed gives only Beauty Aura ( trueshot aura ) and they have bonus damage. ) ).

( My idea is to make Trueshot aura and Curse in one single spell named Beauty Aura. )

Still, you should use 2 abilites. Make one base ability, like you have done. Then make an invisible (based on an item ability) aura ability, with negative values for attack speed. Then make a trigger, adding a level to the negative aura for the hero each time she picks a level of Beauty Aura.

Trigger:
  • Beauty Aura
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Beauty Aura
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Negative Aura for (Learning Hero)) Equal to 0
        • Then - Actions
          • Unit - Add Negative Aura to (Learning Hero)
        • Else - Actions
          • Unit - Increase level of Negative Aura for (Learning Hero)


EDIT: Of course, spellbook is a smoother sulotion, as @Accname mentioned
 

millzy

Ultra Cool Member
Reaction score
44
Still, you should use 2 abilites. Make one base ability, like you have done. Then make an invisible (based on an item ability) aura ability, with negative values for attack speed. Then make a trigger, adding a level to the negative aura for the hero each time she picks a level of Beauty Aura.

Trigger:
  • Beauty Aura
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Beauty Aura
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Negative Aura for (Learning Hero)) Equal to 0
        • Then - Actions
          • Unit - Add Negative Aura to (Learning Hero)
        • Else - Actions
          • Unit - Increase level of Negative Aura for (Learning Hero)


EDIT: Of course, spellbook is a smoother sulotion, as @Accname mentioned


so what you would do is set up a spell that does nothing to just show the icon. then make a spell book with your auras
and use the trigger necrach gave u to level up ur spell book
you cant level up the spells in your spell book. so your going to have to have 1 of each aura for each level
 

hopy

Active Member
Reaction score
64
so what you would do is set up a spell that does nothing to just show the icon. then make a spell book with your auras
and use the trigger necrach gave u to level up ur spell book
you cant level up the spells in your spell book. so your going to have to have 1 of each aura for each level

I'd say add an invisible negative aura and make the basic hero ability the positive aura, since it's supposed to increase in levels and stuff like that.

Shady's currently working on the trigger I believe and we'll see if it's working the way he wants it. :p
 
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