• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Permanent Immolation (stackable)

Status
Not open for further replies.
Level 7
Joined
Dec 31, 2011
Messages
249
Here:

Stackable PI, add effects and change damage as you want.

To import this, you must use global values Hash, unit and g.
Type in "r = 100.00" instead of 100.00 your number of stacking damage.
 

Attachments

  • Stackable PI.w3x
    17.3 KB · Views: 102
Thanks will test once i get home. :)

edit:
It works! :D
will also add you to the credits here. :)

questions:
do i need to change this for the area effect? set udg_g = GetUnitsInRangeOfLocAll(300.00, p)
and how can I change how often it happens? by changing 1? call TimerStart (t, 1, true, function SPIdamage)
And, can i use the same variables for another skill like that? by copying the trigger then replacing the ability's raw code there (also perma immolation)
 
Last edited:
Level 7
Joined
Dec 31, 2011
Messages
249
will also add you to the credits here. :)
thanks

do i need to change this for the area effect? set udg_g = GetUnitsInRangeOfLocAll(300.00, p)
yes, change 300 to your area

and how can I change how often it happens? by changing 1? call TimerStart (t, 1, true, function SPIdamage)
yes, change 1 to your periodic time

by copying the trigger then replacing the ability's raw code there (also perma immolation)

You can change rawcode here:

function SPIcheck takes nothing returns boolean
return ( GetUnitAbilityLevelSwapped('A001', GetFilterUnit()) == 1 )
endfunction

"A001" into your rawcode.

If you want to create many abilities in one map, at least remove that in other triggers:

set udg_Hash = InitHashtable()

Hashtables must initialize only one time, unless map can has critical problems (not very often and not in each game, but can).

And, of course, names of functions in other triggers must be changed.
 
Status
Not open for further replies.
Top