Fill in a lot of missed cases (mostly just messages)

- Increase strength of slayer weapons that weren't in the original BoE by making sure that each race applies some multiplier to the ability strength
- Messages for every occasional status effect, both negative and positive. If charm/forcecage, ignore.
- Fix weapon poison not being applied
- Forcecage supported for damaging terrain (in town only, of course) and "affect status" items
- Weapon poison supported for "affect status" items; it differs from "poison weapon" items in that it honours the magic use type and doesn't risk messing up (like the Envenom spell)
- Show error messages when encountering an unimplemented spell or special node
- Fix missing handling of NPCs appearing after town dies when loading a saved town
This commit is contained in:
2015-01-27 23:52:47 -05:00
parent ea0fbcffc8
commit 92a20b1c67
18 changed files with 396 additions and 57 deletions

View File

@@ -11,6 +11,7 @@
#include <vector>
#include <map>
#include <stdexcept>
#include <algorithm>
#include "dialog.hpp"
#include "graphtool.hpp"
@@ -530,6 +531,11 @@ void cButton::setBtnType(eBtnType newType){
frame.width() = 30;
frame.height() = 30;
break;
case BTN_TINY:
case BTN_LED:
frame.width() = std::min<int>(frame.width(), 14);
frame.height() = std::min<int>(frame.height(), 10);
break;
}
}