diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-30 15:51:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-30 15:51:05 -0300 |
commit | e651a1b03199b1a810d693193644dfa7c2bedf9d (patch) | |
tree | 75904eee01668c12264c04ba19f721879675bec7 /npc/012-5 | |
parent | b9a62032602622768f669f633b6e40a19e217565 (diff) | |
download | serverdata-e651a1b03199b1a810d693193644dfa7c2bedf9d.tar.gz serverdata-e651a1b03199b1a810d693193644dfa7c2bedf9d.tar.bz2 serverdata-e651a1b03199b1a810d693193644dfa7c2bedf9d.tar.xz serverdata-e651a1b03199b1a810d693193644dfa7c2bedf9d.zip |
Of course, there is 1/7 chance to have an item without bonus on Nicholas...
Weapons always have bonus.
Diffstat (limited to 'npc/012-5')
-rw-r--r-- | npc/012-5/nicholas.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt index f81f82f7f..9d1c5bb2f 100644 --- a/npc/012-5/nicholas.txt +++ b/npc/012-5/nicholas.txt @@ -64,7 +64,7 @@ if (array_find(.WeaponCraft, .@prize) >= 0) CsysNpcCraft(.@prize, IOPT_CRITDMG, rand(28,32)); else - CsysNpcCraft(.@prize, any(VAR_STRAMOUNT, VAR_AGIAMOUNT, VAR_VITAMOUNT, VAR_INTAMOUNT, VAR_DEXAMOUNT, VAR_LUKAMOUNT), any(1,1,1,2)); + CsysNpcCraft(.@prize, any(0, VAR_STRAMOUNT, VAR_AGIAMOUNT, VAR_VITAMOUNT, VAR_INTAMOUNT, VAR_DEXAMOUNT, VAR_LUKAMOUNT), any(1,1,1,2)); // Yield some experience for the craft .@xp=getiteminfo(.@base1, ITEMINFO_SELLPRICE)*.@amon1+getiteminfo(.@base2, ITEMINFO_SELLPRICE)*.@amon2; |