solarus icon indicating copy to clipboard operation
solarus copied to clipboard

Syntax request: enemy:set_invincible([boolean])

Open Diarandor opened this issue 9 years ago • 0 comments

It would be more natural (and easier to remember) if we allowed the function "enemy:set_invincible" to have an optional boolean parameter: "enemy:set_invincible([boolean])". Calling "enemy:set_invincible(false)" would be equivalent to call "enemy:set_default_attack_consequences()".

Diarandor avatar Mar 26 '17 15:03 Diarandor