Lua GetPlayerLevel

From ArcEmu-Wiki
Jump to: navigation, search

GetPlayerLevel()

Returns the level of the player that the NPC has targeted.


  • Example
function Return_Level(pUnit, Event)
if pUnit:GetPlayerLevel() >= 70 then
pUnit:CastSpell(3509)
end
end
Personal tools