Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Hunter Helper for ArchLightOnline
- Version 1.1 - Piv Version - Beta (Ownership; Mr Trilo)
- Created by Mr Trala
- ]]
- --Config
- config = {
- monsters = {"Yeti", "Dragon Lord", "Dragon Lord Hatchling", "Dragon"}, -- Name of monster to use the script
- HealthM = 80, -- Health x% to remove weapon.
- UnEqID = 12603 -- Id of the bow you want to Remove at x% monster
- }
- -- Don't touch this if you don't know what are you doing
- MainBP = Container(0)
- Module.New('HunterHelper', function(mod)
- for name, creature in Creature.iMonsters() do
- if (table.contains(config.monsters, name)) then
- if creature:isTarget() and creature:HealthPercent() <= config.HealthM and creature:isAlive() then
- Self.Dequip("weapon", MainBP)
- elseif creature:isTarget() and creature:HealthPercent() >= config.HealthM or Self.TargetID() == 0 then
- Self.Equip(config.UnEqID, "weapon")
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement