1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 13:47:46 +00:00

fix missing bnpc check in SubSea052

This commit is contained in:
collett 2022-02-24 00:45:13 +09:00
parent 9afe70111b
commit c4b014a88f

View file

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