Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Osrs ocre

From NWNWiki

Jump to: navigation, search

osrs_ocre is a script for the OnCombatRoundEnd event used by OSRS.

/////////////////////////////////////////////////////////////////////////////
//
// file:
//      osrs_ocre
//
// purpose:
//      OnCombatRoundEnd
//
/////////////////////////////////////////////////////////////////////////////

// the OSRS include file
#include "osrs_inc"

/////////////////////////////////////////////////////////////////////////////
void main()
{
    // determine what type of object is calling this script
    int iCallingClass = osrs_GetCallerEventClass(OBJECT_SELF);
    switch(iCallingClass)
    {
        case I_OSRS_EVENT_CLASS_CREATURE:
            // Creature::OnCombatRoundEnd Pre-event
            if (!osrs_c_ocre_pre())
            {
                return;
            }

            // Creature::OnCombatRoundEnd event
            if (!osrs_c_ocre())
            {
                return;
            }

            // Creature::OnCombatRoundEnd post-event
            osrs_c_ocre_post();

    }

}


Rate this article:
Share this article: