diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-08 16:57:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-08 16:57:41 -0300 |
commit | 5177e77a22b9b67f87d80539903eea694a2b81b7 (patch) | |
tree | ced179bd207892f6a34c7c730ef119357b1484ba /npc/craft | |
parent | 063dccafa05f6495fe48f5e93fd64a7e11709b49 (diff) | |
download | serverdata-5177e77a22b9b67f87d80539903eea694a2b81b7.tar.gz serverdata-5177e77a22b9b67f87d80539903eea694a2b81b7.tar.bz2 serverdata-5177e77a22b9b67f87d80539903eea694a2b81b7.tar.xz serverdata-5177e77a22b9b67f87d80539903eea694a2b81b7.zip |
As Ihclot is deemed to be perfect, they get yet another grace reroll.
Diffstat (limited to 'npc/craft')
-rw-r--r-- | npc/craft/options.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index b023a1e19..8909045a0 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -525,6 +525,11 @@ function script csys_BonusCalc { if (.@base >= (.@avg+1)*7/10) .@base=rand2(1, .@avg+1); + // Bonus grace reroll if crafting is maxed at 10 (SCRIPT only) + if (.@craft >= 10 && .@base < (.@avg+1)*.@eqlv/500) { + .@base=rand2(1, .@avg+1); + } + //////////////////////////////////// // Legendary Weapon? Effects +50% if (@csysArmor & CSYS_LEGENDARY) |