Change *_movement keys in [effect]apply_to=attack to *_movement_used

This commit is contained in:
Celtic Minstrel 2015-08-22 07:50:59 -04:00
parent db9aae730a
commit ace0b53b31
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ Version 1.13.1+dev:
* apply_to=remove_advancement - remove advancement possibilities (either units * apply_to=remove_advancement - remove advancement possibilities (either units
or AMLAs) or AMLAs)
* apply_to=attack - add set_ versions of all existing increase_ keys * apply_to=attack - add set_ versions of all existing increase_ keys
* apply_to=attack - add increase_movement and set_movement to change the number * apply_to=attack - add increase_movement_used and set_movement_used to change the
of movement points the attack consumes number of movement points the attack consumes
* Editor: * Editor:
* Added Category field and color sliders to the Edit Label panel. * Added Category field and color sliders to the Edit Label panel.
* Miscellaneous and bug fixes: * Miscellaneous and bug fixes:

View File

@ -184,8 +184,8 @@ bool attack_type::apply_modification(const config& cfg,std::string* description)
const std::string& set_accuracy = cfg["set_accuracy"]; const std::string& set_accuracy = cfg["set_accuracy"];
const std::string& increase_parry = cfg["increase_parry"]; const std::string& increase_parry = cfg["increase_parry"];
const std::string& set_parry = cfg["set_parry"]; const std::string& set_parry = cfg["set_parry"];
const std::string& increase_movement = cfg["increase_movement"]; const std::string& increase_movement = cfg["increase_movement_used"];
const std::string& set_movement = cfg["set_movement"]; const std::string& set_movement = cfg["set_movement_used"];
std::stringstream desc; std::stringstream desc;