Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Monsters Settings:
- local Monsters = {"Crystal Spider", "Ice Golem"} -- Monsters to Attack with Spells
- local MonsterToSD = {"Crystal Spider"} -- Monsters to attack with Sudden Death Runes
- --// Spells Configuration
- local SpellStrike = "exori vis" -- Name of Normal Spell Strike (anyone)
- local StrongSpellStrike = "exori gran vis" -- Name of Strong Spell Strike (anyone)
- local MaxSpellStrike = "exori max vis" -- Name of Max Spell Strike (anyone)
- local StrongStrike = true -- (true/false) True if you want to use Strong Strike Spell
- local MaxStrike = false -- (true/false) True if you want to use Max Strike Spell
- local AmmountToUseSD = 4 -- Ammount to start using Sudden Death Runes
- table.lower(MonsterToSD)
- if (Self.CoolDown(SPELL_GROUP_ATTACK)) == 0 then
- if maround(10, unpack(MonsterToSD)) >= AmmountToUseSD then
- if target.hppc >= 7 and target.id ~= 0 and table.find(MonsterToSD, target.name:lower()) then
- useitemontarget("sudden death rune", target.id)
- updateworld()
- end
- if target.hppc < 7 and target.dist <= 3 and target.id ~= 0 then
- if cancast(SpellStrike) then
- cast(SpellStrike)
- end
- end
- end
- if target.id ~= 0 and target.dist <= 3 then
- if MaxStrike and cancast(MaxSpellStrike) and target.hppc > 30 then
- cast(MaxSpellStrike)
- end
- if StrongStrike and cancast(StrongSpellStrike) and target.hppc > 15 then
- cast(StrongSpellStrike)
- end
- if cancast(SpellStrike) then
- cast(SpellStrike)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement