summaryrefslogtreecommitdiff
path: root/npc/craft/options.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-28 11:24:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-28 11:24:38 -0300
commit05fc156501201bc5cde04a8abaebe0015fcf2a42 (patch)
tree26e850e9bace4b2daf678eab54d2e0442c8eec6b /npc/craft/options.txt
parent823c055d4fef95524c6898517962b42dc866111f (diff)
downloadserverdata-05fc156501201bc5cde04a8abaebe0015fcf2a42.tar.gz
serverdata-05fc156501201bc5cde04a8abaebe0015fcf2a42.tar.bz2
serverdata-05fc156501201bc5cde04a8abaebe0015fcf2a42.tar.xz
serverdata-05fc156501201bc5cde04a8abaebe0015fcf2a42.zip
Register all 44 item options available for players on the write system.
That's cool, player only need the skills and interfaces now
Diffstat (limited to 'npc/craft/options.txt')
-rw-r--r--npc/craft/options.txt49
1 files changed, 25 insertions, 24 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 63757d3d9..0fcb1e31f 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -76,8 +76,8 @@ function script csys_Generate {
array_push(@csys_attr, VAR_MAGICATKPERCENT);
array_push(@csys_attr, VAR_ATKPERCENT);
}
- array_push(@csys_penalty, VAR_ITEMDEFPOWER);
- array_push(@csys_penalty, VAR_MDEFPOWER);
+ array_push(@csys_penalty, VAR_VITAMOUNT);
+ array_push(@csys_penalty, VAR_MAXHPAMOUNT);
// Update averages
.@avg+=.@lvl;
@@ -93,8 +93,8 @@ function script csys_Generate {
array_push(@csys_attr, DAMAGE_CRI_USER);
array_push(@csys_attr, RANGE_ATTACK_DAMAGE_USER);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_DEXAMOUNT);
+ array_push(@csys_penalty, VAR_INTAMOUNT);
// Update averages
.@avg+=.@lvl;
@@ -108,8 +108,9 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, VAR_CRITICALSUCCESSVALUE);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_LUKAMOUNT);
+ array_push(@csys_penalty, VAR_MDEFPOWER);
+ array_push(@csys_penalty, VAR_ITEMDEFPOWER);
// Update averages
.@avg+=.@lvl;
@@ -125,6 +126,7 @@ function script csys_Generate {
}
array_push(@csys_penalty, VAR_ATTPOWER);
array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, IOPT_CRITDMG);
// Update averages
.@avg+=.@lvl;
@@ -141,8 +143,7 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, VAR_SPACCELERATION);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_PLUSASPD);
// Update averages
.@avg+=.@lvl;
@@ -159,8 +160,7 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, IOPT_WALKSPEED);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_MAXSPAMOUNT);
// Update averages
.@avg+=.@lvl;
@@ -174,8 +174,7 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, IOPT_DOUBLEATTACK);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, RANGE_ATTACK_DAMAGE_USER);
// Update averages
.@avg+=.@lvl;
@@ -190,8 +189,7 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, CLASS_DAMAGE_BOSS_USER);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, DAMAGE_CRI_USER);
// Update averages
.@avg+=.@lvl;
@@ -214,8 +212,8 @@ function script csys_Generate {
if (.@lvl >= 4) {
array_push(@csys_attr, IOPT_SCRESIST_CURSE);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_CRITICALSUCCESSVALUE);
+ array_push(@csys_penalty, IOPT_CRITDMG);
// Update averages
.@avg+=.@lvl;
@@ -235,8 +233,11 @@ function script csys_Generate {
if (.@lvl >= 4) {
array_push(@csys_attr, IOPT_SCPROVOKE_CURSE);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, IOPT_SCRESIST_POISON);
+ array_push(@csys_penalty, IOPT_SCRESIST_SILENCE);
+ array_push(@csys_penalty, IOPT_SCRESIST_BLIND);
+ array_push(@csys_penalty, IOPT_SCRESIST_CURSE);
+ array_push(@csys_penalty, VAR_MAXHPAMOUNT);
// Update averages
.@avg+=.@lvl;
@@ -251,7 +252,7 @@ function script csys_Generate {
array_push(@csys_attr, DEC_SP_CONSUMPTION);
}
array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_ITEMDEFPOWER);
// Update averages
.@avg+=.@lvl;
@@ -265,8 +266,8 @@ function script csys_Generate {
if (.@lvl >= 5) {
array_push(@csys_attr, CLASS_DAMAGE_BOSS_TARGET);
}
- array_push(@csys_penalty, VAR_ATTPOWER);
- array_push(@csys_penalty, VAR_ATTMPOWER);
+ array_push(@csys_penalty, VAR_AVOIDSUCCESSVALUE);
+ array_push(@csys_penalty, VAR_PLUSAVOIDSUCCESSVALUE);
// Update averages
.@avg+=.@lvl;
@@ -384,7 +385,7 @@ function script csys_Apply {
.@slot=0;
while (.@slot < min(3, .@max_attr)) {
- // You have 100% for first bonus/onus, -30% each, depending on skill lv
+ // You have 100% for first bonus, -30% each, depending on skill lv
.@base=3000-(.@lv*75);
if (rand(10000) > 10000-(.@base*.@slot))
break;
@@ -401,9 +402,9 @@ function script csys_Apply {
// We need a new temp var
.@slt=0;
while (.@slt < min(2, .@max_pena)) {
- // You have 100% for first bonus/onus, -30% each, depending on skill lv
+ // You have 95% for first onus, -30% each, depending on skill lv
.@base=3000+(.@lv*75);
- if (rand(10000) > 10000-(.@base*.@slt))
+ if (rand(10000) > 9500-(.@base*.@slt))
break;
// Apply a bonus using array_pop (it was shuffled so we're fine)