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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user