Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init start
- local friends = {
- -- playername healpc healparalyzed?
- {'Bolt Mastern', 80, true},
- {'Rillion', 80, true},
- {'Vicium', 80, true},
- {'Glusti', 80, true},
- {'Carl Heiros', 80, true},
- {'Sirap', 80, true},
- }
- local uhifnomana = false -- Do you want to use UH in friend if you have no mana to do exura sio? (true/false)
- local uhinsteadofsio = false -- Do you want to use UH in friends instead of healing with exura sio? (true/false)
- for i,j in ipairs(friends) do j[1] = j[1]:lower() end -- Do not touch it.
- init end
- auto(100) listcolor('0xFF8080') listas('Friend healer on standby...')
- local lowsio,tosio = 100
- if ($mp >= 140) or uhifnomana or uhinsteadofsio then
- foreach creature player 'ps' do
- if player ~= $self and player.hppc < lowsio and player.isshootable then
- for i,j in ipairs(friends) do
- if (player.name:lower() == j[1]) and (player.hppc <= j[2] or (player.speed == 80 and j[3])) then
- tosio = player
- lowsio = player.hppc
- end
- end
- end
- end
- if tosio ~= nil then
- if ((uhifnomana) and ($mp < 140)) or uhinsteadofsio then
- useoncreature(RUNE_UH,tosio) listcolor('0x77BBFF') listas('Using ultimate healing on '..tosio.name..' ('..tosio.hppc..'%)')
- else
- cast('exura sio "'..tosio.name) listcolor('0x77BBFF') listas('Casting heal friend on '..tosio.name..' ('..tosio.hppc..'%)')
- end
- wait(300,500)
- end
- end
Add Comment
Please, Sign In to add comment