diff options
author | Haru <haru@dotalux.com> | 2015-05-08 16:15:07 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-05-08 16:21:05 +0200 |
commit | ad9a14992cde8ad6759263da37e723b2b1825981 (patch) | |
tree | f6c168973bb2d2c5f243ad1c5688ae15439dcc5c /npc/jobs/2-1/knight.txt | |
parent | 513059cad7510c20f44e1a19f731efbe2f28dbec (diff) | |
download | hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.gz hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.bz2 hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.xz hercules-ad9a14992cde8ad6759263da37e723b2b1825981.zip |
Replaced checkre() calls with constants
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/jobs/2-1/knight.txt')
-rw-r--r-- | npc/jobs/2-1/knight.txt | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt index 5b146d66d..5abf3c3c3 100644 --- a/npc/jobs/2-1/knight.txt +++ b/npc/jobs/2-1/knight.txt @@ -1252,15 +1252,14 @@ OnInit: OnEnable: enablenpc "Knight1"; - if (!checkre(0)) { - .MyMobs = 12; + .MyMobs = 8; + if (!RENEWAL) { + .MyMobs += 4; monster "job_knt",39,150,"Dustiness",1114,1,"Knight1::OnMyMobDead"; monster "job_knt",47,150,"Dustiness",1114,1,"Knight1::OnMyMobDead"; monster "job_knt",39,142,"Dustiness",1114,1,"Knight1::OnMyMobDead"; monster "job_knt",47,142,"Dustiness",1114,1,"Knight1::OnMyMobDead"; } - else - .MyMobs = 8; monster "job_knt",43,137,"Piere",1160,1,"Knight1::OnMyMobDead"; monster "job_knt",43,137,"Andre",1095,1,"Knight1::OnMyMobDead"; monster "job_knt",43,137,"Deniro",1105,1,"Knight1::OnMyMobDead"; @@ -1318,8 +1317,9 @@ OnInit: OnEnable: enablenpc "Knight2"; - if (!checkre(0)) { - .MyMobs = 12; + .MyMobs = 6; + if (!RENEWAL) { + .MyMobs += 6; monster "job_knt",43,42,"Desert Wolf",1106,1,"Knight2::OnMyMobDead"; monster "job_knt",43,62,"Desert Wolf",1106,1,"Knight2::OnMyMobDead"; monster "job_knt",60,68,"Anacondaq",1030,1,"Knight2::OnMyMobDead"; @@ -1327,8 +1327,6 @@ OnEnable: monster "job_knt",60,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead"; monster "job_knt",27,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead"; } - else - .MyMobs = 6; monster "job_knt",53,52,"Frilldora",1119,1,"Knight2::OnMyMobDead"; monster "job_knt",34,52,"Frilldora",1119,1,"Knight2::OnMyMobDead"; monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead"; @@ -1383,13 +1381,12 @@ OnInit: OnEnable: enablenpc "Knight3"; - if (!checkre(0)) { - .MyMobs = 7; + .MyMobs = 5; + if (!RENEWAL) { + .MyMobs += 2; monster "job_knt",147,167,"Goblin Archer",1258,1,"Knight3::OnMyMobDead"; monster "job_knt",136,158,"Steam Goblin",1280,1,"Knight3::OnMyMobDead"; } - else - .MyMobs = 5; monster "job_knt",136,152,"Goblin",1122,1,"Knight3::OnMyMobDead"; monster "job_knt",150,152,"Goblin",1123,1,"Knight3::OnMyMobDead"; monster "job_knt",143,145,"Goblin",1124,1,"Knight3::OnMyMobDead"; |