All pastes #367722 Raw Edit

Miscellany

public cpp v1 · immutable
#367722 ·published 2007-02-22 15:28 UTC
rendered paste body
void Aura::HandleAuraMounted(bool apply, bool Real){    if(apply)    {        CreatureInfo const* ci = objmgr.GetCreatureTemplate(m_modifier.m_miscvalue);        if(!ci)return;        uint32 displayId = ci->randomDisplayID();        if(displayId != 0)            m_target->Mount(displayId);    }else    {        m_target->Unmount();    }}