- Jun 6, 2009
- 570
- 30
- 115
I'm using integrals to make a quest where you have to kill the boss once to complete it.
This is how it looks in mapquest_def:
What this does is it makes you kill it twice i have tried:
and
But still have to kill two to complete it. What am i doing wrong? I just want it to kill once to complete it. Ty for any replies.
This is how it looks in mapquest_def:
Code:
[@main]
#IF
CheckVar Human OCQ3 > 1
#ACT
LineMSG 6 "You have killed enough monsters. Return to the NPC for your prize!"
ADDNAMELIST ../Npc_Def/OmaCaveComplete3.txt
SET [808] 0
BREAK
#ELSEACT
CalcVar Human OCQ3 + 1
SaveVar Human OCQ3 ../QuestDiary/Variables/Integral.txt
LineMSG 6 "Oma Cave Quest: <$Human(OCQ3)>/1 ArmouredOma killed!"
BREAK
What this does is it makes you kill it twice i have tried:
Code:
CheckVar Human OCQ3 = 1
Code:
CheckVar Human OCQ3 > 0
But still have to kill two to complete it. What am i doing wrong? I just want it to kill once to complete it. Ty for any replies.