Log in

View Full Version : Paladin traning



lucky2292
12-04-2016, 05:33 PM
any script for paladin to train on smiles ???




pls help me



thanks

Fetbojj
12-04-2016, 08:09 PM
Credit to the guy who made this (not me).




-- Attacks Mother Slime till under a certain HP, then continues to attack summoned ones

-- Set MotherHP to the health percent you want to stop attacking the Mother Slime



MotherHP = 50



Module.New("Slime Trainer", function(Module)

if Self.TargetID() == 0 then

local Slimes = Self.GetTargets(1)

for i = 1, #Slimes do

if Slimes[i]:Name() == 'Slime' then

if (Slimes[i]:isMother() and Slimes[i]:HealthPercent() > MotherHP) or not Slimes[i]:isMother() then

Slimes[i]:Attack()

break

end

end

end

end

local Slime = Creature.New(Self.TargetID())

if Slime:isMother() and Slime:HealthPercent() <= MotherHP then

Self.StopAttack()

end

Module:Delay(2000)

end)