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

How to make a passive ability into an active ability

Status
Not open for further replies.
Level 1
Joined
Jun 25, 2010
Messages
2
Hi guys.

Im trying to make a spell wich i based of critical strike but i want it to turn into an active spell. like it lasts for 60 seconds or something
 
Last edited:
Level 4
Joined
Jun 19, 2010
Messages
113
u can try this:
create 2 abilties
first: any spell with no target (it means that spell activating with one click)
u can use Mountain King's thunder strike (dunno how it calling in eng. warcraft... hero slams ground, and reduse speed of enemy units, i mean this spell)

make sure that u removed all effectes from this spell (damage and so on)

second: create passive critical strike ability.

give first spell to hero, make some levels of it
emmm.. give me a sec.

ok, i have made a trigger.
one problem: my WEditor is rus, so... u may not understand half of trigger text.



looks like shit
  • БезымÑ�нный триггер 001
    • СобытиÑ�
      • БоеваÑ� единица - Raider 0002 <gen> Ð�ачинает применÑ�Ñ‚ÑŒ Ñ�поÑ�обноÑ�Ñ‚ÑŒ
    • УÑ�ловиÑ�
      • (Ability being cast) равно Ð�Ñ�тральный зверь
    • ДейÑ�твиÑ�
      • БоеваÑ� единица - Add Смертельный удар to Raider 0002 <gen>
      • БоеваÑ� единица - Set level of Смертельный удар for Raider 0002 <gen> to (Level of Ð�Ñ�тральный зверь for Raider 0002 <gen>)
      • БоеваÑ� единица - Remove Ð�Ñ�тральный зверь from Raider 0002 <gen>
      • Wait 100500.00 seconds
      • БоеваÑ� единица - Add Ð�Ñ�тральный зверь to Raider 0002 <gen>
      • БоеваÑ� единица - Set level of Ð�Ñ�тральный зверь for Raider 0002 <gen> to (Level of Смертельный удар for Raider 0002 <gen>)
      • БоеваÑ� единица - Remove Смертельный удар from Raider 0002 <gen>





this much(?) better.
87d50173954a.jpg


100500 - duration of your spell.

some translations
Боевая единица = unit
Астральный зверь = your first spell
Смертельный удар = your secod ability
Равно = "=" (seriosly)
Начинает применять способность = starts cast ability


hope you understand me
if not
just ask me
 
Last edited:
Level 30
Joined
Jan 31, 2010
Messages
3,551
Oh my...
1. That trigger part is just too not-understandable.
2. THW rule is about determinative usage of only English language. Fix it, or post a trigger via BB codes.
3. Wait functions should not be used in any spell trigger.
4. Your spell would leak and stack with itself, meaning that one hero can get multiple critical strikes.
5.Ability of passivity will still be shown, and that's not an eye-candy.
6. Critical you add to the Hero, it's not removed, meaning that your Hero with that spell would have stackable critical abilities for... 100500.00 seconds.
7. Critical abilities would flood other abilities, leaving up to you to see only the dummy critical.
8. Quote: this much(?) better - If you know Russian, yes. Otherwise, no.
9. It's not wise to create a base spell from Thunder Clap because of terrain deformations.
10. Add ability, Set level of ability, remove ability. That happens within 0.0001 second (time per action per trigger), and no hero is *that* fast to attack target in 0.0001 second and perform a critical.

This is constructive critique, so don't be offended.
 
Level 4
Joined
Jun 19, 2010
Messages
113
8. Quote: this much(?) better - If you know Russian, yes. Otherwise, no.
lol.
thats why i wrote this - (?) right after "much"

100500 - duration of your spell.

some translations
Боевая единица = unit
Астральный зверь = your first spell
Смертельный удар = your secod ability
Равно = "=" (seriosly)
Начинает применять способность = starts cast ability

did u try to read this?
i think u not.

look at map
.
 

Attachments

  • Архив WinRAR.rar
    18.8 KB · Views: 116
Level 4
Joined
Jun 19, 2010
Messages
113
4. Your spell would leak and stack with itself, meaning that one hero can get multiple critical strikes.

5.Ability of passivity will still be shown, and that's not an eye-candy.

6. Critical you add to the Hero, it's not removed, meaning that your Hero with that spell would have stackable critical abilities for... 100500.00 seconds.

7. Critical abilities would flood other abilities, leaving up to you to see only the dummy critical.

DID U even TRY to play my map?
you talking about something that does not exist =\

screenshot's or never happen

3. Wait functions

ok.
the only problem.
but no trouble will be with wait
this is too simple spell. (6 simple steps, without variables)

10. Add ability, Set level of ability, remove ability. That happens within 0.0001 second (time per action per trigger), and no hero is *that* fast to attack target in 0.0001 second and perform a critical.

what the?
 
Level 3
Joined
Apr 29, 2009
Messages
42
This is probably not the best way to do this but it works. You will have to use more variables or set them as arrays if you want this to be MUI and rewrite the trigger abit.

Anyhow this is what you will need to do first:
Variables:
- Unit_Caster (Type: Unit)
- Timer_CriticalStrike (Type: Timer)
Abilities
- Critical Strike (passive). Lets call this <Passive Critical Strike>
- Slam type ability for example Roar, you can use any ability you want of course but this one should work great if you just want this ability to work like a self-buff that can be activated by just one click. And i'll call this <Active Critical Strike>

  • Trigger 1
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • Ability - Ability being cast equal to <Active Critical Strike>
  • Actions
    • Set variable <Unit_Caster> to <casting unit>
    • Unit - Add ability <Passive Critical Strike> to <Unit_Caster>
    • Timer - Start timer <Timer_CriticalStrike> as a one-shot timer that will expire in XX seconds
  • Trigger 2
  • Events
    • Game/Timer - <Timer_CriticalStrike> expires
  • Conditions
  • Actions
    • Unit - Remove ability <Passive Critical Strike> from <Unit_Caster>
 
Level 1
Joined
Jun 25, 2010
Messages
2
I tryed both of your ideas and MikeyDN's idea worked best, so i use he's triggers in the map but thanks anyways.

Anyone here knows how to turn it into solved?
 
Status
Not open for further replies.
Top