Small Spell Request (Rage)

darkmik07

New Member
Reaction score
2
Name: Rage

Raises the user's ATTACK every time it is hit.

Level 1 - adds 10 damage per hit. damage lasts 10 sec
Level 2 - adds 15 damage per hit. damage lasts 15 sec
Level 3 - adds 20 damage per hit. damage lasts 20 sec.

Lasts 5/10/15
 

bYo

New Member
Reaction score
5
It wouldn't be that hard to do yourself, unless you are averse to triggers.

Off the top of my head, make an item ability that gives bonus damage and give it several levels. Then make 3 triggers something like:

First Trigger
Event
Unit Starts the effect of an ability

Condition
Ability being cast is equal to Rage

Actions
Turn on Other Trigger
Set Rage_Caster equal to casting unit
Start Rage_timer as a oneshot timer that will expire in (5x level of ability being cast))

Other Trigger
Event
A unit is dealt damage

Condition
Damaged unit is equal to Rage_Caster

Actions
Add YOUR_ITEM_ABILITY to Rage_Caster/damaged unit
Set level of YOUR_ITEM_ABILITY to Rage_Level
Set Rage_Level to (Rage_Level + 1)

The final trigger would simply turn off the ability when the timer expires. You'll notice I used three variables - a timer called Rage_Time, an integer called Rage_Level and a unit called Rage_Caster.

Hopefully this will work - i don't have WE open atm. One possiblity for error is that the item ability for bonus damage can't have several levels. But I think it works.

Oh, and if you want it MUI of course you'll have to change some stuff.

Hope that helps.
 

darkmik07

New Member
Reaction score
2
i cant make this:
Start Rage_timer as a oneshot timer that will expire in (10 + (5x level of ability being cast))

i am having a problem with 5x level of ability being cast, cause i cant find it
 

bYo

New Member
Reaction score
5
Ah ok. Let me post the exact code.

Oh and I was a bit confused by the time. You said you wanted it to last for 5/10/15s, but then the damage to last for 10/15/20s. Does this mean you want the ability to give you damage PAST the time when you have it activated? If so we'll have to change the ability a little.

Trigger:
  • Countdown Timer - Start (Rage_Timer) as a One-shot timer that will expire in (10.00 + (5.00 x (Real((Level of Rage for (Triggering unit)))))) seconds


To get the time you'll need to make it Arithmetic. Make the first numeral 10, then change the second numeral also to Arithmetic. Make the first numeral 5, change the sign to X, make the second numeral "Convert Real to Integer" and select Level of Ability for Unit.

Tell me if you need more info.
 

darkmik07

New Member
Reaction score
2
Ah ok. Let me post the exact code.

Oh and I was a bit confused by the time. You said you wanted it to last for 5/10/15s, but then the damage to last for 10/15/20s. Does this mean you want the ability to give you damage PAST the time when you have it activated? If so we'll have to change the ability a little.

Trigger:
  • Countdown Timer - Start (Rage_Timer) as a One-shot timer that will expire in (10.00 + (5.00 x (Real((Level of Rage for (Triggering unit)))))) seconds


To get the time you'll need to make it Arithmetic. Make the first numeral 10, then change the second numeral also to Arithmetic. Make the first numeral 5, change the sign to X, make the second numeral "Convert Real to Integer" and select Level of Ability for Unit.

Tell me if you need more info.

already done :D +1 Rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top