diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-24 06:07:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-24 06:07:23 -0300 |
commit | 9d29603458bdf9285722e48f8f0f7ec10eaa6771 (patch) | |
tree | 96493e68384f3e23b4e2db92a9e0f32c76d68f04 /npc/craft | |
parent | 3e919ecbaf104601c8660ece7205b90b049d0829 (diff) | |
download | serverdata-9d29603458bdf9285722e48f8f0f7ec10eaa6771.tar.gz serverdata-9d29603458bdf9285722e48f8f0f7ec10eaa6771.tar.bz2 serverdata-9d29603458bdf9285722e48f8f0f7ec10eaa6771.tar.xz serverdata-9d29603458bdf9285722e48f8f0f7ec10eaa6771.zip |
Prepare another nerf of critical rate.
This one is made ineffective, because this nerf == current settings.
It will be made effective, only when VAR_CRITICALSUCCESSVALUE is restored.
Diffstat (limited to 'npc/craft')
-rw-r--r-- | npc/craft/options.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 564612a48..e63b2eac4 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -103,6 +103,9 @@ function script csys_Generate { array_push(@csys_attr, VAR_HITSUCCESSVALUE); } if (.@lvl >= 5) { + array_push(@csys_attr, VAR_CRITICALRATE); + } + if (.@lvl >= 10) { array_push(@csys_attr, VAR_CRITICALSUCCESSVALUE); } array_push(@csys_penalty, VAR_LUKAMOUNT); @@ -359,6 +362,7 @@ function script csys_Multiplier { case VAR_INTAMOUNT: case VAR_DEXAMOUNT: case VAR_LUKAMOUNT: + case VAR_CRITICALSUCCESSVALUE: return 4; case VAR_MAXHPPERCENT: case VAR_MAXSPPERCENT: @@ -368,7 +372,7 @@ function script csys_Multiplier { case IOPT_DOUBLEATTACK: case VAR_PLUSAVOIDSUCCESSVALUE: case IOPT_EXPGAIN: - case VAR_CRITICALSUCCESSVALUE: + case VAR_CRITICALRATE: return 5; case IOPT_SCRESIST_POISON: case IOPT_SCRESIST_SILENCE: @@ -399,7 +403,7 @@ function script csys_ArmorFix { array_remove(@csys_attr, HP_DRAIN); array_remove(@csys_attr, SP_DRAIN); array_remove(@csys_attr, IOPT_DOUBLEATTACK); - //array_remove(@csys_attr, VAR_CRITICALSUCCESSVALUE); + array_remove(@csys_attr, VAR_CRITICALSUCCESSVALUE); // VAR_PLUSASPDPERCENT and VAR_PLUSASPD ? // Remove penalties array_remove(@csys_penalty, VAR_ITEMDEFPOWER); |