I create this script, i want this script repair items... but he detect
1/33 dura exp and script detect money need use in repair especial
this is codec
[@SpecialRepairitem]
#SAY
Please Select which Item you want repaired. \
\
< Armour/@SRepairFunc(0)> | < Helmet/@SRepairFunc(4)> \
< Necklace/@SRepairFunc(3)> | < Shoes/@SRepairFunc(10)> \
< Bracelet
1/33 dura exp and script detect money need use in repair especial
this is codec
[@SpecialRepairitem]
#SAY
Please Select which Item you want repaired. \
\
< Armour/@SRepairFunc(0)> | < Helmet/@SRepairFunc(4)> \
< Necklace/@SRepairFunc(3)> | < Shoes/@SRepairFunc(10)> \
< Bracelet
/@SRepairFunc(5)> | < Bracelt
/@SRepairFunc(6)> \
< Ring
< Ring
/@SRepairFunc(7)> | < Ring
/@SRepairFunc(8)> \
\
< Back/@main> | < Exit/@exit>
[@SRepairFunc()]
#ACT
mov P0 %ARG()
GetRepairCost %P0
#IF
small P9 0
#ACT
break
#IF
CheckGold %P9
#ACT
mov D0 %P0
mov D1 %P9
#say
El coste es de : <$OUTPUT(P9)> Reparar el item?\
<si/@si> <no/@exit>
[@si]
#ACT
GetRepairCost %D0
#IF
Equal D1 %P9
#ACT
RepairItem %D0
Take Gold %P9
#say
Tu item ha sido reparado.\
<Quiero reparar otro item/@specialrepairitem> <Salir/@exit>
#elsesay
No tienes suficiente dinero o eres tonto\
beacouse no run? Since I can do that it repairs everything at one stroke and calculates the total price?
\
< Back/@main> | < Exit/@exit>
[@SRepairFunc()]
#ACT
mov P0 %ARG()
GetRepairCost %P0
#IF
small P9 0
#ACT
break
#IF
CheckGold %P9
#ACT
mov D0 %P0
mov D1 %P9
#say
El coste es de : <$OUTPUT(P9)> Reparar el item?\
<si/@si> <no/@exit>
[@si]
#ACT
GetRepairCost %D0
#IF
Equal D1 %P9
#ACT
RepairItem %D0
Take Gold %P9
#say
Tu item ha sido reparado.\
<Quiero reparar otro item/@specialrepairitem> <Salir/@exit>
#elsesay
No tienes suficiente dinero o eres tonto\
beacouse no run? Since I can do that it repairs everything at one stroke and calculates the total price?
Last edited: