Fully working crafter NPC

holly

LOMCN Veteran
Veteran
Loyal Member
Mar 26, 2003
400
4
114
Well been working on this for a while. Atm the chances of sucsess are low, but that is easily changed.

It is a free upgrade but easy to make it so that you need to pay the npc for the upgrade.

I feel this will be a great npc for newbies :P Who like me just started working on 1.9 files.

Thanks to MentaL for his thread on upgrading.

/SPL1FF

Code:
[@main]
#SAY
<I want to Enhance an item!/@main1>\
<Exit/@exit>

[@main1]
What type of enhance would you like carried out?\
Choosing to enhance some special jewelry might add\
unwanted stats, becareful what you enhance!\
<Ac Enhance/@Ac1>  <Amc Enhance/@Amc1>\
<Dc Enhance/@DC1>  <Mc Enhance/@Mc1>\
<Sc Enhance/@sc1>\  
<Acc Enhance/@Acc1> (Weapon Only)\
<Dura Enhance/@Dura1>\
<Exit/@exit>

[@dc1]
<Weapon/@DC7>\
<Helmet/@DC8>\
<Necklace/@DC6>\
<LeftBrace/@DC4> <RightBrace/@DC5>\
<LeftRing/@Dc2> <RightRing/@DC3>\
<Belt/@Dc9>   <Boots/@Dc10>   <Stone/@Dc11>\

[@DC2]
#ACT
UPGRADEITEMEX 8 2 7 1 1
goto @done

[@DC9]
#ACT
UPGRADEITEMEX 10 2 7 1 1
goto @done

[@DC10]
#ACT
UPGRADEITEMEX 11 2 7 1 1
goto @done

[@DC11]
#ACT
UPGRADEITEMEX 12 2 7 1 1
goto @done

[@DC3]
#ACT
UPGRADEITEMEX 7 2 7 1 1
goto @done

[@DC4]
#ACT
UPGRADEITEMEX 6 2 7 1 1
goto @done

[@DC5]
#ACT
UPGRADEITEMEX 5 2 7 1 1
goto @done

[@DC6]
#ACT
UPGRADEITEMEX 3 2 7 1 1
goto @done

[@DC7]
#ACT
UPGRADEITEMEX 1 0 7 1 1
goto @done

[@DC8]
#ACT
UPGRADEITEMEX 4 2 7 1 1
goto @done

[@mc1]
<Weapon/@mC7>\
<Helmet/@mc8>\
<Necklace/@mC6>\
<LeftBrace/@mc4> <RightBrace/@mC5>\
<LeftRing/@mc2> <RightRing/@mC3>\
<Belt/@mc9>   <Boots/@mc10>   <Stone/@mc11>\

[@MC2]
#ACT
UPGRADEITEMEX 8 3 7 1 1
goto @done

[@MC9]
#ACT
UPGRADEITEMEX 10 3 7 1 1
goto @done

[@MC10]
#ACT
UPGRADEITEMEX 11 3 7 1 1
goto @done

[@MC11]
#ACT
UPGRADEITEMEX 12 3 7 1 1
goto @done

[@mc3]
#ACT
UPGRADEITEMEX 7 3 7 1 1
goto @done

[@mc4]
#ACT
UPGRADEITEMEX 6 3 7 1 1
goto @done

[@mc5]
#ACT
UPGRADEITEMEX 5 3 7 1 1
goto @done

[@mc6]
#ACT
UPGRADEITEMEX 3 3 7 1 1
goto @done

[@mc7]
#ACT
UPGRADEITEMEX 1 1 7 1 1
goto @done

[@mc8]
#ACT
UPGRADEITEMEX 4 3 7 1 1
goto @done

[@sc1]
<Weapon/@sC7>\
<Helmet/@sc8>\
<Necklace/@sC6>\
<LeftBrace/@sc4> <RightBrace/@sC5>\
<LeftRing/@sc2> <RightRing/@sC3>\
<Belt/@sc9>   <Boots/@sc10>   <Stone/@sc11>\

[@SC2]
#ACT
UPGRADEITEMEX 8 4 7 1 1
goto @done

[@SC11]
#ACT
UPGRADEITEMEX 12 4 7 1 1
goto @done

[@SC10]
#ACT
UPGRADEITEMEX 11 4 7 1 1
goto @done

[@SC9]
#ACT
UPGRADEITEMEX 10 4 7 1 1
goto @done

[@sc3]
#ACT
UPGRADEITEMEX 7 4 7 1 1
goto @done

[@sc4]
#ACT
UPGRADEITEMEX 6 4 7 1 1
goto @done

[@sc5]
#ACT
UPGRADEITEMEX 5 4 7 1 1
goto @done

