Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local T =
- {
- [33876] = true,
- [33982] = true,
- [33983] = true,
- [48565] = true,
- [48566] = true,
- ["aura"] = {48483, 48484, 48485},
- ["spell"] = {58179, 58180, 58181},
- }
- local function InfectedWounds (event, plr, spellid)
- if(T[spellid]) then
- local target = plr:GetSelection()
- if(target) then
- for k, v in ipairs (T.aura) do
- if(plr:HasAura(v)) then
- plr:CastSpellOnTarget(T.spell[k], target)
- break
- end
- end
- end
- end
- end
- RegisterServerHook(10, InfectedWounds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement