Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Change Ring + Healer for ArchLightOnline
- Version 1.5 - PRIV VERSION (Ownership; Unix)
- Created by Mr Trala
- Instructions;
- If your ring change ID when you Equip/UnEquip It change it in "ringold" and "ringolt";
- RingOLD is the id when you have equiped.
- RingOLDT is the id when you have unequiped.
- If is the same ID always, just put the same id.
- That's it!
- Tested 4.5 hrs in a 80 Necro (so he keep using the script ALOT)~
- Credits to;
- Unix -- Idea
- Mr Trala -- Programmer
- ]]
- config = {
- RingID = 3051, -- Ring ID (energy ring).
- RingOLD = 16264, -- The ID of the normal ring you wear (your donor ring).
- RingOLDT = 16114, -- If your ring change ID when you equip/unequip it (like the berserker one) put the ID when is unequiped.
- EquipHP = 35, -- Equip Ring at % Health (your energy ring).
- UnEquipHP = 80, -- Health % When you UnEquip the ring and put your other one back (your donor ring).
- SpellHl = 92, -- Health % to use "exura necro gran".
- -- Don't touch this if you don't know what are you doing
- Spell = "exura necro gran",
- Exaus = "exura gran"
- }
- Module.New('EquipRING', function(mod)
- Self.HealthPercent = function()
- return math.abs(Self.Health()/(Self.MaxHealth()*0.01))
- end
- if Self.HealthPercent() <= config.EquipHP and Self.Ring().id == config.RingOLD then
- Self.Equip(config.RingID, "ring")
- end
- if Self.HealthPercent() >= config.UnEquipHP then
- Self.Equip(config.RingOLDT, "ring")
- end
- if Self.HealthPercent() <= config.SpellHl then
- if Self.GetSpellCooldown(config.Exaus) == 0 then
- Self.Cast(config.Spell, 100)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement