Add a new spell pattern picker.
The picker is used in the special node dialog and also in monster abilities. Some changes were made to the game as well: * If the rotatable wall is used for a field missile or touch ability, there's no longer an option for the designer to pick an orientation. Instead, it behaves like the rotatable wall in a radiate field ability, selecting an orientation based on the creature's facing direction. * The magic values sent to place_spell_pattern for direct damage were rearranged to match the order of the eDamageType enum. This should have no effect, since the core place_spell_pattern function is only called by the various wrapper overloads. It also simplifies the code quite a bit. * The Protective Circle spell pattern is now exposed to the place patten special nodes. It can be used as just a radius 4 circle, but the effect of different layers of fields can also be obtained by specifying a field type or damage type of -1. There is also a change to the dialog engine: * Calling setText() also implicitly calls recalcRect()
This commit is contained in:
@@ -39,6 +39,7 @@ std::string cControl::generateRandomString() {
|
||||
|
||||
void cControl::setText(std::string l){
|
||||
lbl = l;
|
||||
recalcRect();
|
||||
}
|
||||
|
||||
std::string cControl::getText() const {
|
||||
|
Reference in New Issue
Block a user