mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-01 22:07:45 +00:00
Counter fixed
This commit is contained in:
parent
2a540b3b00
commit
efa974430c
3 changed files with 7 additions and 7 deletions
|
@ -73,9 +73,9 @@ class ClsArc000 : public EventScript
|
||||||
if( npcId != Enemy0 || npcId != Enemy1 || npcId != Enemy2 )
|
if( npcId != Enemy0 || npcId != Enemy1 || npcId != Enemy2 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto currentKC37 = player.getQuestUI8AL( getId() ) + 1;
|
auto currentKC37 = player.getQuestUI8AL( getId() );
|
||||||
auto currentKC49 = player.getQuestUI8BH( getId() ) + 1;
|
auto currentKC49 = player.getQuestUI8BH( getId() );
|
||||||
auto currentKC47 = player.getQuestUI8BL( getId() ) + 1;
|
auto currentKC47 = player.getQuestUI8BL( getId() );
|
||||||
|
|
||||||
if( currentKC37 >= 6 )
|
if( currentKC37 >= 6 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -150,8 +150,8 @@ class ClsArc001 : public EventScript
|
||||||
if( npcId != Enemy0 || npcId != Enemy1 )
|
if( npcId != Enemy0 || npcId != Enemy1 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto currentKC5 = player.getQuestUI8AL( getId() ) + 1;
|
auto currentKC5 = player.getQuestUI8AL( getId() );
|
||||||
auto currentKC32 = player.getQuestUI8BH( getId() ) + 1;
|
auto currentKC32 = player.getQuestUI8BH( getId() );
|
||||||
|
|
||||||
if( currentKC5 >= 8 )
|
if( currentKC5 >= 8 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -164,8 +164,8 @@ class ClsArc002 : public EventScript
|
||||||
if( npcId != Enemy0 || npcId != Enemy1 )
|
if( npcId != Enemy0 || npcId != Enemy1 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto currentKC39 = player.getQuestUI8AL( getId() ) + 1;
|
auto currentKC39 = player.getQuestUI8AL( getId() );
|
||||||
auto currentKC12 = player.getQuestUI8BH( getId() ) + 1;
|
auto currentKC12 = player.getQuestUI8BH( getId() );
|
||||||
|
|
||||||
if( currentKC39 >= 8 )
|
if( currentKC39 >= 8 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue