PDA

View Full Version : Sd rune on player?



duducloneuk
04-05-2015, 03:18 PM
how can i put XB to attack sd rune on any player that i put to attack?

Rif
04-05-2015, 03:31 PM
SDMAX???

item = "sudden death rune" -- name of item to use
spam = true -- like a SDMAX or just once per 2 sec[true/false]
Module.New('Sdmax', function()
target = Creature.GetByID(Self.TargetID())
if Self.TargetID() ~= 0 and target:isAlive() and target:isPlayer() then
if not spam and Self.CanCastSpell('exori frigo') then
Self.UseItemWithTarget(item)
end
if spam then
Self.UseItemWithTarget(item)
end
end
end)

duducloneuk
04-05-2015, 04:03 PM
Thank you. working