{ "name": "Protection from Law", "level": 1, "school": "abjuration", "components": "V, S, M/DF", "range": "touch", "save": "will", "harmless": true, "base_dc": 10, "cast_time": "standard", "spell_resistance": false, "effects": [ { "type": "buff", "modifiers": [ { "target": "ac", "value": 2, "bonus_type": "deflection", "condition": "attacker_is_lawful" }, { "target": "fort", "value": 2, "bonus_type": "resistance", "condition": "attacker_is_lawful" }, { "target": "ref", "value": 2, "bonus_type": "resistance", "condition": "attacker_is_lawful" }, { "target": "will", "value": 2, "bonus_type": "resistance", "condition": "attacker_is_lawful" } ], "duration_rounds": 10 } ], "description": "SRD spells/protection-from-law.md: functions like protection from evil, except the deflection and resistance bonuses apply against lawful creatures - \"+2 deflection bonus to AC and a +2 resistance bonus on saves against attacks or effects created by lawful creatures\" - so both bonuses are gated on the attacker/caster alignment (condition attacker_is_lawful) and never apply against a creature that is not lawful. Will negates (harmless), spell resistance no. Duration 1 min/level approximated as 10 rounds (engine convention for 1-minute durations). Not modeled: the renewed saving throw against mental control by lawful creatures and the lawful summoned creature contact restriction (same gaps as protection from evil)." }