summaryrefslogtreecommitdiff
path: root/npc/012-5/nicholas.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-5/nicholas.txt')
-rw-r--r--npc/012-5/nicholas.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index c600a099e..9bcb9eb6e 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -59,7 +59,10 @@
delitem .@base1, .@amon1;
delitem .@base2, .@amon2;
Zeny = Zeny - .@price;
- getitem .@prize, 1;
+ if (array_find(.WeaponCraft, .@prize) >= 0)
+ CsysNpcCraft(.@prize, IOPT_CRITDMG, rand(28,32));
+ else
+ getitem .@prize, 1;
.@xp=getiteminfo(.@base1, ITEMINFO_SELLPRICE)*.@amon1+getiteminfo(.@base2, ITEMINFO_SELLPRICE)*.@amon2;
.@xp=.@xp*2/3;
getexp .@xp, rand(1,10);
@@ -216,6 +219,7 @@ OnInit:
.sex = G_MALE;
.distance = 5;
+ setarray .WeaponsCraft, WoodenSword, BugSlayer, ShortGladius, RealBronzeGladius, Backsword;
end;
OnClock0009: