mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
Add condition to increment currentKC in SubFst011
Prevents repeated excess quest progress event notices if Enemy0 is killed after kill count is already reached
This commit is contained in:
parent
3d1c8b0c2c
commit
8f408c4e5e
1 changed files with 5 additions and 2 deletions
|
@ -67,8 +67,11 @@ public:
|
|||
case Enemy0:
|
||||
{
|
||||
auto currentKC = quest.getUI8AL();
|
||||
if( currentKC < 6 )
|
||||
{
|
||||
quest.setUI8AL( currentKC + 1 );
|
||||
eventMgr().sendEventNotice( player, getId(), 0, 2, currentKC + 1, 6 );
|
||||
}
|
||||
|
||||
if( currentKC + 1 >= 6 )
|
||||
quest.setSeq( SeqFinish );
|
||||
|
|
Loading…
Add table
Reference in a new issue