mob
verb
ssj()
src << "You become a SSJ!"
ssj = 1
world << "[name] Has become a SSJ"
attack *= 2
Defence *= 2
powerlevel *= 2
maxpowerlevel *= 2
icon_state = "ssj"
if icon_state = "Vegeta" <--- missing condition here
icon_state_flick = "SS"
Problem description:
when i login i can be goku or vegeta the icon is goku and vegeta but when i am vegeta and i click to go ssj it becoes goku so i tryed to make it go to vegetas ssj state but it doesn't work i get a missing condition can you help
verb
ssj()
src << "You become a SSJ!"
ssj = 1
world << "[name] Has become a SSJ"
attack *= 2
Defence *= 2
powerlevel *= 2
maxpowerlevel *= 2
icon_state = "ssj"
if(icon_state == "Vegeta") <--- missing condition here
//something here or you get empty IF statement!
icon_state_flick = "SS"