Forum o bocie TibiaNG oraz ElfBotNG
[hide]
const ////////// Strong Healing ////////// S_Minimum_Health = 400 S_Healing_Spell = 'Exura Gran' S_Mana_Needed = 60 S_Use_Spell = 1 S_Use_UH_Rune = 0 //////////////////////////////////// ////////// Weak Healing ////////// W_Minimum_Health = 500 W_Healing_Spell = 'Exura' W_Mana_Needed = 20 W_Restore_Mana_At = 0 W_Use_Spell = 1 W_Use_IH_Rune = 0 //////////////////////////////////// while not Terminated do begin UpdateWorld; if (Self.Health < S_Minimum_Health) then begin // Start of Strong Healing // if (Self.Mana >= S_Mana_Needed) and S_Use_Spell then begin Self.Say(S_Healing_Spell); Sleep(1000); end; else if S_Use_UH_Rune then begin Self.Containers.UseItemWithSelf(3160); Sleep(1000); end; end; // End of Strong Healing // else begin // Start of Weak Healing // if (Self.Health < W_Minimum_Health) and (Self.Mana >= W_Mana_Needed) and W_Use_Spell then begin Self.Say(W_Healing_Spell); Sleep(1000); end; else if (Self.Mana < W_Restore_Mana_At) then begin Self.Containers.UseItemWithSelf(238); Sleep(1000); end; else if W_Use_IH_Rune then begin Self.Containers.UseItemWithSelf(3152); Sleep(1000); end; end; // End of Weak Healing // Sleep(100); end; [/hide]
Offline