ID:139008
 
Code:
mob
var/tmp
clonesalive
target
attacking
Clone
New()
var/mob/M=usr
src.icon=M.icon
src.icon_state=M.icon_state
src.overlays+=M.overlays
src.underlays+=M.underlays
src.owner=M
//src.maxhp = 100
src.health = 100 //make sure to add whatever variables for characters that are needed (like defence)
//src.strength = M.strength/5

flick('smoke.dmi',src)


Problem description:
The flick() does happen, but the src's icon is not getting set to M's icon, and everything else neither.
Not entirely sure that there's a "usr" in a New() proc. You could try putting the "usr" as an arg (mob/M) and setting it to that.