Elementaranhänger

Issue #93 resolved
Bernhard Jung repo owner created an issue

Herrschaftsrituale und Zauber mit dem Merkmal Einfluss kosten zusätzlich 2 AsP.

Comments (3)

  1. Bernhard Jung reporter

    Yes, so much for DSA5 does not change the costs.

    There needs to be a special rule added to Elementaranhänger that does this.

    Special rules are subclasses of class SpecialRules. The class and existing implementations can be found in the rules project subfolder util/specialrules. There is already a class similar in spirit to what is needed here (SpRuApCostBonus). The special rule we need here would only need to overwrite the getApCost for spells and use a filter (class SpellFilter) to mach the spells it will effect.

    Most work is probably the code that allows to load this and configure the spell filter from the JSON files.

  2. Bernhard Jung reporter

    Fixed in commit bbc657f

    I added a special rule that allows to change the AE cost of a spell: SpRuCastingCostBonusFilter

    JSON format of

    It uses a SpellFilter to define the spells that are affected by the change. The change should affect all places where the AE cost is displayed including the character sheet. In the rules browser there will be a remark about the change:

  3. Log in to comment