![]() All weapon specials can now be used in [abilities] to effect all weapons of the unit that pass the filter given in [filter_student][filter_weapon]. Explanation: filter_student filters on the unit that is under the effect of the ability (which is usually the unit itself, but not always if [affect_adjacent] is used). [filter_student][filter_weapon] filters on the active weapon of that unit (the student) in a specific combat. [filter_weapon] is now supported in all filter_opponent, filter_student, filter_attacker, filter_defender Note that constructs like [filter_student][or][filter_weapon] are not suported, [filter_weapon] must be a direct subtag of the four just mentioned tags. [filter_second_weapon] is no longer used for abilities that come from weapon specials. implements #4629 , #4475 , #4389 Co-authored-by: gfgtdf <daniel.gfgtdf@gmail.com> |
||
---|---|---|
.. | ||
ai | ||
core | ||
editor | ||
filters | ||
terrain | ||
types | ||
units | ||
diff.cfg | ||
game_config.cfg | ||
gui.cfg | ||
macros.cfg | ||
pbl.cfg | ||
schema.cfg |