Thread
:
Hero only get exp from some creeps?
View Single Post
10-26-2009, 03:00 PM
#
2
(
permalink
)
MortAr-
Expanding the Universe
Join Date: Feb 2009
Posts: 780
Exp
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
And - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
(Unit-type of (Triggering unit)) Equal to Rifleman
Actions
Set Exp = (Random integer number between 30 and 140)
Game - Display to (Player group((Owner of (Killing unit)))) for 3.00 seconds the text: (You gained |cffffcc00 + ((String(Exp)) + |r for killing this unit.))
Hero - Add Exp experience to (Killing unit), Show level-up graphics
Otherwise, create multiple IF/THEN/ELSE handles for every unit, or multiple trigger for every unit.
__________________
BlizzVault - Blizzard Modding Community
MortAr-
View Public Profile
Send a private message to MortAr-
Find More Posts by MortAr-