Creature.cpp.rej
***************
*** 1248,1254 ****
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
AddMonsterMoveFlag(MONSTER_MOVE_WALK);
- SetUInt32Value(UNIT_NPC_FLAGS, cinfo->npcflag);
Unit::setDeathState(ALIVE);
clearUnitState(UNIT_STAT_ALL_STATE);
--- 1253,1264 ----
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
AddMonsterMoveFlag(MONSTER_MOVE_WALK);
+ // Playerbot mod
+ if(isBotGiver())
+ SetUInt32Value(UNIT_NPC_FLAGS, 1);
+ else
+ SetUInt32Value(UNIT_NPC_FLAGS, cinfo->npcflag);
+ // End Playerbot mod
Unit::setDeathState(ALIVE);
clearUnitState(UNIT_STAT_ALL_STATE);
creature.h.rej
***************
*** 392,397 ****
bool isRacialLeader() const { return GetCreatureInfo()->RacialLeader; }
bool isCivilian() const { return GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_CIVILIAN; }
bool canWalk() const { return GetCreatureInfo()->InhabitType & INHABIT_GROUND; }
bool canSwim() const { return GetCreatureInfo()->InhabitType & INHABIT_WATER; }
bool canFly() const { return GetCreatureInfo()->InhabitType & INHABIT_AIR; }
--- 392,401 ----
bool isRacialLeader() const { return GetCreatureInfo()->RacialLeader; }
bool isCivilian() const { return GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_CIVILIAN; }
+ // Playerbot mod - adds functionality to load/unload bots from NPC, also need to apply SQL scripts
+ bool isBotGiver();
+ void LoadBotMenu(Player *pPlayer);
+
bool canWalk() const { return GetCreatureInfo()->InhabitType & INHABIT_GROUND; }
bool canSwim() const { return GetCreatureInfo()->InhabitType & INHABIT_WATER; }
bool canFly() const { return GetCreatureInfo()->InhabitType & INHABIT_AIR; }
PLease help using version 9119 of mangos...
OH btw 9106 does not work either...