Solarus-Games English Forum

Solarus => Development => Topic started by: xglichtrapx on July 28, 2022, 02:41:41 AM

Title: disable spin attack
Post by: xglichtrapx on July 28, 2022, 02:41:41 AM
How do you disable the spin attack?
Title: Re: disable spin attack
Post by: Cluedrew on August 22, 2022, 12:03:09 AM
You will need game:set_ability("sword_knowledge", 0) or something. Most of the documentation is around the paired get_ability.

https://www.solarus-games.org/doc/latest/lua_api_game.html#lua_api_game_get_ability