mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +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:
@@ -0,0 +1,3 @@
|
||||
INSERT INTO version_db_world (`sql_rev`) VALUES ('1498835613715251400');
|
||||
|
||||
UPDATE `creature_template` SET `modelid1` = '6485' WHERE `entry` = '7780';
|
||||
@@ -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