pf2e icon indicating copy to clipboard operation
pf2e copied to clipboard

Gaps in way spells are handled

Open cswendrowski opened this issue 5 years ago • 5 comments

In GitLab by @Shandyan on Jun 18, 2020, 04:18

After checking through the spells for errors, I've identified a few gaps in the spells are currently handled.

Spell damage

At present, each spell can only do one damage type and amount (e.g. 5d6 fire). However, there are a number of spells which do two damage types (e.g. searing light), a random damage type (e.g. abyssal wrath), damage that varies with choices the caster makes (e.g. divine lance, ki strike), or damage that only affects some targets (e.g. chilling darkness, harm). If we could use the same damage system as for attacks, this would help with a lot of cases.

For extra complexity, some spells do damage of type X which counts as type Y for resistances (e.g. moonbeam or ephemeral hazards), and some do bonus damage based on a non-casting attribute (e.g. hurtling stone).

Critical Effects

Unlike strikes, spells don't always just do double damage on a critical. They can do entirely new conditions (e.g. produce flame) or increase damage values without strictly doubling. One way around this would be to separately enter the critical failure, failure, success and critical success entries for each spell.

Spell Attacks & Saves

A few spells require both a successful spell attack and for the target to make a save (e.g. ray of enfeeblement and disintegrate). At the moment, a spell can be either an attack or a save, not both.

Spell Areas

There are several spells that can be in one or two different areas (e.g. dragon breath, illusory terrain). Some spells gain increased areas as they are heightened. Would it possible to let spells have multiple entries for area?

Variable Action Spells

These aren't handled at all by the system right now. Increasing the actions spent can simply increase damage (e.g. magic missile) or the area (e.g. illusory terrain), but harm and heal are probably the two most complicated.

cswendrowski avatar Jun 18 '20 09:06 cswendrowski

In GitLab by @Shandyan on Jul 7, 2020, 04:07

marked this issue as related to #350

cswendrowski avatar Jul 07 '20 09:07 cswendrowski

@CarlosFdez Can this be closed?

TMunsie avatar Jun 13 '22 02:06 TMunsie

@Shandyan how much of this is still not implemented?

SpartanCPA avatar Jul 04 '22 05:07 SpartanCPA

Just noticed this sorry. This is a full feature list that leads to the entire thing not really be closeable, and it should be split apart.

Spell areas might be further out and might need its own issue. Variable Action Spells is almost available (waiting on stwlam for a second opinion). Spell Attacks & Saves might need their own issue but wouldn't be that hard to do. Critical Effects might be hard to do.

Spell Damage is done outside of caster choice damage types.

CarlosFdez avatar Jul 04 '22 06:07 CarlosFdez

If it's easier to track things in specific issues, this old one can be shut down. I'll try and split this one up later today.

Shandyan avatar Jul 04 '22 07:07 Shandyan