• 🏆 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!

Passive to active spells, and need help with 4spells.

Status
Not open for further replies.
Level 7
Joined
Dec 28, 2009
Messages
257
hi, i got 2questions.
first one: how can i turn passive spell (like spiked carapace) to active?
that means that i can cast spiked carapace and raise defense/attack return of friendly units.
or, if this isnt possible- is there any way to make spell that:
raises units damage taken by 50% and returns 3times damage
OR
when someone attacks unit with buff, he takes 200damage (only 1time)

And second question. i need help with 4spells, but i have to idea how to make them, so:
1- freezes enemy unit and deals damage
2- deals 200damage and also returns..
3- reduces attack/damage and deals damage
4- poisons enemy unit and deals 200damage (200damage, then 10hp poison for minute)
i tried to make this, but i could only make spell that OR reduces damage, OR only damages. i would like to combine these
and also, they should be multi-target. (at least 2)
TYVM.
 
Level 18
Joined
Feb 28, 2009
Messages
1,970
1- freezes enemy unit and deals damage
Mountain king hammer with changed sfxes should be enaugh
i tried to make this, but i could only make spell that OR reduces damage, OR only damages. i would like to combine these
and also, they should be multi-target. (at least 2)
Simple triggering can be enaugh here too, like creating dummy unit, which will do the second effect you want.
 
Level 3
Joined
May 27, 2007
Messages
67
Make a dummy spell that can be activated, like Immolation. Put all damage values to 0 and make a trigger that adds say Spiked Carpace to the target when Immolation is activated and removes the ability when Immolation is deactivated. Should work!

Event
- Unit begins casting an ability

Condition
- Ability being cast is Equal to Immolation

Action
- Add Spiked Carpace to Triggering Unit

And then vice versa for the deactivation. I havent tested but imo it should work.
 
Level 7
Joined
Dec 28, 2009
Messages
257
You want to make passive spells effects be on active spells?
yep, something like that. there are spells what raise defense (frost armor) or returns damage, but not both in one.
and, i dont know how to work with triggers much, so ill try spell first.
and if i wont find anything ill probably use triggers or try some other spell.
 
Level 6
Joined
Jul 13, 2007
Messages
173
as Izzen@WC3 above me sayed just make an dummy spell, when this spell is casted it gets Spiked Carapace. I played around with this and i made it work(kinda) could not figure how to remove the ability again, lets hope someone else does :grin:.
here is the triggers

  • Spiked Carapace Activate
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Spiked Carapace (dummy)
    • Actions
      • Set Spiked_lvl = (Level of (Ability being cast) for (Casting unit))
      • Set Caster = (Casting unit)
      • Unit - Add Spiked Carapace to Caster
      • Set ability = Spiked Carapace
      • Unit - Set level of ability for Caster to Spiked_lvl
 
Level 3
Joined
May 27, 2007
Messages
67
Isnt there a "Unit - A unit stops the casting/channeling of an ability"? I don't have WE where I am atm so..
 
Last edited:
Level 9
Joined
Jul 20, 2009
Messages
427
Use the Defend ability instead..
  • Activate
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(defend))
    • Actions
      • Unit - Add Spiked Carapace to (Ordered unit)
  • DEactivate
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(undefend))
    • Actions
      • Unit - Remove Spiked Carapace from (Ordered unit)
 
Status
Not open for further replies.
Top