hiya,
i wanted to make a Orb increase DC or mc or sc from 1 to 5 .but it works only if the server is chose to let the orb do +1 upgrade but if its chose to let the orb do +2 or +3 upgrade opration, the orb does not do any thing .<soz if i dont explain the problem well but i hope u check the code and tell me wats wrong into it>
i wanted to make a Orb increase DC or mc or sc from 1 to 5 .but it works only if the server is chose to let the orb do +1 upgrade but if its chose to let the orb do +2 or +3 upgrade opration, the orb does not do any thing .<soz if i dont explain the problem well but i hope u check the code and tell me wats wrong into it>
Code:
[@StdmodeFunc45]
#IF
checkitem SpecialOrb
#SAY
I See You Have Found A SpecialOrb.\
You can choose btw DC,MC and SC to be increased\
and you can use it on weapons only.it can increase\
up to +5.what would you like to choose ?\ \
<Increase DC/@incDC> - <Increase MC/@incMC> - <Increase SC/@incSC>\
<exit/@exit1>
[@exit1]
#ACT
Give SpecialOrb 1
close
[@incDC]
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 0 2 1 0
close
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 0 2 2 0
close
#IF
RANDOM 12
#ACT
UPGRADEITEMEX 1 0 2 3 0
close
#IF
RANDOM 13
#ACT
UPGRADEITEMEX 1 0 2 4 0
close
#IF
RANDOM 15
#ACT
UPGRADEITEMEX 1 0 2 5 0
close
[@incMC]
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 1 2 1 0
close
break
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 1 2 2 0
close
BREAK
#IF
RANDOM 12
#ACT
UPGRADEITEMEX 1 1 2 3 0
close
BREAK
#IF
RANDOM 13
#ACT
UPGRADEITEMEX 1 1 2 4 0
close
BREAK
#IF
RANDOM 15
#ACT
UPGRADEITEMEX 1 1 2 5 0
close
BREAK
[@incSC]
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 2 2 1 0
close
break
#IF
RANDOM 10
#ACT
UPGRADEITEMEX 1 2 2 2 0
close
BREAK
#IF
RANDOM 12
#ACT
UPGRADEITEMEX 1 2 2 3 0
close
BREAK
#IF
RANDOM 13
#ACT
UPGRADEITEMEX 1 2 2 4 0
close
BREAK
#IF
RANDOM 15
#ACT
UPGRADEITEMEX 1 2 2 5 0
close
BREAK