Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Monk Healer for ArchlightOnline
- (Private Version -- Ownership: Midnight)
- By Mr Trala
- Version: 1.0.2
- Change Log;
- 1.0.1 -- Fixed the issue with the health percent(65k+).
- 1.0.2 -- Fixed problem after Archlight HP/Mana Update.
- Instructions;
- Just config to your liking the % to use your spells and your RuneID (your mana/heal rune id).
- ]]
- config = {
- RuneID = 11607, -- Your manarune id.
- Quick = 80, -- x% health to use Quick Prayer.
- Pray = 50, -- x% health to use Prayer.
- BlessS = 90 -- x% health to use Strong Blessing Spring.
- }
- -- Don't touch anything below here if you don't know what are you doing.
- spells = {
- QuickEX = 'exura san',
- PrayEX = 'exura ico',
- BlessEX = 'utura gran',
- QuickW = 'Quick Prayer',
- PrayW = 'Prayer',
- BlessW = 'Strong Blessing Spring'
- }
- function Healer()
- local x = config
- local s = spells
- if Self.Health() <= x.BlessS and Self.GetSpellCooldown(s.BlessEX) == 0 then
- Self.UseItem(x.RuneID)
- Self.Say(s.BlessW)
- elseif Self.Health() <= x.Pray and Self.GetSpellCooldown(s.PrayEX) == 0 then
- Self.UseItem(x.RuneID)
- Self.Say(s.PrayW)
- elseif Self.Health() <= x.Quick and Self.GetSpellCooldown(s.QuickEX) == 0 then
- Self.UseItem(x.RuneID)
- Self.Say(s.QuickW)
- end
- end
- registerEventListener(TIMER_TICK, 'Healer')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement