on my verb, my icon doesnt flick. the icons state is named correctly from the usr icon and this code. it should flick to "PunchKick", "Kick", or "Punch" is there something wrong with this code?
if(usr.dir == 4)
var/RANDOM = rand(1,100)
if(RANDOM == 1)
flick("TBHit",src)
flick("Punch", usr)
usr.PSTR += rand(1, 2)
usr.MPL += rand(1,5)
if(RANDOM == 2)
flick("TBHit",src)
flick("Kick", usr)
usr.KSTR += rand(1, 2)
usr.MPL += rand(1,5)
if(RANDOM == 3)
flick("TBHit",src)
flick("PunchKick", usr)
usr.PSTR += rand(1,2)
usr.KSTR += rand(1,2)
usr.MPL += rand(5,10)
else
flick("TBHit",src)
flick("PunckKick", usr)
usr.MPL += rand(5,10)
Copyright © 2025 BYOND Software.
All rights reserved.
If none of the above work, then the only other thing I can think of is that the icon state you want to flick to is in a different dmi file.