Unnamed
public text v1 · immutable-- This adds the GM command .docast <spellid>
-- Only works on NPC's
function monstercast(player,args,LuaAI)
if (player:GetSecurity() > 0) then
player:getSelectedCreature():LuaAI:DoCast(args);
end
return true
end
register_lua_script_command(".docast","docast")