1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 00:47:45 +00:00

Merge pull request #802 from collett8192/develop_3.x

[3.0] fix missing bnpc check in SubSea052
This commit is contained in:
Mordred 2022-02-23 17:07:15 +01:00 committed by GitHub
commit 10bba80537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ private:
}
case 1:
{
if( quest.getUI8AL() < 5 )
if( type == EVENT_ON_BNPC_KILL && param1 == 405 && quest.getUI8AL() < 5 )
{
quest.setUI8AL( quest.getUI8AL() + 1 );
eventMgr().sendEventNotice( player, getId(), 0, 2, quest.getUI8AL(), 5 );