• 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.

Buff on kill effect

Status
Not open for further replies.
Level 4
Joined
Jul 24, 2006
Messages
62
Hey, i'm sorry if this has already been answered if so can someone just direct me to the right thread pleaes :). Anyway i'm trying to create an ability that only takes effect when a unit1 kills anyunit, unit1 gains some kind off buff. Can i base this off some ability already or what triggers can i use? Also is it possible to let the buff stack a limited number of times or not stack? And (yes i know another ask) ensure the buff has a time limit.

Thanks
 
Level 8
Joined
Dec 9, 2009
Messages
397
Try,
Event
A unit dies
Conditions
Type of killing unit = hero
actions
set temp loc = loc of killing unit
create dummy unit at temp loc
give dummy unit buff spell (last created)
add experation trigger to dummy unit (Last created)
order dummy unit to cast buff on killing unit


I think it'll work
 
in order to make custom spell you must already have original that you are coping/modifying.that original ability is in list in trigger editor.Make sure that dummy has your custom ability and tell him (in trigger)to cast original ability.

e.g.
custom spell is arcane bolt

original spell is firebolt

you give arcane bolt to the dummy

in trigger:
order lastcreatedunit to Neutral-Firebolt killingunit

I will explain better if you want me to
 
Level 4
Joined
Jul 24, 2006
Messages
62
Thank you guys got my desired effect, not implemented ranks/levels of buff yet but i think i can handle that bit on my own
 
Status
Not open for further replies.
Top