• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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
 
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
 
Status
Not open for further replies.
Back
Top