From be15e0fbd674daf77cb42d75acb99f9d2da82c75 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 26 Aug 2019 22:03:19 -0300 Subject: Wurtzite, Graphene and Arcanum. This breaks refinery. --- npc/functions/refine.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt index c23739d07..48535f91d 100644 --- a/npc/functions/refine.txt +++ b/npc/functions/refine.txt @@ -74,20 +74,21 @@ function script refineMaster { switch (.@rlv) { case 0: case 1: - .@rg=CopperIngot; break; case 2: case 3: - .@rg=IronIngot; break; + .@rg=Wurtizite; break; case 4: case 5: - .@rg=TitaniumIngot; break; case 6: case 7: - .@rg=LeadIngot; break; + .@amount=((.@rlv-4)/2)+1; + .@rg=Graphene; break; case 8: - .@rg=Bloodstone; break; + case 9: + case 10: default: - .@rg=BlueManaPearl; break; + .@amount=((.@rlv-8)/2)+1; + .@rg=Arcanum; break; } mesn; mesq l("This @@ is a nice stuff. I can refine it for @@ GP and @@ @@.", getitemlink(.@item), .@price, .@amount, getitemlink(.@rg)); -- cgit v1.2.3-70-g09d2