Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Why on earth wouldn't you just set their state efficiency to F (0%) for stone (or their element efficiency to E if it's an element) in the database for that character?