diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-07 21:27:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-07 21:27:40 -0300 |
commit | 925b8ddd7cc2df95cad853130058583cbfe9c36e (patch) | |
tree | 61f5602648bb6dc7d2db2df696170634f4a686aa /npc/craft/options.txt | |
parent | 08f8ce6254d9c2816e53e6103d5e4953a019a17a (diff) | |
download | serverdata-925b8ddd7cc2df95cad853130058583cbfe9c36e.tar.gz serverdata-925b8ddd7cc2df95cad853130058583cbfe9c36e.tar.bz2 serverdata-925b8ddd7cc2df95cad853130058583cbfe9c36e.tar.xz serverdata-925b8ddd7cc2df95cad853130058583cbfe9c36e.zip |
Fix typo in crafting safeguard
Diffstat (limited to 'npc/craft/options.txt')
-rw-r--r-- | npc/craft/options.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 75a7fa758..50e043c17 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -43,7 +43,7 @@ function script csys_Generate { ///////////////////////////////////////////////////////////// // Basic tier if (.@gid & CRGROUP_BASE) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_BASE]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_BASE]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_STRAMOUNT); array_push(@csys_attr, VAR_INTAMOUNT); @@ -72,7 +72,7 @@ function script csys_Generate { ///////////////////////////////////////////////////////////// // First tier if (.@gid & CRGROUP_ATK) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_ATK]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_ATK]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_ATTPOWER); array_push(@csys_attr, VAR_ATTMPOWER); @@ -89,7 +89,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_DEF) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_DEF]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_DEF]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_ITEMDEFPOWER); array_push(@csys_attr, VAR_MDEFPOWER); @@ -106,7 +106,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_ACC) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_ACC]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_ACC]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_HITSUCCESSVALUE); } @@ -125,7 +125,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_EVD) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_EVD]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_EVD]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_AVOIDSUCCESSVALUE); } @@ -144,7 +144,7 @@ function script csys_Generate { ///////////////////////////////////////////////////////////// // Second tier if (.@gid & CRGROUP_REGEN) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_REGEN]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_REGEN]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_HPACCELERATION); } @@ -158,7 +158,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_SPEED) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_SPEED]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_SPEED]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_PLUSASPD); } @@ -175,7 +175,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_DOUBLE) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_DOUBLE]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_DOUBLE]); if (.@lvl >= 1) { array_push(@csys_attr, IOPT_CRITDMG); } @@ -189,7 +189,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_MAXPC) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_MAXPC]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_MAXPC]); if (.@lvl >= 1) { array_push(@csys_attr, VAR_MAXHPPERCENT); array_push(@csys_attr, VAR_MAXSPPERCENT); @@ -207,7 +207,7 @@ function script csys_Generate { ///////////////////////////////////////////////////////////// // Third tier if (.@gid & CRGROUP_SCRESIST) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_SCRESIST]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_SCRESIST]); if (.@lvl >= 1) { array_push(@csys_attr, IOPT_SCRESIST_POISON); } @@ -228,7 +228,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_SCINFLICT) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_SCINFLICT]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_SCINFLICT]); if (.@lvl >= 1) { array_push(@csys_attr, IOPT_SCPROVOKE_POISON); } @@ -252,7 +252,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_MANAUSE) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_MANAUSE]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_MANAUSE]); if (.@lvl >= 1) { array_push(@csys_attr, SP_DRAIN); } @@ -267,7 +267,7 @@ function script csys_Generate { .@stk+=1; } if (.@gid & CRGROUP_BOSSATK) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_BOSSATK]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_BOSSATK]); if (.@lvl >= 1) { array_push(@csys_attr, HP_DRAIN); } @@ -285,7 +285,7 @@ function script csys_Generate { ///////////////////////////////////////////////////////////// // Final tier (needs minimum lv 3) if (.@gid & CRGROUP_FINAL) { - .@lvl=min(CRAFT_MAXLV4, .@OVR ? 100 : CRAFTSYS[CRGROUP_FINAL]); + .@lvl=min(CRAFT_MAXLV1, .@OVR ? 100 : CRAFTSYS[CRGROUP_FINAL]); if (.@lvl >= 1) { array_push(@csys_attr, IOPT_EXPGAIN); } |