summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-05 14:27:54 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-05 14:27:54 -0300
commita90b4f18b79886812e46e25def08490ea02980d8 (patch)
tree6149eae5f53cfd5002ad7050008c118c4fa34016 /npc/craft
parenta77f645acb477f259b33913e11693ec98f362ebe (diff)
downloadserverdata-a90b4f18b79886812e46e25def08490ea02980d8.tar.gz
serverdata-a90b4f18b79886812e46e25def08490ea02980d8.tar.bz2
serverdata-a90b4f18b79886812e46e25def08490ea02980d8.tar.xz
serverdata-a90b4f18b79886812e46e25def08490ea02980d8.zip
Change multiplier factor from 2 to 10.
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/options.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 98cf5699d..8b3981bba 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -340,29 +340,30 @@ function script csys_Multiplier {
switch (.@sk) {
case IOPT_SPLASHDAMAGE:
return 0;
- case VAR_STRAMOUNT:
case VAR_AGIAMOUNT:
+ case VAR_LUKAMOUNT:
+ return 4;
+ case VAR_STRAMOUNT:
case VAR_VITAMOUNT:
case VAR_INTAMOUNT:
case VAR_DEXAMOUNT:
- case VAR_LUKAMOUNT:
case HP_DRAIN:
case SP_DRAIN:
case IOPT_DOUBLEATTACK:
case VAR_PLUSAVOIDSUCCESSVALUE:
- return 1;
+ return 5;
case IOPT_SCRESIST_POISON:
case IOPT_SCRESIST_SILENCE:
case IOPT_SCRESIST_CURSE:
case IOPT_SCRESIST_BLIND:
- return 3;
+ return 15;
case VAR_MAXHPAMOUNT:
case VAR_MAXSPAMOUNT:
case VAR_ITEMDEFPOWER:
case VAR_MDEFPOWER:
- return 5;
+ return 25;
default:
- return 2;
+ return 10;
}
return 0;
}
@@ -377,7 +378,7 @@ function script csys_BonusCalc {
.@mult=csys_Multiplier(.@var);
.@avmult=(.@craft+.@skill)*.@mult;
- .@avg=.@avmult/2;
+ .@avg=.@avmult/10;
.@base=rand2(1, .@avg+1);
return .@base;