[@sc6]
#ACT
UPGRADEITEMEX 3 4 7 1 1
goto @done

[@sc7]
#ACT
UPGRADEITEMEX 1 2 7 1 1
goto @done

[@sc8]
#ACT
UPGRADEITEMEX 4 4 7 1 1
goto @done

[@ac1]
<Helmet/@ac8>\
<LeftBrace/@ac4> <RightBrace/@aC5>\
<LeftRing/@ac2> <RightRing/@aC3>\
<Belt/@ac9>   <Boots/@ac10>\

[@ac8]
#ACT
UPGRADEITEMEX 4 0 7 1 1
goto @done

[@ac4]
#ACT
UPGRADEITEMEX 6 0 7 1 1
goto @done

[@ac5]
#ACT
UPGRADEITEMEX 5 0 7 1 1
goto @done

[@aC2]
#ACT
UPGRADEITEMEX 8 0 7 1 1
goto @done

[@ac3]
#ACT
UPGRADEITEMEX 7 0 7 1 1
goto @done

[@aC10]
#ACT
UPGRADEITEMEX 11 0 7 1 1
goto @done

[@aC9]
#ACT
UPGRADEITEMEX 10 0 7 1 1
goto @done

[@amc1]
<Helmet/@amc8>\
<LeftBrace/@amc4> <RightBrace/@amC5>\
<LeftRing/@amc2> <RightRing/@amC3>\
<Belt/@amc9>   <Boots/@amc10>\

[@amc8]
#ACT
UPGRADEITEMEX 4 1 7 1 1
goto @done

[@amc4]
#ACT
UPGRADEITEMEX 6 1 7 1 1
goto @done

[@amc5]
#ACT
UPGRADEITEMEX 5 1 7 1 1
goto @done

[@amC2]
#ACT
UPGRADEITEMEX 8 1 7 1 1
goto @done

[@amc3]
#ACT
UPGRADEITEMEX 7 1 7 1 1
goto @done

[@amC10]
#ACT
UPGRADEITEMEX 11 1 7 1 1
goto @done

[@amC9]
#ACT
UPGRADEITEMEX 10 1 7 1 1
goto @done

[@dura1]
<Weapon/@Dura7>\
<Helmet/@Dura8>\
<Necklace/@Dura6>\
<LeftBrace/@Dura4> <RightBrace/@Dura5>\
<LeftRing/@Dura2> <RightRing/@Dura3>\
<Belt/@Dura9>   <Boots/@Dura10>   <Stone/@Dura11>\

[@Dura2]
#ACT
UPGRADEITEMEX 8 14 7 1 1
goto @done

[@Dura9]
#ACT
UPGRADEITEMEX 10 14 7 1 1
goto @done

[@Dura10]
#ACT
UPGRADEITEMEX 11 14 7 1 1
goto @done

[@Dura11]
#ACT
UPGRADEITEMEX 12 14 7 1 1
goto @done

[@Dura3]
#ACT
UPGRADEITEMEX 7 14 7 1 1
goto @done

[@Dura4]
#ACT
UPGRADEITEMEX 6 14 7 1 1
goto @done

[@Dura5]
#ACT
UPGRADEITEMEX 5 14 7 1 1
goto @done

[@Dura6]
#ACT
UPGRADEITEMEX 3 14 7 1 1
goto @done

[@Dura7]
#ACT
UPGRADEITEMEX 1 14 7 1 1
goto @done

[@Dura8]
#ACT
UPGRADEITEMEX 4 14 7 1 1
goto @done

[@Acc1]
#ACT
UPGRADEITEMEX 1 5 7 1 1
goto @done

[@done]
Please come again.
 

holly

LOMCN Veteran
Veteran
Loyal Member
Mar 26, 2003
400
4
114
Nps, always enjoyed making good npcs :p will make one l8a or tomoz which actually needs a gem in order to make the upgrade
 

holly

LOMCN Veteran
Veteran
Loyal Member
Mar 26, 2003
400
4
114
[@Acc1]
#ACT
UPGRADEITEMEX 1 5 7 1 1
goto @done

Where it says UPGRADEITEMX as you can see there are 5 numbers following it. The number 7 is what you need to change to change sucsess rate.

0 = 100% SuccessRate
9 = Very Very Low SuccessRate

So The lower number you choose the higher chance the upgrade will work.

Using 10 doesnt work I dont think, I havent tried though
 

Far

tsniffer
Staff member
Developer
May 19, 2003
20,183
30
2,785
540
wld b no point 10 working, that wld mean 0% success rate.

each number you go up, the success rate goes down 10%
 

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
184
why not call it "rate of failure" :P

0 = never fails, 10 = always fails