when using this code it works, but when the new imps die, the spell isn't available again.
also when using the next_command_reusable it lets me create multiple imps, instead of the max of 2 imps.
and lets me keep the imp spell
Code:
IF(PLAYER0,IMP ==0)
MAGIC_AVAILABLE(PLAYER0,POWER_IMP,1,1)
ENDIF
IF(PLAYER0,IMP ==2)
MAGIC_AVAILABLE(PLAYER0,POWER_IMP,0,0)
ENDIF
I also wanted to use the broken into command
assuming it means breaking down fortified walls with the destroy walls spell.
Code:
if(player_good,times_broken_into =1)
magic_available(player0,power_destroy_walls,0,0)
endif
tried >0 didn't work either