0c3f5fd907
ConditionEffect gains duration_rounds_per_level and max_duration_rounds (mirroring PenaltyEffect), applied as caster_level * per_level rounds capped at max: hold person 1 rd/lvl, doom 1 min/lvl, touch of fatigue 1 rd/lvl, vanish 1 rd/lvl (max 5). Extend Spell doubles both the per-level rate and the cap. Tests cover scaling and the vanish cap.
21 lines
675 B
JSON
21 lines
675 B
JSON
{
|
|
"name": "Vanish",
|
|
"level": 1,
|
|
"school": "illusion",
|
|
"range": "touch",
|
|
"save": "will",
|
|
"base_dc": 10,
|
|
"cast_time": "standard",
|
|
"effects": [
|
|
{
|
|
"type": "condition",
|
|
"condition_name": "invisible",
|
|
"duration_rounds": 1,
|
|
"duration_rounds_per_level": 1,
|
|
"max_duration_rounds": 5,
|
|
"save_negates": false
|
|
}
|
|
],
|
|
"description": "As invisibility, but only for 1 round/level (maximum 5 rounds) — the spell ends if the subject attacks. Will negates (harmless) — modeled as always accepted by the target. Modeled as the invisible condition (total concealment for the target; the attack-ends-spell rule is not modeled)."
|
|
}
|