mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 07:07:45 +00:00
Do not count Chasing Shadows as complete if mobs are killed in a certain order even if more adds are due to spawn
This commit is contained in:
parent
7844d0b463
commit
033a03b98f
1 changed files with 7 additions and 7 deletions
|
@ -67,13 +67,6 @@ public:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( instance.getCountEnemyBNpc() == 0 && successCalled == 0 )
|
|
||||||
{
|
|
||||||
instance.setCustomVar( SUCCESS_CALLED, 1 );
|
|
||||||
instance.success();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if( !boss || !ida || !papa )
|
if( !boss || !ida || !papa )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -149,6 +142,13 @@ public:
|
||||||
a5->hateListAdd( pPlayer, 1 );
|
a5->hateListAdd( pPlayer, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( instance.getCountEnemyBNpc() == 0 && successCalled == 0 )
|
||||||
|
{
|
||||||
|
instance.setCustomVar( SUCCESS_CALLED, 1 );
|
||||||
|
instance.success();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
|
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue