Angband
list-blow-methods.h File Reference

monster race blow methods More...

Go to the source code of this file.

Detailed Description

monster race blow methods

Write the monster lore.

Return the RBM_ constant matching the given string.

Return a description for the given monster blow method flags.

Return whether or not the given blow is a physical attack.

Return whether or not the player is notified of a missed attack.

Return an action string to be appended on the attack message.

Return a message type to display.

Return whether or not the given blow causes stunning.

Return whether or not the given blow causes cuts.

Adjusting these flags does not break savefiles. Flags below start from 1 on line 20, so a flag's sequence number is its line number minus 19.

Fields: cut - whether this attack can cause cuts stun - whether this attack can stun miss - whether the player is notified when the attack misses phys - whether the attack has physical damage msg - sound/message to display act - action string to append (insult and moan are NULL as they are special) desc - string used in monster recall

Values are in list-blow-methods.h.

Parameters
methodis the RBM_ constant for the method.

Returns a sensible placeholder string for an out-of-range flag. Descriptions are in list-blow-methods.h.

Parameters
methodis one of the RBM_ flags.

Values are stringified RBM_ constants.

Parameters
stringcontains a value to search for.