Various damage-related changes

- Rename unblockable damage to "weird" and special damage to "unblockable"
- Monsters now support immunity to any damage type
- Fix using wrong damage type for bonus damage in PC-on-PC attacks
- Forbid use of unblockable (formerly special) damage by the scenario designer, except in special nodes; if hacked in, it's replaced with weird (formerly unblockable) damage.
- Fix damage amount text in animations (both single-frame booms and fully animated booms)

Changed the following things from weird (formerly unblockable) damage to unblockable (formerly special) damage:
- Starvation
- Debug 'K' command
- Damage from items forcibly ending flight
- Damage from bashing doors
This commit is contained in:
2015-07-19 10:23:00 -04:00
parent c7e9e3ca6c
commit 9972c3d27d
21 changed files with 135 additions and 137 deletions

View File

@@ -34,7 +34,7 @@ bool edit_area_rect_str(short which_str,short mode);
void make_cursor_sword() ;
size_t num_strs(eStrMode str_mode);
pic_num_t choose_damage_type(short cur, cDialog* parent);
pic_num_t choose_damage_type(short cur, cDialog* parent, bool allow_spec);
short choose_field_type(short cur, cDialog* parent, bool includeSpec);
pic_num_t choose_status_effect(short cur, bool party, cDialog* parent);
snd_num_t choose_sound(short cur, cDialog* parent, std::string title = "Which sound?");