diff options
author | Haru <haru@dotalux.com> | 2014-10-21 21:03:46 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-28 00:28:47 +0100 |
commit | bba3e690de390f1576d70f227f76b4721ac3a010 (patch) | |
tree | 5849259e9174eab76b65079f5617d4e509f099d1 /npc/re/jobs/3-1/rune_knight.txt | |
parent | 88929e74e284e649eb32b2a923f819c35ecccbf6 (diff) | |
download | hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.gz hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.bz2 hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.xz hercules-bba3e690de390f1576d70f227f76b4721ac3a010.zip |
Removed use of 'checkquest' from scripts (re folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/jobs/3-1/rune_knight.txt')
-rw-r--r-- | npc/re/jobs/3-1/rune_knight.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt index ad8e4b8da..7c38c7c25 100644 --- a/npc/re/jobs/3-1/rune_knight.txt +++ b/npc/re/jobs/3-1/rune_knight.txt @@ -622,7 +622,7 @@ job3_rune01,90,50,3 script Rune Knight Lunarea 4_M_KNIGHT_GOLD,2,2,{ next; switch(select("Move to the test field now.:Please give me time to prepare.")) { case 1: - if (checkquest(3220,PLAYTIME) == 1) { + if (questprogress(3220,PLAYTIME) == 1) { mes "[Rune Knight, Lunarea]"; mes "Once someone enters into the test field you cannot enter directly. The test is taken one by one."; next; @@ -664,7 +664,7 @@ L_Test: set job_rune_edq,4; changequest 3202,3203; setquest 3220; // ? - } else if (checkquest(3220) > -1) { + } else if (questprogress(3220)) { erasequest 3220; setquest 3220; } @@ -1346,7 +1346,7 @@ mid_camp,235,250,3 script Sage Serpeone 4_F_FAIRY,2,2,{ mes "[Sage Serpeone]"; mes "Is it so? Then let's check this out."; next; - if (checkquest(3209,HUNTING) == 2 && checkquest(3210,HUNTING) == 2 && checkquest(3211,HUNTING) == 2 && checkquest(3212,HUNTING) == 2) { + if (questprogress(3209,HUNTING) == 2 && questprogress(3210,HUNTING) == 2 && questprogress(3211,HUNTING) == 2 && questprogress(3212,HUNTING) == 2) { mes "[Sage Serpeone]"; mes "Umm, this is great. Enough amount of living body magical energy has accumulated in your body."; next; @@ -1481,7 +1481,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{ mes "For this test, only a one-hand weapon, a shield or a two-handed weapon can be equipped. Keep your other equipments with the Kafra Employee in the center."; close; } - if (checkquest(3220,PLAYTIME) == 1) { + if (questprogress(3220,PLAYTIME) == 1) { mes "[Rune Knight Velpino]"; mes "Haven't you failed at the test... If you fail once, you cannot enter again for 10 minutes."; next; @@ -1495,7 +1495,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{ sc_start SC_INCINT,300000,40; getitem 12389,30; //Runstone_Storm getitem 12390,30; //Runstone_Millennium - if (checkquest(3220) > -1) erasequest 3220; + if (questprogress(3220)) erasequest 3220; setquest 3220; warp "job3_rune02",38,40; end; |