mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 07:36:23 +00:00
Rin'ji will now appear to be male and also can not be attacked by alliance why in cage
closes #408
This commit is contained in:
@@ -170,6 +170,7 @@ public:
|
||||
{
|
||||
_IsByOutrunner = false;
|
||||
spawnId = 0;
|
||||
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_DISABLE_MOVE);
|
||||
}
|
||||
|
||||
void Reset()
|
||||
@@ -228,6 +229,7 @@ public:
|
||||
|
||||
void sQuestAccept(Player* player, Quest const* quest)
|
||||
{
|
||||
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_DISABLE_MOVE);
|
||||
if (quest->GetQuestId() == QUEST_RINJI_TRAPPED)
|
||||
{
|
||||
if (GameObject* go = me->FindNearestGameObject(GO_RINJI_CAGE, INTERACTION_DISTANCE))
|
||||
|
||||
Reference in New Issue
Block a user