Health Potion e Exura


Const

minMana = 20; //Minimo de Mana para o exura
minHealth = 600; //Vida para tomar potion
maxHealth = 1000; //Vida pra usar exura.
potionid = 266; //ID do potion
spellnome = 'exura' //Nome da magia

while not Terminated do
begin
UpdateWorld;
if (Self.Health < minHealth) then begin Self.Containers.UseItemWithSelf(potionid); Sleep(1000); end; else begin if (Self.Health < maxHealth) and (Self.Mana > minMana ) then
begin
Self.Say(spellnome);
Sleep(1500);
end;
end;
Sleep(100);
end;