[c12582] Add support for XP-Gain disabling

This commit is contained in:
NeatElves 2013-05-31 10:25:13 +01:00 committed by Antz
parent 132e6245a7
commit e0192deaf6
7 changed files with 122 additions and 51 deletions

View file

@ -98,6 +98,8 @@ enum ScriptCommand // resSource, resTar
// dataint=diff to change a waittime of current Waypoint Movement
SCRIPT_COMMAND_PAUSE_WAYPOINTS = 32, // resSource = Creature
// datalong = 0: unpause waypoint 1: pause waypoint
SCRIPT_COMMAND_XP_USER = 33, // source or target with Player, datalong = bool (0=off, 1=on)
};
#define MAX_TEXT_ID 4 // used for SCRIPT_COMMAND_TALK
@ -313,6 +315,12 @@ struct ScriptInfo
uint32 empty;
} pauseWaypoint;
struct // SCRIPT_COMMAND_XP_USER (33)
{
uint32 flags; // datalong
uint32 empty; // datalong2
} xpDisabled;
struct
{
uint32 data[2];