Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slime Trainer
#1
Hi all
I have a question:
It is possible to create macro: if slime dealing more than hp then change weapon and after kill change again?

I remember that in NG was something like that and i have that all script. Maybe someone can change it do BBot?


Code:
<eslimetrainer>
<hScript>
init start local mother local dist = 1 -- it is the minimum distance the slime must be from you, useful for paladin training local killmother = {dmg = 50, hppc = 30, now = false} -- will kill mother if its dealing more than 50 of dmg on you or if you have less than 40% of hp setsetting('Hud/DisplaysList/ActiveHotkeys/Enabled','yes') local trainstarted = false -- dont change this init end auto(100,500) if not mother then if $followed.name == 'Slime' then mother = $followed killmother.now = false else if trainstarted then playsound('monster.wav') flashclient() end listas('Follow the mother slime to start the training') end else if not trainstarted then trainstarted = true end if mother.hppc == 0 then mother = nil return end local toattack foreach creature m 'sm' do local closest = 7 if m.name == 'Slime' and m ~= mother and m.dist <= dist and m.dist < closest and m.isshootable then closest = m.dist toattack = m end end if not killmother.now then if toattack then listas('Killing a slime summon') if $attacked ~= toattack then attack(toattack) wait(500,600) end else listas('Waiting for a slime summon') end else listas('Killing the mother slime') if $attacked ~= mother then attack(mother) wait(500,600) end end end if not killmother.now then if $hppc < killmother.hppc then killmother.now = true return end foreach newmessage m do if m.type == MSG_STATUSLOG then if m.content:sub(1,8) == 'You lose' then local dmg = tonumber(m.content:token(3)) local length = m.content:len() local name = m.content:sub(length-6,length-1) if name == 'slime' and dmg > killmother.dmg then killmother.now = true return end end end end end
</hScript>
<kMainKey>
#2
This is good
#3
(04-25-2014, 12:47 PM)MegaNo0body Wrote: This is good

what u mean?
#4
http://forums.bmega.net/showthread.php?t...t=Slime+Tr
Look this

on Kind option chooshe Damaged By and put the hit (50 or more) on Value.


Forum Jump:


Users browsing this thread: 1 Guest(s)