new entry "ORI_Karlach_Rage_Flames"
type "PassiveData"
data "DisplayName" "h87ebf676g2b1cg45dega9c8g48c5fdc78b03;1"
data "Description" "hc2ebb0c4g9c91g45b6gacb6g8e4c82b01ecd;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved"
data "StatsFunctors" "IF(HasStatus('SG_Rage',context.Target) and not HasStatus('ORI_KARLACH_RAGE_FIRE_VFX',context.Target)):ApplyStatus(ORI_KARLACH_RAGE_FIRE_VFX,100,-1);"

new entry "_SCL_p"
type "PassiveData"

new entry "HAV_Phasm_ParalizingAttacks"
type "PassiveData"
data "DisplayName" "ha02c9363g4674g4465g8c53gb951c7e1c553;2"
data "Description" "h3a357c58gec64g4092ga280g6044daf83cd8;1"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsUnarmedAttack()"
data "StatsFunctors" "DealDamage(5d8,Acid,Magical);IF(not SavingThrow(Ability.Constitution, 15)):ApplyStatus(PARALYZED,100,1)"

new entry "SCL_Raven_Hardcore"
type "PassiveData"
using "HAV_Phasm_ParalizingAttacks"
data "DisplayName" "h332d89e1ge24bg4f78g90cfgeab1dfbe4426;2"
data "Description" "h59f8e59fg044ag4e3fgb3e7g04693485f557;2"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsUnarmedAttack()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 13)):ApplyStatus(BLINDED,100,2)"

new entry "SCL_CrawlingClaw_Hardcore"
type "PassiveData"
data "DisplayName" "hb73d67b3g4302g40acga4e4g1ca4e6104ade;1"
data "Description" "h96b6304bg520eg453cgaf18gd516ccee5e39;1"
data "DescriptionParams" "DealDamage(2d6,Necrotic)"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsUnarmedAttack()"
data "StatsFunctors" "DealDamage(2d6,Necrotic,Magical)"

new entry "_OTHER_p"
type "PassiveData"

new entry "SHA_NightsongPrison_SoulCage"
type "PassiveData"
data "DisplayName" "h68880e9eg39bbg47e3gb6c2g3c5ba3557329;1"
data "Description" "h341c4ad9g4ce3g485bg8d0fg77ea64821ae8;1"

new entry "SHA_SharBlessing"
type "PassiveData"
data "DisplayName" "hedfbda20g84b3g4eb2ga6dbg6fdffb98e623;1"
data "Description" "hf245f389ge55fg472dgbdb5g65e37eaf7d86;2"

new entry "SHA_NightsongResurrection"
type "PassiveData"
data "DisplayName" "hc929021bg2701g44aegbcf0g19299216768d;2"
data "Description" "h193b7ee8g5a0bg4d44g93dega35d0a6530f8;1"
data "Properties" "Highlighted"
data "Boosts" "DownedStatus(GLO_NIGHTSONGRESURRECTION_DOWNED,20)"

new entry "TWN_Brewer_Holly_Acid"
type "PassiveData"
data "DisplayName" "h25a742cegd66ag4e22gaf7eg5f98437e1074;1"
data "Description" "h2a16db40g48e5g444cg8a88g9243e805b992;1"
data "Properties" "Highlighted"
data "Conditions" "Character()"
data "StatsFunctors" "ApplyStatus(SELF, TWN_DISTILLERY_AURA_ACID,100,-1)"

new entry "TWN_Brewer_Holly_Cold"
type "PassiveData"
data "DisplayName" "ha101764agb1acg4e76g8863g25fdd21d7640;1"
data "Description" "ha58e9c65gbbe0g4905gae61g061f8b00af2f;1"
data "Properties" "Highlighted"
data "Conditions" "Character()"
data "StatsFunctors" "ApplyStatus(SELF, TWN_DISTILLERY_AURA_COLD,100,-1)"

new entry "TWN_Brewer_Holly_Fire"
type "PassiveData"
data "DisplayName" "hed794ea4gb141g42c6g8e09g01a3b8e2c551;1"
data "Description" "h78ea9069gaa70g4886gab4agfc0e690525e2;1"
data "Properties" "Highlighted"
data "Conditions" "Character()"
data "StatsFunctors" "ApplyStatus(SELF, TWN_DISTILLERY_AURA_FIRE,100,-1)"

new entry "TWN_Brewer_Holly_Lightning"
type "PassiveData"
data "DisplayName" "h3d9f992ag2ca9g46c9g9564ga80c0ecdaefd;1"
data "Description" "hec50da32gb729g4ebcg843fg68b1857a64af;1"
data "Properties" "Highlighted"
data "Conditions" "Character()"
data "StatsFunctors" "ApplyStatus(SELF, TWN_DISTILLERY_AURA_LIGHTNING,100,-1)"

new entry "TWN_Brewer_Holly_Poison"
type "PassiveData"
data "DisplayName" "he30c96b2gffcdg441aga234gdcbcd29ade85;1"
data "Description" "h7731579cg6adag47adgaec0g6b61ee33af7f;1"
data "Properties" "Highlighted"
data "Conditions" "Character()"
data "StatsFunctors" "ApplyStatus(SELF, TWN_DISTILLERY_AURA_POISON,100,-1)"

new entry "TWN_TC_Visage_CursedGold"
type "PassiveData"
data "DisplayName" "hc155781ag8e79g49a2gbd73g74a4be7cda63;1"
data "Description" "hed2b97ddgc7f0g48edg8d12g2892d42de112;1"
data "Icon" "Item_LOOT_COINS_Gold_Pile_Medium_A"
data "Properties" "Highlighted"

new entry "TWN_GithyankiWarlock_FormOfDread"
type "PassiveData"
data "DisplayName" "h6e7ccc39gffedg439cg93d0g3c7f39c2b340;2"
data "Description" "h00fa648bgc164g46f9ga617g125719a0b894;1"
data "DescriptionParams" "GainTemporaryHitPoints(15)"
data "Icon" "PassiveFeature_Generic_Death"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "HasDamageEffectFlag(DamageFlags.Hit)"
data "StatsFunctors" "IF(not SavingThrow(Ability.Wisdom, SourceSpellDC())):ApplyStatus(FRIGHTENED,100,2)"

new entry "TWN_ApplyWET"
type "PassiveData"
data "DisplayName" "h6f8b35acgf1e1g463ag892dgfb16d09439c2;2"
data "Description" "h2d7feefdge38bg4e3bg884cg98896f215422;2"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsMeleeAttack() or IsUnarmedAttack()"
data "StatsFunctors" "ApplyStatus(WET, 100, 2)"

new entry "TWN_PlaquePuzzle_Wisdom"
type "PassiveData"
data "DisplayName" "h0b54e3eagbdc3g4cdfgb7dfg5b1bf443e468;1"
data "Description" "hdc16832cgf39cg4e3eg90b0g660a3439056e;2"
data "Properties" "Highlighted"
data "Boosts" "Advantage(SavingThrow, Wisdom);IF(IsSpell()):Advantage(AttackRoll)"

new entry "TWN_PlaquePuzzle_Intelligence"
type "PassiveData"
data "DisplayName" "h47991d14g0369g4342g9235g6d7fb1a2ec36;1"
data "Description" "hce5fc209g8b5bg4c22g82bfg59fbff5f7dd6;3"
data "Properties" "Highlighted"
data "Boosts" "Advantage(SavingThrow, Intelligence);IF(IsSpell()):Advantage(AttackRoll)"

new entry "TWN_PlaquePuzzle_Charisma"
type "PassiveData"
data "DisplayName" "hf358cf98g25eeg44cdga3adg1cb36417aec1;1"
data "Description" "h195a161eg8538g4184gad02g8bf0f35caef8;2"
data "Properties" "Highlighted"
data "Boosts" "Advantage(SavingThrow, Charisma);IF(IsSpell()):Advantage(AttackRoll)"

new entry "TWN_Nightdome_ReflectDamage"
type "PassiveData"
data "DisplayName" "h54e94a24gd58eg4a68g9c76gadf062406622;1"
data "Description" "h57a1b1f0ge3dbg417egbef7g84629d97bf20;1"
data "Properties" "Highlighted"

new entry "TWN_KuoToa_Storm"
type "PassiveData"
data "DisplayName" "hec14962eg1d57g433cg93afg69852010251a;2"
data "Description" "hdf8bc65cg7372g47c0g9c33ga7f73b3fa72f;4"
data "Properties" "Highlighted"
data "Boosts" "StatusImmunity(SHOCKED_SURFACE);StatusImmunity(MAG_ELECTROCUTED);"

new entry "TWN_KuoToa_LightningDamage"
type "PassiveData"
data "DisplayName" "h627199c4g94e9g4a78gbb93g7acc22529c92;3"
data "Description" "hbee8d795g4981g44aaga222g95d411af6259;2"
data "DescriptionParams" "DealDamage(2d8, Lightning)"
data "Properties" "Highlighted"
data "Boosts" "CharacterWeaponDamage(2d8,Lightning)"

new entry "TWN_AasimarSurvivor_SpawnShadow"
type "PassiveData"
data "DisplayName" "h7d82e735gf4fag4a75g8a03gdf814fbfdc28;1"
data "Description" "h691ceb03gccfeg4597g80c4gaa2d558a9555;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasHPPercentageEqualOrLessThan(0) and not Dead()"
data "StatsFunctors" "GROUND:Spawn(8b3d2632-ed4c-40c3-984a-25d52f6074e4)"

new entry "HAV_Phasm_AcidPool"
type "PassiveData"
data "DisplayName" "h26dd0b57g65f4g4a53ga6ecgf066d824e17f;2"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "StatsFunctors" "CreateSurface(3,2,Acid)"

new entry "_SHA_p"
type "PassiveData"

new entry "SHA_TortureTrial_Double"
type "PassiveData"
data "DisplayName" "h26082184g0464g4b55g99cbg3c1b3931f15f;3"
data "Description" "hb725305cg058cg4ca1gb0e1gcf4990ba0898;5"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "not HasStatus('SHA_TORTURETRIAL_DOUBLE_TARGET',context.Source,context.Target) and TotalDamageDoneGreaterThan(0) and HasStatus('SHA_TORTURETRIAL_DOUBLE_TARGET',context.Source)"
data "StatsFunctors" "IF(HasStatus('SHA_TORTURETRIAL_SHAR_DEBUFF_3', context.Source)):ApplyStatus(SWAP,SHA_TORTURETRIAL_SHAR_DEBUFF_4,100,-1);IF(HasStatus('SHA_TORTURETRIAL_SHAR_DEBUFF_2', context.Source)):ApplyStatus(SWAP,SHA_TORTURETRIAL_SHAR_DEBUFF_3,100,-1);IF(HasStatus('SHA_TORTURETRIAL_SHAR_DEBUFF_1', context.Source)):ApplyStatus(SWAP,SHA_TORTURETRIAL_SHAR_DEBUFF_2,100,-1);IF(not HasStatus('SHA_TORTURETRIAL_SHAR_DEBUFF_4', context.Source)):ApplyStatus(SWAP,SHA_TORTURETRIAL_SHAR_DEBUFF_1,100,-1);"

new entry "SHA_DarkVengeance"
type "PassiveData"
data "DisplayName" "h31bb7da3gd2f7g49f8g8451gddcdc89c37c0;1"
data "Description" "h9dac9fe9g62ebg4629g8722g9584d8e4280f;1"
data "Properties" "Highlighted"
data "Boosts" "IF(not HasObscuredState(ObscuredState.Clear)):Advantage(AttackRoll); "

new entry "SHA_VisionOfShar"
type "PassiveData"
data "DisplayName" "h97e918cdg29f8g4c51ga7c2g6f3496552530;3"
data "Description" "hac9d31d0g79f4g48bag91abg74c992facdff;3"
data "Properties" "Highlighted"
data "Boosts" "StatusImmunity(SG_Blinded)"

new entry "SHA_DarkLifeforce"
type "PassiveData"
data "DisplayName" "h85011e59gf167g4a5ag8eddg72af489a58b8;1"
data "Description" "h56d5e820geb0eg4cafga176g180da8c846fc;1"
data "BoostContext" "OnStatusApply"
data "Boosts" "IF(HasStatus(DOWNED)):Advantage(AttackRoll); "

new entry "SHA_MistressKiss"
type "PassiveData"
data "DisplayName" "h218a48d9g59f7g4432g9123g2fff00793e36;1"
data "Description" "h54c98d90g9b8ag46aeg8d21g31a3c2f3c4a9;1"
data "Boosts" "IF(not HasObscuredState(ObscuredState.Clear)):Advantage(AttackRoll); "

new entry "SHA_Lyrthindor_UnlockExtraSpellSlots"
type "PassiveData"
data "DisplayName" "hcc1a2748gcfcfg4453g91a3gad00298790d4;1"
data "Properties" "OncePerCombat;IsHidden"
data "BoostContext" "OnDamaged"
data "BoostConditions" "HasHPPercentageLessThan(60)"
data "Boosts" "ActionResource(SpellSlot,4,6)"

new entry "CRE_Mindsteal_Link_Target"
type "PassiveData"
data "DisplayName" "h5acdd2fega248g4506g9951g192b24ea323b;2"
data "Description" "h639d48f5g6970g4183g8ae0ge7a2650b9c87;3"
data "DescriptionParams" "2"
data "Icon" "GenericIcon_DamageType_Psychic"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasStatus('CRE_MINDSTEAL_LINK_SOURCE')"
data "StatsFunctors" "RemoveStatus(SELF,CRE_MINDSTEAL_LINK_TARGET);RemoveStatus(SELF,CRE_MINDSTEAL_LINK)"

new entry "TWN_RatCatcher_Passive"
type "PassiveData"
data "DisplayName" "h687fc25egc94bg4693ga12fgde45084c7caa;2"
data "Description" "h127b135fg2d17g408cgb753g3373f3a2cff9;3"
data "Boosts" "IF(Tagged('BEAST', context.Target)):Advantage(AttackRoll)"
data "StatsFunctorContext" "OnAttack"

new entry "MAG_Throw_Swap"
type "PassiveData"
data "DisplayName" "hbcd8cc21gcd24g4f92g843fg9c32bae1b542;4"
data "Description" "h7af70d36g56f1g4700g85a6gb14fcde3a591;4"
data "DescriptionParams" "1"
data "Boosts" "IF(SpellTypeIs(SpellType.Throw)):RollBonus(Attack, 1)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasWeaponProperty(WeaponProperties.Thrown, context.HitDescription.ThrownObject)"
data "StatsFunctors" "IF(not SavingThrow(Ability.Dexterity,13)):SwapPlaces()"

new entry "MOO_KethericArmor"
type "PassiveData"
data "DisplayName" "he78eb6f5ga85eg4943ga3e7gb332e71ba90b;3"
data "Description" "h8a3684e3g1ba1g4c81gb4afgaf3a4f38c557;4"
data "Properties" "IsToggled;ToggledDefaultOn;ToggledDefaultAddToHotbar"
data "Boosts" "Attribute(Grounded);Disadvantage(SavingThrow, Dexterity);"

new entry "SCE_ExhaustionImmunity"
type "PassiveData"
data "DisplayName" "h6b0b25e8gb341g4c69ga085g8ca3dd0fe140;1"
data "Description" "he341e06fg5a7bg47a6g8ec6gdeb537f15881;1"
data "Boosts" "StatusImmunity(SG_Exhausted)"

new entry "SCE_TieflingFollowup_BardicInspiration_Attack_Ability"
type "PassiveData"
data "DisplayName" "h72532d76gf663g4eecg8cd9g625918f7834c;1"
data "Description" "h70716d9ag9f1bg4701g8c0eg059826ffe79b;1"
data "DescriptionParams" "1d12"
data "Properties" "IsToggled;Temporary"
data "Boosts" "RollBonus(SkillCheck,1d12);RollBonus(RawAbility,1d12);RollBonus(Attack,1d12)"
data "StatsFunctorContext" "OnAttack;OnAbilityCheck"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnAttack) and IsAttack()):RemoveStatus(SELF,SCE_TIEFLINGFOLLOWUP_BARDIC_INSPIRATION);IF(context.HasContextFlag(StatsFunctorContext.OnAbilityCheck)):RemoveStatus(SCE_TIEFLINGFOLLOWUP_BARDIC_INSPIRATION)"

new entry "SCE_TieflingFollowup_BardicInspiration_SavingThrow"
type "PassiveData"
data "DisplayName" "h14507907g5e43g41adg9cecg873b5ab11080;1"
data "Description" "hcda33f89g31a6g4235gbb8eg564b5411e3e3;1"
data "DescriptionParams" "1d12"
data "Properties" "IsToggled;Temporary"
data "Boosts" "RollBonus(SavingThrow,1d12)"
data "StatsFunctorContext" "OnAttacked"
data "StatsFunctors" "RemoveStatus(SCE_TIEFLINGFOLLOWUP_BARDIC_INSPIRATION)"

new entry "MAG_LC_Cyric_FearImmunity_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h150f414cg5023g44cbg9d3fg54ebf4b551f9;3"
data "Description" "ha451de9fg863eg45e5g997ag54f713fae6ca;3"
data "Boosts" "StatusImmunity(SG_Frightened);StatusImmunity(SG_Fleeing);StatusImmunity(HIDEOUS_LAUGHTER)"

new entry "CRE_BrainDamage_INT"
type "PassiveData"
data "DisplayName" "h85a66febg18eeg41b6g84bcgf2f1cb213355;1"
data "Description" "hc71486d7geedcg4fcag9ba2g198152d38cb5;1"
data "Icon" "PassiveFeature_CRE_BrainDamage_INT"
data "Properties" "Highlighted"
data "Boosts" "Ability(Intelligence, -2)"

new entry "CRE_BrainDamage_WIS"
type "PassiveData"
data "DisplayName" "hc6f3cb65g7243g40f1g8857gf203a16a9724;1"
data "Description" "h55e0fc7dgcd0ag4bb7g8d6cgb1d093ce452b;1"
data "Icon" "PassiveFeature_CRE_BrainDamage_WIS"
data "Properties" "Highlighted"
data "Boosts" "Ability(Wisdom, -2)"

new entry "CRE_BrainDamage_CON"
type "PassiveData"
data "DisplayName" "h5fa1c04fgefe3g4c8bga374gf08691eb0067;1"
data "Description" "h202dc139g4871g4a2ega932g075704cbbcbc;1"
data "Icon" "PassiveFeature_CRE_BrainDamage_CON"
data "Properties" "Highlighted"
data "Boosts" "Ability(Constitution, -2)"

new entry "CRE_GithInfirmary_Awakened"
type "PassiveData"
data "DisplayName" "h17566e31g76ddg41d8gafe5gb617ae1c8677;1"
data "Description" "h02c55962g989ag4901ga98cg8fcf76a9a120;1"
data "Icon" "PassiveFeature_CRE_GithInfirmary_Awakened"
data "Properties" "Highlighted"
data "Boosts" "UnlockSpellVariant(IsTadpolePower(),ModifyUseCosts(Replace,BonusActionPoint,1,0,ActionPoint))"

new entry "CRE_BreweryKobolds_FireWineBelly"
type "PassiveData"
data "DisplayName" "hb27ff693ge94fg47ccgbffdg179d8ae10604;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasHPLessThan(1) and IsDamageTypeFire()"
data "StatsFunctors" "ApplyStatus(CRE_BREWERYKOBOLDS_FIREWINEBELLY_TECHNICAL, 100, 1)"

new entry "SHA_FleshGolem_Berserk"
type "PassiveData"
data "DisplayName" "h23db60b7gdfa1g4ddcg974ag7559bf3caf4a;3"
data "Description" "hc1da2430g3440g4522g9c8bg9aac5fd13750;5"
data "Icon" "Action_Barbarian_Frenzy"
data "Properties" "Highlighted"
data "Boosts" "UnlockInterrupt(Interrupt_Berserk_FleshGolem)"
data "StatsFunctorContext" "OnHealed"
data "Conditions" "HasMaxHPWithoutTemporaryHP()"
data "StatsFunctors" "RemoveStatus(SHA_NECROMANCER_FLESH_BERSERK)"

new entry "SHA_Skeleton_NecroticStrike"
type "PassiveData"
data "DisplayName" "h4f6cfc9dg31bcg4369g81eeg11a9f7ad8042;1"
data "Description" "hc9247122ga5dag421egad74ga81fd71bc16d;1"
data "DescriptionParams" "DealDamage(2d8,Necrotic)"
data "Icon" "GenericIcon_DamageType_Necrotic"
data "Properties" "Highlighted"
data "Boosts" "CharacterWeaponDamage(2d8,Necrotic)"

new entry "COL_Restore_Drain"
type "PassiveData"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnCast"
data "StatsFunctors" "IF(StatusGroupDurationEqual(context.Source,'COL_RESTORE_DRAIN',1)):TriggerRandomCast(20,,COL_RestoreDrain);IF(StatusGroupDurationEqual(context.Source,'COL_RESTORE_DRAIN',2)):TriggerRandomCast(14,,COL_RestoreDrain);IF(StatusGroupDurationEqual(context.Source,'COL_RESTORE_DRAIN',3)):TriggerRandomCast(7,,COL_RestoreDrain);IF(StatusDurationEqualOrMoreThan(context.Source,'COL_RESTORE_DRAIN',4)):TriggerRandomCast(1,,COL_RestoreDrain)"

new entry "ORI_Karlach_FirstUpgrade"
type "PassiveData"
data "DisplayName" "h270ac0eag1ceeg47cbg900bgeb68f56a1ac2;3"
data "Description" "h427c7913g191eg4ecdgaf88g88f9bd96b660;3"
data "Icon" "PassiveFeature_KarlachUpgrade_1"
data "Properties" "Highlighted"
data "Boosts" "Tag(CHARMED_ADV)"

new entry "ORI_Karlach_SecondUpgrade"
type "PassiveData"
data "DisplayName" "ha0b85c28gf986g4a6fg93deg50e7e64af185;2"
data "Description" "h604c1e17g45fdg4295gb047gac984a96b013;2"
data "Icon" "PassiveFeature_KarlachUpgrade_2"
data "Properties" "Highlighted"
data "Boosts" "StatusImmunity(SG_Charmed)"

new entry "Karlach_Infernal_Fury"
type "PassiveData"
data "DisplayName" "habba730bge8fbg4c91g83edg592d8179f5dc;1"
data "Properties" "IsHidden"
data "Boosts" "IF(HasStatus('SG_Rage', context.Source)):CharacterWeaponDamage(2d4,Fire);IF(HasStatus('SG_Rage', context.Source)):CharacterUnarmedDamage(2d4, Fire);IF(HasHPPercentageLessThan(25,context.Source)):CharacterWeaponDamage(2d4,Fire);IF(HasHPPercentageLessThan(25,context.Source)):CharacterUnarmedDamage(2d4, Fire)"

new entry "LOW_LiaraPortyr_Brave"
type "PassiveData"
data "DisplayName" "hed142eb2g5826g4680gb821gf53439d58e61;3"
data "Description" "hc4dae3a4g3ab5g418dga919g5ac8efaba479;3"
data "Icon" "GenericIcon_Intent_Buff"
data "Boosts" "Tag(FRIGHTENED_ADV)"

new entry "LOW_GithProdigy_ReactiveDisplacement"
type "PassiveData"
data "DisplayName" "hb5106d29g47d0g400dg9fedgcfeef0cbfd9b;1"
data "Description" "h9b8b9da9g7e93g4a00g829bg19464acd1b51;3"
data "Icon" "PassiveFeature_Generic_Ethereal"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasActionResource('ReactionActionPoint',1,0, false)"
data "StatsFunctors" "ApplyStatus(LOW_GITHYANKIPRODIGY_REACTIVEDISPLACEMENT,100,1);UseActionResource(ReactionActionPoint,1)"

new entry "LOW_GithProdigy_PsionicSkin"
type "PassiveData"
data "DisplayName" "h224fd274g1d55g4245gbf67g72c5fc6dd56d;1"
data "Description" "hafea818ag04aeg4355g85afg037b803b5ace;1"
data "Icon" "PassiveFeature_Generic_Ethereal"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnTurn"
data "StatsFunctors" "RemoveStatus(SG_Condition)"

new entry "LOW_GithProdigy_MentalImage_CullingStrikes"
type "PassiveData"
data "DisplayName" "h6b982312gdb37g4affgb9cag04135903c9bb;1"
data "Description" "h7e620215g317ag4321g9d7fgf6dad3b82582;1"
data "Icon" "GenericIcon_DamageType_Psychic"
data "Properties" "Highlighted"

new entry "LOW_Potion_Master"
type "PassiveData"
data "DisplayName" "h7d2373d6ge1d5g4769g83e6gd632cd0eff29;2"
data "Description" "h64a57b75gaa24g48d3ga9b3g9241bc035c0c;1"
data "Icon" "statIcons_GlowingFlask"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "SpellId('Target_OffhandAttack')"
data "StatsFunctors" "ApplyStatus(SELF,LOW_DOLOR_BONUS,100,1)"

new entry "LOW_SerialKiller_Dolor_Ambush"
type "PassiveData"
using "Assassinate_Ambush"
data "DisplayName" "heeb194b8g0519g4984g86a5g39b379e9340d;1"
data "Description" "h3b8f065cgcfdbg447cgb0bfgd668639e2d65;1"
data "Boosts" "IF(HasStatus('DOPPELGANGER_OFFBALANCE')):CriticalDamageOnHit()"

new entry "LOW_AncientLair_Curse"
type "PassiveData"
data "DisplayName" "hf17f1999gaec7g4077ga8ffgdd2d0623d3b3;2"
data "Description" "hc83d48abgbfacg48bbg8581g626e1898cbd6;2"
data "DescriptionParams" "DealDamage(3d6,Necrotic)"
data "Icon" "GenericIcon_Intent_Damage"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnCast"
data "StatsFunctors" "IF(SpellPowerLevelEqualTo(1)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL1,100,1);IF(SpellPowerLevelEqualTo(2)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL2,100,1);IF(SpellPowerLevelEqualTo(3)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL3,100,1);IF(SpellPowerLevelEqualTo(4)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL4,100,1);IF(SpellPowerLevelEqualTo(5)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL5,100,1);IF(SpellPowerLevelEqualTo(6)):ApplyStatus(LOW_ANCIENTLAIR_CURSE_DAMAGE_SPELLLEVEL6,100,1)"

new entry "LOW_Cazador_SpawnBuff_001_Passive"
type "PassiveData"
data "DisplayName" "h5524647ag3553g4f92ga91eg55c04b890617;1"
data "Description" "h00999797ga69dg4a60g831egb665aac1bfe0;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('LOW_CAZADORSPALACE_SPAWNBUFF_001')"
data "StatsFunctors" "ApplyStatus(LOW_CAZADORSPALACE_SPAWNBUFF_001_MIRROR_IMAGE_3,100,1); ApplyStatus(LOW_CAZADORSPALACE_SPAWNBUFF_001_MIRROR_IMAGE_2,100,1); ApplyStatus(LOW_CAZADORSPALACE_SPAWNBUFF_001_MIRROR_IMAGE_1,100,1)"

new entry "LOW_Cazador_SpawnBuff_002_Passive"
type "PassiveData"
data "Properties" "IsHidden"
data "BoostContext" "OnObscurityChanged"
data "BoostConditions" "not HasObscuredState(ObscuredState.Clear)"
data "Boosts" "Advantage(SavingThrow,Strength);Advantage(SavingThrow,Constitution);Advantage(SavingThrow,Dexterity);Advantage(SavingThrow,Intelligence);Advantage(SavingThrow,Wisdom);Advantage(SavingThrow,Charisma);"

new entry "LOW_Cazador_SpawnBuff_004_Passive"
type "PassiveData"
data "Properties" "IsHidden"
data "Boosts" "StatusImmunity(TURNED)"

new entry "LOW_Cazador_SpawnBuff_Astarion_Passive"
type "PassiveData"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnSurfaceEnter"
data "Conditions" "InSurface('SurfaceBlood',context.Source)"
data "StatsFunctors" "RegainHitPoints(3d4);GROUND:CreateSurface(1,-1,None)"

new entry "LOW_GithProdigy_UnnaturalGrowth"
type "PassiveData"
data "DisplayName" "h83cc3cd4gc344g4a08gbdfeg1d5f4493538c;1"
data "Description" "hec16e5d8gb583g4194gbaccg0ee450c6b113;2"
data "Icon" "GenericIcon_Intent_Buff"
data "Properties" "Highlighted"
data "Boosts" "ActionResource(ActionPoint,1,0)"

new entry "LOW_Guildhall_ExtraAttack_DaggerSpecialist"
type "PassiveData"
using "ExtraAttack_2"
data "DisplayName" "h42e33e03gdf25g4880g9124g4c6436ac08ee;1"
data "Description" "he6318b33g4099g4e5bga4edgb5bae8f93289;1"
data "StatsFunctorContext" "OnAttack;OnCast"
data "Conditions" "SpellId('Throw_LOW_NineFingers_SneakyDagger')"
data "StatsFunctors" "ApplyStatus(SELF,LOW_GUILDHALL_DAGGER_SPECIALIST_2,100,1)"

new entry "LOW_Guildhall_IsolatedPrey"
type "PassiveData"
data "DisplayName" "hced8911bg4789g4746gb3b2g463a6e425b51;1"
data "Description" "h3a95102egc270g40a3g9000g7a5bcfa328ca;1"
data "Properties" "Highlighted"
data "Boosts" "IF(not HasAllyWithinRange('SG_Incapacitated',1.5)):Advantage(AttackRoll)"

new entry "LOW_Guildhall_DaggerThrower"
type "PassiveData"
data "DisplayName" "h9462e1f4gd33ag4995gaaebg1301369b79e5;1"
data "Description" "hb35dadaegd24eg41dcgafdbg06f3fbd7a998;2"
data "TooltipConditionalDamage" "DealDamage(8, Piercing)"
data "Properties" "Highlighted"
data "Boosts" "EntityThrowDamage(8)"

new entry "LOW_Guildhall_SneakyRiposte"
type "PassiveData"
data "DisplayName" "h785a388eg439ag46a2gbd5cg2636d354dd72;1"
data "Description" "ha64818dega90fg4629g8ba2gfc808b0f8179;2"
data "TooltipUseCosts" "ReactionActionPoint:1"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMeleeAttack() and IsMiss() and HasActionResource('ReactionActionPoint',1,0, false) and not (not Player() and Tagged('AI_IGNORED_TARGET',context.Source)) and not HasStatus('INVISIBILITY') and HasLastAttackTriggered()"
data "StatsFunctors" "IF((TargetHasAdvantage() or HasAllyWithinRange('SG_Incapacitated',1.5,nil,nil,context.Source,context.Target)) and not TargetHasDisadvantage()):UseSpell(SWAP,Target_SneakAttack,true,true,true); IF( not ((TargetHasAdvantage() or HasAllyWithinRange('SG_Incapacitated',1.5,nil,nil,context.Source,context.Target)) and not TargetHasDisadvantage())):UseSpell(SWAP,Target_Riposte,true,true,true); UseActionResource(ReactionActionPoint,1)"

new entry "LOW_Guildhall_AdaptableSneakAttacks"
type "PassiveData"
data "DisplayName" "hf5a9f9ccgaf81g4dc2gaec3g63ef2a42c768;1"
data "Description" "ha8defcdbg72abg4f83g941bgb85bfc019439;2"
data "Properties" "Highlighted"

new entry "LOW_BlushingMermaid_Redcap_Alcohol"
type "PassiveData"
data "DisplayName" "h1a4ff0f5g7060g45fbgb80ag074508916e0e;1"
data "Description" "hecbe9f1cgae80g4c8eg8c46g5d2c8c5d6d8a;1"
data "Icon" "Status_Drunk"
data "Properties" "Highlighted"

new entry "LOW_BlushingMermaid_Redcap_Buff"
type "PassiveData"
data "DisplayName" "hefe44243g9e90g4dadg9c98gc16f75411268;2"
data "Description" "h960fdf9fgd518g4ec4gae6dg04da0036b985;7"
data "DescriptionParams" "DealDamage(2d12, Slashing)"
data "Icon" "PassiveFeature_Generic_Blood"
data "Properties" "Highlighted"
data "Boosts" "Ability(Constitution,2); Ability(Strength,2)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "DealDamage(2d12, Slashing)"

new entry "LOW_HagSurvivors_Bloodlust"
type "PassiveData"
data "DisplayName" "h65bc6b23gf2e5g4f4bg89feg6863f104ff43;2"
data "Description" "hf793db91g7f6eg455eg92f7g3292ccf6c0c5;2"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusRemoved"
data "Conditions" "not Dead() and not HasStatus('LOW_HAGSPY_DISGUISE') and not HasStatus('LOW_REDCAP_BLOODLUST')"
data "StatsFunctors" "ApplyStatus(LOW_REDCAP_BLOODLUST, 100, 5);ApplyStatus(LOW_HAGSPY_RECAP_PASSIVES,100,-1)"

new entry "LOW_Hag_Mushroom_ReactiveFungus"
type "PassiveData"
data "DisplayName" "h7452e43ag3104g41d8gbc3bg4694b5aebaff;2"
data "Description" "h8f291e13g07f5g45ddg8cd6g8d7ab7822bcf;1"
data "Icon" "PassiveFeature_Generic_Nature"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "not HasStatus('BURNING') and not HasStatus('SEARING_SMITE')"
data "StatsFunctors" "GROUND:CreateSurface(3,2,SporePinkCloud)"

new entry "LOW_Hag_Mushroom_VFX"
type "PassiveData"
data "DisplayName" "h9a8ceee5g37ecg4dc9g84b9g2e86f371b316;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "(HasStatus('BURNING') or HasStatus('SEARING_SMITE') or HasStatus('CHILL_TOUCH')) and HasStatus('LOW_HAG_MUSHROOM_VFX')"
data "StatsFunctors" "RemoveStatus(LOW_HAG_MUSHROOM_VFX)"

new entry "LOW_OskarsBeloved_HarrowingPresence"
type "PassiveData"
data "DisplayName" "he366091fg7a7eg4e1dg9062g85da36b2858d;2"
data "Description" "h00e97998gf067g44dcgaf55g7d2f08d344b6;4"
data "DescriptionParams" "Distance(10)"
data "Properties" "Highlighted"

new entry "LOW_OskarsBeloved_Poltergeists_Invisible"
type "PassiveData"
data "DisplayName" "hac2d8c2cg0c6ag42e5gbf73g82259b1f1ed9;2"
data "Description" "h09af3cfdg0c3cg4c87g89b7ga31d14006f18;1"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnStatusRemove;OnTurn"
data "Conditions" "not HasStatus('WET') and not HasStatus('FAERIE_FIRE') and not HasStatus('BRANDING_SMITE') and not HasStatus('SEE_INVISIBILITY_REVEAL') and not HasStatus('LOW_POLTERGEIST_INVISIBLE')"
data "StatsFunctors" "ApplyStatus(LOW_POLTERGEIST_INVISIBLE, 100, -1)"

new entry "LOW_OskarsBeloved_Poltergeists_See_Invisibility"
type "PassiveData"
data "DisplayName" "h6c07de43g66d1g4effg8555g5f084bb28865;2"
data "Description" "h4295a427g2e9fg47dbga1aaga80b8234c768;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "HasStatus('SEE_INVISIBILITY_REVEAL')"
data "StatsFunctors" "RemoveStatus(LOW_POLTERGEIST_INVISIBLE)"

new entry "LOW_OskarsBeloved_Poltergeists_LimitThrow"
type "PassiveData"
data "DisplayName" "h44d17574g8c02g4fe8g8a57ge0cba8a6d178;1"
data "Description" "h8f6a2bbfg4325g4b5ag8c35g74e4e4290dd7;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnTurn"
data "Conditions" "not HasStatus('LOW_POLTERGEIST_THROW_COMBAT')"
data "StatsFunctors" "ApplyStatus(LOW_POLTERGEIST_THROW_COMBAT, 100, 1)"

new entry "LOW_OskarsBeloved_Poltergeists_Fall"
type "PassiveData"
data "DisplayName" "h12a39ed4gf7f4g4a2bg9caag1b4865c70e74;1"
data "Description" "h5815807ag0e32g4f80gb533gb78b26be3033;1"

new entry "LOW_ZombieBeggars_LumbarResistance"
type "PassiveData"
data "Properties" "IsHidden"

new entry "LOW_DevilsFee_Bounty"
type "PassiveData"
data "DisplayName" "h7573e330gc1a1g49afgb508g554481bd5779;2"
data "Description" "hf862a44dg3e8bg49a5gb3ffg3969a11988c7;5"
data "Properties" "Highlighted"

new entry "LOW_DevilsFee_Gold"
type "PassiveData"
data "DisplayName" "h7aaa48e8g4437g4004g87b0g70f55ad07f6d;2"
data "Description" "h4c8b81b1gdc6eg4f11g88afgbe7b0ee9852f;4"
data "DescriptionParams" "20;15;RegainHitPoints(66)"
data "Properties" "Highlighted"
data "Boosts" "IncreaseMaxHP(66)"

new entry "LOW_DevilsFee_ImpSpell"
type "PassiveData"
data "DisplayName" "hcd8b796ag11b4g4d98gb736g98a2e0afae35;2"
data "Description" "he2bc0452g944cg4438gabcbge36f33e3301c;2"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusRemoved"
data "Conditions" "not Dead() and not HasStatus('LOW_DEVILSFEE_BUFF') and not HasStatus('LOW_DEVILSFEE_SPELL')"
data "StatsFunctors" "ApplyStatus(LOW_DEVILSFEE_SPELL, 100, -1)"

new entry "LOW_RamazithsTower_ElementalSiphon"
type "PassiveData"
data "DisplayName" "hf551bd40gc82eg4eb9g8334gc9b9f4d7167c;2"
data "Description" "h5d443461g82f1g4047gb0c2gbb2afc56b4db;6"
data "DescriptionParams" "Distance(30)"
data "Properties" "Highlighted"
data "BoostConditions" "not Dead()"
data "Boosts" "Tag(LOW_RAMAZITHSTOWER_LORROAKAN_TECHNICAL)"

new entry "LOW_RamazithsTower_ElementalRebuke"
type "PassiveData"
data "DisplayName" "h319f451eg14eeg40cdg9883ge0fa9b2dc6f3;3"
data "Description" "hbc301d36gf3a1g4969g8c10ge60a183ea422;7"
data "DescriptionParams" "Distance(18);3d8"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "Enemy() and HasDamageEffectFlag(DamageFlags.Hit) and not SpellId('Target_VowOfEnmity') and not SpellId('Target_HuntersMark') and not SpellId('Target_HuntersMark_Reapply') and HasLastAttackTriggered() and not SpellId('Target_CuttingWords')"
data "StatsFunctors" "IF(HasStatus('LOW_LORROAKAN_FIRE',context.Target) or HasStatus('LOW_LORROAKAN_EARTH',context.Target) or HasStatus('LOW_LORROAKAN_AIR',context.Target) or HasStatus('LOW_LORROAKAN_WATER',context.Target)):UseSpell(SWAP,Target_LOW_RamazithsTower_Dummy,true,true,true);"

new entry "LOW_GreaseWizard_ElementalAffinity"
type "PassiveData"
using "ElementalAffinity_Damage"
data "StatsFunctorContext" "OnCreate;OnTurn;OnCast"
data "Conditions" "not HasStatus('ELEMENTALAFFINITY_FIRE_EXTRA_DAMAGE_TECHNICAL')"
data "StatsFunctors" "ApplyStatus(ELEMENTALAFFINITY_FIRE_EXTRA_DAMAGE_TECHNICAL,100,-1)"

new entry "LOW_Rolan_SignatureSpells"
type "PassiveData"
data "DisplayName" "h34c61031g1a7bg42a1gadb6g229c83598ae7;2"
data "Properties" "IsHidden"
data "Boosts" "UnlockSpell(Target_LOW_Rolan_MageArmor,,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,);UnlockSpell(Projectile_LOW_Rolan_MagicMissile,,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,);UnlockSpell(Zone_LOW_Rolan_Thunderwave,,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,);UnlockSpell(Zone_LOW_Rolan_ColorSpray,,d136c5d9-0ff0-43da-acce-a74a07f8d6bf,,)"

new entry "LOW_Chasm_Mangle_Pushback"
type "PassiveData"
using "RepellingBlast"
data "DisplayName" "h6e76f0a7g15acg4acbgae6cge1394efb78da;2"
data "Description" "hd7b359d5gbc1eg495agac77gbe3da23afdca;1"
data "DescriptionParams" "Distance(4.5)"
data "Properties" ""
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsWeaponAttack() and HasDamageEffectFlag(DamageFlags.Hit)"
data "StatsFunctors" "Force(4.5);"

new entry "LOW_Houndmaster_CompanionsBond"
type "PassiveData"
using "CompanionsBond"
data "DisplayName" "h29edf4b1g28deg4179g815ag91226bae5237;1"
data "Description" "h0542898cgff95g4183gb1f5gfde6a3341349;2"

new entry "LOW_Houndmaster_CompanionsBond_Creature"
type "PassiveData"
using "CompanionsBond_Creature"
data "DisplayName" "hef427e1bg2e89g4685ga57dgdeeaa3deb08a;1"
data "Description" "hb05bb9bbg5c1fg4958g9cbcg616f45718b17;1"

new entry "LOW_RaphaelImp_RepellingBlast"
type "PassiveData"
using "RepellingBlast"
data "DescriptionParams" "Distance(1)"
data "Conditions" "SpellId('Projectile_LOW_RaphaelImp_EldritchBlast') and HasDamageEffectFlag(DamageFlags.Hit)"
data "StatsFunctors" "Force(1);ApplyStatus(PASSIVE_REPELLING_BLAST,100,0)"

new entry "LOW_RaphaelImp_RepellingBlast_Hardcore"
type "PassiveData"
using "LOW_RaphaelImp_RepellingBlast"
data "DescriptionParams" "Distance(4.5)"
data "StatsFunctors" "Force(4.5);ApplyStatus(PASSIVE_REPELLING_BLAST,100,0)"

new entry "LOW_RaphaelImp_AgonizingBlast"
type "PassiveData"
using "AgonizingBlast"
data "Boosts" "IF(SpellId('Projectile_LOW_RaphaelImp_EldritchBlast')):DamageBonus(CharismaModifier,Force)"
data "Conditions" "SpellId('Projectile_LOW_RaphaelImp_EldritchBlast') and HasDamageEffectFlag(DamageFlags.Hit)"

new entry "LOW_EternalDebtors_Explosion"
type "PassiveData"
data "DisplayName" "hc76f0ac6ge131g4c5aga2bfg7fc2fd7d70d8;2"
data "Description" "h62248eb7gfb35g441eg90c2g504d95102fe3;3"
data "Icon" "PassiveFeature_Generic_Explosion"
data "Properties" "Highlighted"

new entry "LOW_Raphael_RepelDivinity"
type "PassiveData"
using "Thought_Shield_Psychic_Reflection"
data "DisplayName" "h6f76e0cdg42a0g413dg8359g078ad266347c;4"
data "Description" "h13ce33c9ge111g47b5g84f5g89e4d43a7e40;10"
data "DescriptionParams" ""
data "Properties" "None"
data "Boosts" ""
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsDamageTypeRadiant() and HasLastAttackTriggered()"
data "StatsFunctors" "IF(not IsConcentrating(context.Target)):UseSpell(SWAP,Target_LOW_Raphael_RepelDivinity_Spell,true,true,true);IF(not IsConcentrating(context.Target)):RemoveStatus(LOW_RAPHAEL_REPELLING_DIVINITY)"

new entry "LOW_Raphael_Reaper"
type "PassiveData"
data "DisplayName" "h02eadcd1g2eadg4b6dgb68cg66989db440c6;2"
data "Description" "h59fed6acg4dd9g485fga0e6ge458b8b59542;3"
data "DescriptionParams" "0"
data "Icon" "statIcons_WildMagic_Memphit"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsKillingBlow() and not HasStatus('LOW_RAPHAEL_SOULLESS') and Enemy()"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOULLESS,100,-1);RestoreResource(SELF,SpellSlot,1,1);"

new entry "LOW_Raphael_Cambions_ExtraDamage"
type "PassiveData"
data "DisplayName" "h2e6a80fagbd7eg4049g86cdg6035ad96c660;3"
data "Description" "h5fcfee87gdb26g4990gb67dg02f05d426143;3"
data "DescriptionParams" "Distance(18);DealDamage(4d6, Piercing)"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "DealDamage(4d6, Piercing)"

new entry "LOW_Raphael_Pillar_Empowered"
type "PassiveData"
data "DisplayName" "h61a5f73bga31dg431bga972g94aa7de6a178;2"
data "Description" "hb681e5b2g052cg42begaad9gabfa74ab3267;2"
data "DescriptionParams" "DealDamage(2d12, Fire);3"
data "Icon" "PassiveFeature_Generic_Info"
data "Properties" "Highlighted"

new entry "LOW_Raphael_SoulSiphon_Passive"
type "PassiveData"
data "DisplayName" "hee8c0fa0g53a9g4696gb5c1ge059fc1b0651;1"
data "Description" "h89c112a3g618eg43b6g8024g6615e568b15a;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnCast"
data "Conditions" "HasActionResource('SpellSlot', 1,1, false, false, context.Source) and not HasActionResource('SpellSlot', 2,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_1, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_2"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 2,1, false, false, context.Source) and not HasActionResource('SpellSlot', 3,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_2, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_3"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 3,1, false, false, context.Source) and not HasActionResource('SpellSlot', 4,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_3, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_4"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 4,1, false, false, context.Source) and not HasActionResource('SpellSlot', 5,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_4, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_5"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 5,1, false, false, context.Source) and not HasActionResource('SpellSlot', 6,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_5, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_6"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 6,1, false, false, context.Source) and not HasActionResource('SpellSlot', 7,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_6, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_7"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 7,1, false, false, context.Source) and not HasActionResource('SpellSlot', 8,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_7, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_8"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 8,1, false, false, context.Source) and not HasActionResource('SpellSlot', 9,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_8, 100, -1);"

new entry "LOW_Raphael_SoulSiphon_Passive_9"
type "PassiveData"
using "LOW_Raphael_SoulSiphon_Passive"
data "Conditions" "HasActionResource('SpellSlot', 9,1, false, false, context.Source)"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_SOUL_9, 100, -1);"

new entry "LOW_Raphael_Multiattack_Passive"
type "PassiveData"
using "Multiattack_Drider"
data "DisplayName" "hadc4882cgdfb1g4604ga839gb244d407056c;1"
data "Description" "h024734b1gab85g408ag9fecgba4a85d8bd8c;2"

new entry "LOW_HouseOfHope_RaphaelsBlessing"
type "PassiveData"
data "DisplayName" "h53725d65g1a90g4366g8e31g4e4a8bd479a6;1"
data "Description" "h120fb0adgd503g4910g9333gf8827efd41ef;1"
data "Properties" "IsHidden"
data "Boosts" "RedirectDamage(2,Fire,Radiant,true)"
data "StatsFunctorContext" ""
data "Conditions" ""
data "StatsFunctors" ""

new entry "LOW_Raphael_Set_Pillar_Status"
type "PassiveData"
data "DisplayName" "h1a7898b2g0179g42fdg9555g362f769816eb;1"
data "Description" "h96549c7agbe77g426bg946agdeab3c3aa7af;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttacked;OnTurn;OnCreate"
data "Conditions" "HasStatus('LOW_RAPHAEL_PILLARCOUNTER_1') and HasStatus('LOW_RAPHAEL_PILLARCOUNTER_2') and HasStatus('LOW_RAPHAEL_PILLARCOUNTER_3') and HasStatus('LOW_RAPHAEL_PILLARCOUNTER_4') and not HasStatus('LOW_RAPHAEL_PILLAR_STATUS_VISUAL_4')"
data "StatsFunctors" "ApplyStatus(LOW_RAPHAEL_PILLAR_STATUS_VISUAL_4, 100, -1);"

new entry "LOW_Raphael_Reset"
type "PassiveData"
data "DisplayName" "h3ff48968g2e64g438eg9864ga1c9539186be;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttacked"

new entry "LOW_HouseOfHope_Weapon"
type "PassiveData"
data "DisplayName" "hd34bc50fgee52g47b1gaf2bgaaf97d3a678d;3"
data "Description" "h094e8798gbe22g4b11ga611gf1b905a0950b;1"
data "DescriptionParams" "DealDamage(2d4, Fire)"
data "Icon" "GenericIcon_DamageType_Fire"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnTurn"
data "StatsFunctors" "ApplyEquipmentStatus(SELF,MainHand,LOW_RAPHAEL_CAMBION_DIPPED,100,0)"

new entry "LOW_HouseOfHope_Merregon_Fire"
type "PassiveData"
data "DisplayName" "he90bbe5dg7be4g4955gad26g34f6d3da6ae1;1"
data "Description" "h81ef7665gf51ag4e71g96efgde48cec79085;1"
data "Icon" "GenericIcon_DamageType_Fire"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "ApplyStatus(LOW_HOUSEOFHOPE_FIRE, 100, 3);"

new entry "LOW_HouseOfHope_EternalDebtor_Imp"
type "PassiveData"
using "LOW_EternalDebtors_Explosion"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasHPPercentageEqualOrLessThan(0) and not Dead() and HasStatus('LOW_HOH_DEBTOR_IMP')"
data "StatsFunctors" "RemoveStatus(LOW_HOH_DEBTOR_IMP);GROUND:CreateExplosion(Projectile_LOW_HouseOfHope_DebtorExplode_Imp);"

new entry "LOW_HouseOfHope_EternalDebtor_Boar"
type "PassiveData"
using "LOW_HouseOfHope_EternalDebtor_Imp"
data "Properties" "IsHidden"
data "Conditions" "HasHPPercentageEqualOrLessThan(0) and not Dead() and HasStatus('LOW_HOH_DEBTOR_BOAR')"
data "StatsFunctors" "RemoveStatus(LOW_HOH_DEBTOR_BOAR);GROUND:CreateExplosion(Projectile_LOW_HouseOfHope_DebtorExplode_Boar);"

new entry "LOW_HouseOfHope_EternalDebtor_Merregon"
type "PassiveData"
using "LOW_HouseOfHope_EternalDebtor_Imp"
data "Properties" "IsHidden"
data "Conditions" "HasHPPercentageEqualOrLessThan(0) and not Dead() and HasStatus('LOW_HOH_DEBTOR_MERREGON')"
data "StatsFunctors" "RemoveStatus(LOW_HOH_DEBTOR_MERREGON);GROUND:CreateExplosion(Projectile_LOW_HouseOfHope_DebtorExplode_Merregon);"

new entry "LOW_HouseOfGrief_SharsFavour_Technical"
type "PassiveData"
data "DisplayName" "h3f913f70gac42g4a61g9cd2g2a8e4cb8ed29;1"
data "Description" "h2762f9a3g7c82g4e19ga5b2gf62e8d532391;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnCast"
data "Conditions" "(SpellId('Shout_CharmAnimalsAndPlants')) or (SpellId('Shout_PreserveLife')) or (SpellId('Shout_RadianceOfTheDawn')) or (SpellId('Shout_TurnUndead')) or (SpellId('Shout_CloakOfShadows')) or (SpellId('Shout_GuidedStrike')) or (SpellId('Shout_ReadThoughts')) or (SpellId('Shout_KnowledgeOfTheAges')) or (SpellId('Shout_KnowledgeOfTheAges_Charisma')) or (SpellId('Shout_KnowledgeOfTheAges_Intelligence')) or (SpellId('Shout_KnowledgeOfTheAges_Wisdom')) or (SpellId('Shout_KnowledgeOfTheAges_Dexterity')) or (SpellId('Shout_KnowledgeOfTheAges_Strength')) or (SpellId('Target_InvokeDuplicity'))"
data "StatsFunctors" "RegainHitPoints(7d8);"

new entry "LOW_HouseOfGrief_Viconia_Heart_Empowered"
type "PassiveData"
data "DisplayName" "hbcace673gd714g41b5gbfabg64ea5280590d;1"
data "Description" "h6012cac4g9593g46e4g9511g94cf9f43adc9;1"
data "Properties" "IsHidden"
data "BoostContext" "OnDamage"
data "Boosts" "IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_VIOLENT')):CriticalDamageOnHit();IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_CRAVEN')):CriticalDamageOnHit();IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_JEALOUS')):CriticalDamageOnHit();IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_MELANCHOLY')):CriticalDamageOnHit();IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_PRYING')):CriticalDamageOnHit();IF(HasStatus('LOW_HOUSEOFGRIEF_HEART_CURSE_FALSE')):CriticalDamageOnHit();"

new entry "LOW_HouseOfGrief_Cultists_Melee"
type "PassiveData"
data "DisplayName" "h63358542g8107g4dabg8f12g992c94e9cd9b;2"
data "Description" "hcd58f966g9b00g4995g955eg9b3a8c62d0cf;2"
data "DescriptionParams" "DealDamage(5d8, Necrotic)"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack() and not HasObscuredState(ObscuredState.Clear)"
data "StatsFunctors" "DealDamage(5d8, Necrotic,Magical)"

new entry "LOW_HouseOfGrief_Cultists_Sight"
type "PassiveData"
using "DevilsSight"
data "DisplayName" "h4804f24fg917bg4309g9065g123a8ea7fd16;3"
data "Description" "h06302a8cg8cbag4490g8c6agc1dda32da1e2;2"
data "Boosts" "DarkvisionRangeMin(24);ActiveCharacterLight(e278f6a0-26d7-49be-b11a-9b84bc313c3c);StatusImmunity(BLINDED_DARKNESS);StatusImmunity(SG_Blinded);IgnoreSurfaceCover(SurfaceDarknessCloud);IgnoreSurfaceCover(SurfaceFogCloud)"

new entry "LOW_HouseOfGrief_Heart_Cure_Violent"
type "PassiveData"
data "DisplayName" "h0812a2adg04cfg4fe6g9281gff418f2f3572;1"
data "Description" "h625eb6ecg72d2g4980ga8d7gec33a4b5128a;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnHeal"
data "Conditions" "Enemy()"
data "StatsFunctors" "RemoveStatus(SELF,LOW_HOUSEOFGRIEF_HEART_CURSE_VIOLENT);"

new entry "LOW_HouseOfGrief_Heart_Cure_Shadowheart"
type "PassiveData"
using "LOW_HouseOfGrief_Heart_Cure_Violent"
data "DisplayName" "hf349a532g680bg4d16g9d1bg124b9826d3b8;1"
data "Conditions" "Enemy() and HasStatus('LOW_HOUSEOFGRIEF_SH_PRESENCE')"
data "StatsFunctors" "RemoveStatus(SELF,LOW_HOUSEOFGRIEF_HEART_CURSE_SHADOWHEART);"

new entry "LOW_HouseOfGrief_Heart_Cure_Shadowheart_2"
type "PassiveData"
data "DisplayName" "h22a5ee62g30cag4f47gbe47gc74393090b39;1"
data "Description" "hcf9115b8gca0dg46c5gbaf8g36ba5fa8d370;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "Ally()"
data "StatsFunctors" "RemoveStatus(SELF,LOW_HOUSEOFGRIEF_HEART_CURSE_SHADOWHEART);"

new entry "LOW_HouseOfGrief_Heart_Cure_Craven"
type "PassiveData"
data "DisplayName" "h27d28243g6a1fg4a68g9b44gf3a8bee6c139;1"
data "Description" "h93f346cegb94dg474agad2dg361693bb3c6f;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnCast;OnAttack"
data "StatsFunctors" "ApplyStatus(SELF,LOW_HOUSEOFGRIEF_MAINTAIN_CRAVENHEART,100,1)"

new entry "INT_EmperorRevealed_FakeFight"
type "PassiveData"
data "DisplayName" "h16937a87gf241g4d91gb671g27b068bbc752;1"
data "Description" "h625eb6ecg72d2g4980ga8d7gec33a4b5128a;1"
data "Properties" "IsHidden"
data "Boosts" "ActionResourceBlock(SpellSlot,1);ActionResourceBlock(SpellSlot,2);ActionResourceBlock(SpellSlot,3);ActionResourceBlock(SpellSlot,4);ActionResourceBlock(SpellSlot,5);ActionResourceBlock(SpellSlot,6);"

new entry "WYR_PotentDrink_Sunblind_Passive"
type "PassiveData"
data "DisplayName" "he45ed9eagde4ag46deg9b68gdf92e106f58a;1"
data "Description" "hf1cdedf7gd2b8g4dddg9160gbc9056c0ae81;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnObscurityChanged"
data "StatsFunctors" "IF(IsInSunlight(context.Target)):ApplyStatus(WYR_POTENTDRINK_SUNBLIND_BLINDED, 100, -1); IF(not IsInSunlight(context.Target)):RemoveStatus(WYR_POTENTDRINK_SUNBLIND_BLINDED)"

new entry "WYR_PotentDrink_Nauseous_Passive"
type "PassiveData"
data "DisplayName" "hf761b7f3gabb2g430eg9dd8gb50b881b42e7;1"
data "Description" "h83647746g4497g401bg91b6g8c19d5e7c3a1;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMeleeAttack() and Character()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 15, false, false, context.Source)):ApplyStatus(SWAP, STINKING_CLOUD, 100, 1)"

new entry "WYR_PotentDrink_WildParty_Passive"
type "PassiveData"
data "DisplayName" "hdc3b6decg76ddg49b7g8863g55e53eaa80df;1"
data "Description" "ha47322c1gb941g4402g9fb4g83595165cc22;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnEntityAttackedWithinMeleeRange"

new entry "END_ChillTouch_OnAttack"
type "PassiveData"
data "DisplayName" "ha5ac2618gaa2dg46acg8987g520ac2171cd3;1"
data "Description" "h3c81143cg216dg4dd9g9c61g2a4ab522063d;3"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "not IsMiss() and Enemy() and IsMeleeAttack()"
data "StatsFunctors" "ApplyStatus(CHILL_TOUCH, 100, 2);"

new entry "LOW_Sarevok_Essence_Amelyssan"
type "PassiveData"
data "DisplayName" "h4e224d7bg4873g4783g83abg6a037a9f4053;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsMeleeAttack()"
data "StatsFunctors" "RegainHitPoints(SELF,2d12);"

new entry "WYR_MerchantsHouse_ThugsNonLethal_Passive"
type "PassiveData"
using "NonLethal"
data "Properties" "IsHidden"
data "Boosts" "IF(Character() and not Summon() and not IsImmuneToStatus('KNOCKED_OUT')):NonLethal()"

new entry "WYR_Gortash_UnlockManifestation_Armed"
type "PassiveData"
data "DisplayName" "hd65d28b2g3552g45a7g9200g341f64babb22;1"
data "Description" "h2996ca4fgac24g4edfg8965g98cbf5895239;1"
data "Properties" "IsHidden"
data "Boosts" "UnlockSpell(Target_WYR_Summon_Manifestation_Gortash_Armed)"

new entry "LOW_Astarion_VampireAscendant"
type "PassiveData"
data "DisplayName" "h7c8ce380g0d56g4807gb60cg58e283b4ecdb;2"
data "Description" "hf9a3c136gfa53g4170g9eeega20ced9c9111;4"
data "DescriptionParams" "DealDamage(2d10, Necrotic)"
data "Icon" "Action_Monster_Bulette_Bite"
data "Properties" "Highlighted"
data "Boosts" "UnlockSpell(Target_LOW_Astarion_VampireAscendant);UnlockSpell(Shout_LOW_MistyEscape_Astarion);CharacterWeaponDamage(2d10,Necrotic);CharacterUnarmedDamage(2d10,Necrotic)"

new entry "END_Netherbrain_LowHp"
type "PassiveData"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "not Dead() and HasHPPercentageWithoutTemporaryHPLessThan(50) and not HasStatus('END_NETHERBRAIN_LOWHP')"
data "StatsFunctors" "ApplyStatus(END_NETHERBRAIN_LOWHP,100,-1)"

new entry "ORI_Gale_ShadowSpellSlots"
type "PassiveData"
data "DisplayName" "h9b371af3g7302g4365gab8fg66ada7d46050;1"
data "Description" "h7a92f97dg555cg430fgb88ag2322db4c7d3c;1"
data "Boosts" "ActionResource(ShadowSpellSlot,1, 3)"

new entry "LOW_VoloFate_SlayerKnowledge"
type "PassiveData"
data "DisplayName" "hbbab0a4cg3329g469ag97adgdb563d7bcb9b;2"
data "Description" "hfc872f95gff97g4985g8788g76eaf61e3f17;2"
data "Properties" "Highlighted"

new entry "_MAGIC_ITEM_DEV"
type "PassiveData"

new entry "MAG_Frost_Passive"
type "PassiveData"
data "DisplayName" "h01290041g786fg4203g8260g6e4d48f11e36;2"
data "Properties" "IsHidden;OncePerAttack"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "IF(FrostCounterRequirement() and not HasStatus('MAG_FROST_ONCE_TECHNICAL', context.Target)):ApplyStatus(MAG_FROST_FROZEN_CHECK_TECHNICAL,100, 1);IF(FrostCounterRequirement()):ApplyStatus(MAG_FROST_ONCE_TECHNICAL, 100, 0);IF(FrostCounterRequirement(context.Target)):RemoveStatus(MAG_FROST, context.Target)"

new entry "MAG_Frost_GenerateFrostOnDamage_Robe_Passive"
type "PassiveData"
data "DisplayName" "hfc437eb0g9949g4e04g8a9egf90983336a73;2"
data "Description" "h01852c12ge64fg4417g8bf9g958af147621b;2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsSpell() and IsDamageTypeCold()"

new entry "MAG_Frost_GenerateFrostOnStatusApply_Hat_Passive"
type "PassiveData"
data "DisplayName" "hd3a172eag71b1g4fd4ga580gb7b1f89e3b02;2"
data "Description" "hc6bd77c6g7d53g4a59g9909gd9a392df84a7;6"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack;OncePerTurn"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "FrostHatRequirement() and not StatusId('MAG_FROST') and not StatusId('MAG_FROST_DURATION_TECHNICAL') and not Item() and not Self() and Enemy() and not StatusId('MONK_SOUND_SWITCH')"
data "StatsFunctors" "ApplyStatus(MAG_FROST,100,2);ApplyStatus(MAG_FROST_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Frost_GenerateFrostOnDamage_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h893f5dafg68e8g44b9gb3efgaf35986c4be7;2"
data "Description" "h1b26e8f7gb5e7g432cg8257gea01d8fe9714;4"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeCold() and not Item()"
data "StatsFunctors" "ApplyStatus(MAG_FROST,100,2);ApplyStatus(MAG_FROST_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Frost_IceSurfaceProneImmunity_Boots_Passive"
type "PassiveData"
data "DisplayName" "h9ffc99bag4219g4672g8ef8gb0c45cd7b468;2"
data "Description" "h77fcc0feg39a0g49d3g92f8g9d7b3fa0d0ea;3"

new entry "MAG_Myrkulites_CircletOfMyrkul_Circlet_Passive"
type "PassiveData"
data "DisplayName" "h2cb93010gdebag4ec6ga0a9gac82425ce967;3"
data "Description" "hdcb9ffacg675cg4148g957bgb7cfc1b8d958;2"
data "DescriptionParams" "Distance(6)"

new entry "MAG_Frost_GenerateSurfaceOnColdDamage_Ring_Passive"
type "PassiveData"
data "DisplayName" "h371d5793g323cg4360g8187g340c41579d65;2"
data "Description" "h27c72260g37e1g4c90gbc11g7d47e10f87b4;3"
data "DescriptionParams" "Distance(4.5)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeCold()"
data "StatsFunctors" "GROUND:SurfaceChange(Freeze);GROUND:CreateSurface(2,2,WaterFrozen)"

new entry "MAG_ElementalGish_ElementalInfusion_Ring_Passive"
type "PassiveData"
data "DisplayName" "h7b7b9730g59f5g45caga971gfee565e95829;3"
data "Description" "h83112ce8g445eg47fcga947ga4b669012fee;4"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "IF(IsSpell() and IsDamageTypeAcid()):ApplyStatus(SELF,MAG_SPELLBLADE_ACID_ENERGY, 100, 2);IF(IsSpell() and IsDamageTypeCold()):ApplyStatus(SELF,MAG_SPELLBLADE_COLD_ENERGY, 100, 2);IF(IsSpell() and IsDamageTypeFire()):ApplyStatus(SELF,MAG_SPELLBLADE_FIRE_ENERGY, 100, 2);IF(IsSpell() and IsDamageTypeLightning()):ApplyStatus(SELF,MAG_SPELLBLADE_LIGHTNING_ENERGY, 100, 2);IF(IsSpell() and IsDamageTypeThunder()):ApplyStatus(SELF,MAG_SPELLBLADE_THUNDER_ENERGY, 100, 2);"

new entry "MAG_ElementalGish_MomentumOnElementalDamage_Boots_Passive"
type "PassiveData"
data "DisplayName" "h46674db7g5b8ag4bddga9b3gf9c837144fc6;3"
data "Description" "h81ea88e6gef57g4a69g8d0cg1af089f7826b;6"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsSpell() and IsEnergyDamage()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_MOMENTUM, 100, 2);ApplyStatus(SELF, MAG_MOMENTUM_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_ElementalGish_ArcaneAcuity_Helmet_Passive"
type "PassiveData"
data "DisplayName" "he07ba98dgc5f3g479cg831fg55efe9aa49eb;3"
data "Description" "h774d5e0cg0211g4875ga83bgf14cba6b2bbb;4"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "ApplyStatus(SELF,MAG_GISH_ARCANE_ACUITY, 100, 2);ApplyStatus(MAG_GISH_ARCANE_ACUITY_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_ElementalGish_BaneOnElementalWeaponDamage_Gloves_Passive"
type "PassiveData"
data "DisplayName" "heb27a92bgec82g4085ga9a6gfa5752851e62;2"
data "Description" "hebaac134g72cdg42e0g87c4gcf560201edf4;4"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "ApplyStatus(MAG_SPELLBLADE_SAVING_THROWS_PENALTY, 100, 2)"

new entry "MAG_ElementalGish_CantripBooster_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hc4ad4d92gba57g4cecgbb82g5b31a68306e9;2"
data "Description" "h8325974bg580bg4efdgb968g23048f4c24aa;10"
data "DescriptionParams" "DealDamage(SpellcastingAbilityModifier, Bludgeoning)"
data "BoostContext" "OnCreate"
data "Boosts" "IF(IsCantrip() and (SpellDamageTypeIs(DamageType.Fire) or SpellDamageTypeIs(DamageType.Cold) or SpellDamageTypeIs(DamageType.Thunder) or SpellDamageTypeIs(DamageType.Acid) or SpellDamageTypeIs(DamageType.Lightning))):DamageBonus(max(1,SpellCastingAbilityModifier))"

new entry "Absorb_Elements_Passive"
type "PassiveData"
data "DisplayName" "h867c957ag5de7g4ae9gbaf3g443e3cfffd6e;2"
data "Description" "h2de0dccag2991g4e2fg8c14g852929b0d62e;4"
data "DescriptionParams" "1d6"
data "Icon" "PassiveFeature_AbsorbElements"
data "Boosts" "UnlockInterrupt(Interrupt_AbsorbElements)"

new entry "Absorb_Elements_Technical_Passive"
type "PassiveData"
using "Absorb_Elements_Passive"
data "Icon" ""
data "Properties" "IsHidden"
data "Boosts" ""
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasStatus('ABSORB_ELEMENTS_ACTIVE')"
data "StatsFunctors" "IF(IsDamageTypeAcid()):ApplyStatus(ABSORB_ELEMENTS_ACID_DAMAGE, 100, 2);IF(IsDamageTypeCold()):ApplyStatus(ABSORB_ELEMENTS_COLD_DAMAGE, 100, 2);IF(IsDamageTypeFire()):ApplyStatus(ABSORB_ELEMENTS_FIRE_DAMAGE, 100, 2);IF(IsDamageTypeLightning()):ApplyStatus(ABSORB_ELEMENTS_LIGHTNING_DAMAGE, 100, 2);IF(IsDamageTypeThunder()):ApplyStatus(ABSORB_ELEMENTS_THUNDER_DAMAGE, 100, 2);IF(IsDamageTypeAcid() or IsDamageTypeCold() or IsDamageTypeFire() or IsDamageTypeLightning() or IsDamageTypeThunder()):ApplyStatus(ABSORB_ELEMENTS_COOLDOWN_TECHNICAL, 100, -1);IF(IsDamageTypeAcid() or IsDamageTypeCold() or IsDamageTypeFire() or IsDamageTypeLightning() or IsDamageTypeThunder()):RemoveStatus(ABSORB_ELEMENTS_ACTIVE)"

new entry "CRE_LathandersBlessing_Passive"
type "PassiveData"
data "DisplayName" "habe46d08g7762g41c0g9cefgeb22e36285c7;2"
data "Description" "h9424896dg6e9bg4f8dg8cc3g21e4740ff830;3"
data "DescriptionParams" "Distance(9);RegainHitPoints(3d6);RegainHitPoints(2d6)"
data "Properties" "OncePerLongRest"
data "StatsFunctorContext" "OnDamaged;OnHealed;OnStatusApplied"
data "Conditions" "HasHPPercentageEqualOrLessThan(0)"
data "StatsFunctors" "ApplyStatus(MAG_LATHANDERS_BLESSING_RESURRECT_TECHNICAL, 100, 0);RemoveStatus(MAG_LATHANDERS_BLESSING_RESURRECT_RESOURCE)"

new entry "CRE_LathandersBlessing_Cooldown_Passive"
type "PassiveData"
data "DisplayName" "hefe68173gb372g4fd6gb516g76ff011e2698;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnLongRest;OnCreate"
data "StatsFunctors" "ApplyStatus(MAG_LATHANDERS_BLESSING_RESURRECT_RESOURCE, 100, -1)"

new entry "CRE_LathandersLight_Passive"
type "PassiveData"
data "DisplayName" "h341bcbd8gb78eg4cf7g834bge5fb441d134f;2"
data "Description" "h126c1189g8ee0g4b60g8dd3gba78b511c8ed;4"
data "DescriptionParams" "Distance(6)"
data "Icon" "PassiveFeature_LathandersLight"
data "Properties" "ToggledDefaultOn;ToggledDefaultAddToHotbar;IsToggled"
data "ToggleOnFunctors" "ApplyStatus(MAG_LATHANDERS_LIGHT, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_LATHANDERS_LIGHT)"

new entry "ShadowBlade_Passive"
type "PassiveData"
data "DisplayName" "h0160e9efg8974g43d6gb3fcg8d4e9d200a3c;4"
data "Description" "ha672fd65g0fe4g4596g9529gce372c013ca1;6"
data "BoostContext" "OnAttack"
data "Boosts" "IF(AttackedWithPassiveSourceWeapon() and not HasObscuredState(ObscuredState.Clear)):Advantage(AttackRoll)"

new entry "MAG_Gish_ArcaneSynergy_Circlet_Passive"
type "PassiveData"
data "DisplayName" "hc7a585eeg200dg4f49g8ed2gd1fefb07ef1d;4"
data "Description" "hb9bb6767g50edg445dga2e2g87e805289220;6"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "not StatusId('MAG_GISH_ARCANE_SYNERGY') and not StatusId('SNEAKING') and not StatusId('SNEAKING_CLEAR') and not StatusId('SNEAKING_LIGHTLY_OBSCURED') and not StatusId('SNEAKING_HEAVILY_OBSCURED') and not StatusId('DISENGAGE') and not StatusId('NON_LETHAL') and not StatusId('DASH') and not StatusId('MONK_SOUND_SWITCH')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_GISH_ARCANE_SYNERGY, 100, 2)"

new entry "MAG_Gish_ArcaneSynergy_Ring_Passive"
type "PassiveData"
data "DisplayName" "h185bc51dg0ee2g44d4g8eecgaa34a6f98ba2;3"
data "Description" "hd4f41587gc54ag4a5aga587gb1c0ed6e8ae7;5"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "IF(IsCantrip()):ApplyStatus(SELF, MAG_GISH_ARCANE_SYNERGY, 100, 2)"

new entry "MAG_Gish_ArcaneAcuity_Gloves_Passive"
type "PassiveData"
data "DisplayName" "haab50542gb3f3g41c5g9ee9gefb50accc757;3"
data "Description" "hbae6c94bg09c9g45e6ga267gef7984d501be;6"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnStatusApply"
data "StatsFunctors" "IF(IsWeaponAttack()):ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY, 100, 2);IF(IsWeaponAttack()):ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Gish_PsychicDamageBonusWhileConcentrating_Ring_Passive"
type "PassiveData"
data "DisplayName" "hb2572d00g3587g40dbgac56g8a690d6a1aa1;2"
data "Description" "hb6dfce9bg68d7g47eag9e57g4fd4f7169f8e;4"
data "DescriptionParams" "DealDamage(2d4,Psychic)"
data "BoostContext" "OnCreate"
data "Boosts" "IF(IsConcentrating(context.Source)):CharacterWeaponDamage(2d4,Psychic)"

new entry "MAG_Gish_TempHPWhileConcentrating_Boots_Passive"
type "PassiveData"
data "DisplayName" "h38425377g14fdg4de8ga70bge28191946472;2"
data "Description" "hd1938c2egffd4g4d6cg99c7g5029c582ecf6;4"
data "DescriptionParams" "GainTemporaryHitPoints(8)"
data "TooltipPermanentWarnings" "8892b93b-721f-4b99-b9b4-05ac25aadb33"
data "StatsFunctorContext" "OnCast"
data "Conditions" "HasSpellFlag(SpellFlags.Concentration) "
data "StatsFunctors" "ApplyStatus(SELF, MAG_TEMPORARY_HP_8, 100, 4)"

new entry "MAG_Radiant_DamageBonusOnIlluminatedTarget_Ring_Passive"
type "PassiveData"
data "DisplayName" "hdba9745bg03acg4a09ga574gf94a721dce47;2"
data "Description" "h9a6474c3gcb32g406bg9750gc15797688a45;4"
data "DescriptionParams" "2"
data "BoostContext" "OnCreate"
data "Boosts" "IF(HasObscuredState(ObscuredState.Clear, context.Target)):DamageBonus(2, Radiant)"

new entry "MAG_Radiant_Radiating_Helmet_Passive"
type "PassiveData"
data "DisplayName" "h283a1588g015fg46cag9579g559f2a99c6b6;2"
data "Description" "h875596dcg27d8g4878gae8cgafe9cbd4dc57;5"
data "DescriptionParams" "DealDamage(2d4, Radiant)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMiss() or IsCriticalMiss()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Dexterity, 14, false, false, context.Source)):DealDamage(SWAP,1d4, Radiant,Magical);ApplyStatus(SELF, MAG_RADIANT_RADIANT_BLAST_TECHNICAL, 100, 0)"

new entry "MAG_Radiant_RadiatingOrb_Armor_Passive"
type "PassiveData"
data "DisplayName" "h68d20c89gdee8g401cg8e4fgf78938be5a55;2"
data "Description" "h2a251881g1cdcg4696g9d36g697d7ac71994;6"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasDamageDoneForType(DamageType.Radiant)"
data "StatsFunctors" "CreateExplosion(Projectile_MAG_Radiant_RadiatingOrb_Explosion)"

new entry "MAG_Radiant_RadiatingOrb_Ring_Passive"
type "PassiveData"
data "DisplayName" "h1008416cg7796g48ccgb1fagfcc3c31cd6f7;2"
data "Description" "h069f45d3g7246g488dg9737g876c62ed35a7;3"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsSpell()"
data "StatsFunctors" "ApplyStatus(MAG_RADIANT_RADIATING_ORB, 100, 2);ApplyStatus(MAG_RADIANT_RADIATING_ORB_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Radiant_RadiatingOrb_Blind_Passive"
type "PassiveData"
data "DisplayName" "h83155e2dg064cg44ebgabdfgf5b71a5b76d5;1"
data "Description" "hc91bdcfdg609eg468aga07dg7ca0425afc62;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved"

new entry "MAG_Radiant_RadiatingOrb_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h357b2758gcd31g451dga7f0g8da7cde736c1;2"
data "Description" "hb6cd4447ge729g41ffg8496g85ac5a4e8b9e;4"
data "DescriptionParams" "DealDamage(,Radiant)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasDamageDoneForType(DamageType.Radiant)"
data "StatsFunctors" "ApplyStatus(MAG_RADIANT_RADIATING_ORB, 100, 2);ApplyStatus(MAG_RADIANT_RADIATING_ORB_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Radiant_RadiatingOrb_OnDamage_Passive"
type "PassiveData"
data "DisplayName" "h66fd2553g6fccg4d94gab54gbb3be2fec9f4;2"
data "Description" "h1683e265g317fg46b2g8102gff3356a57d7f;3"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(MAG_RADIANT_RADIATING_ORB, 100, 1);ApplyStatus(MAG_RADIANT_RADIATING_ORB_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Radiant_RadiatingOrb_Melee_OnDamage_Passive"
type "PassiveData"
using "MAG_Radiant_RadiatingOrb_OnDamage_Passive"
data "DisplayName" "h32d117aag8ccfg4373g9534gf21d4ba58e29;1"

new entry "MAG_ZOC_ForceConduit_Halberd_Passive"
type "PassiveData"
data "DisplayName" "hc4ddae9fgcbb6g414dg96c3gc56e8208c5bc;3"
data "Description" "h1f594350g9d00g4381g982ag2c09254cc1b5;4"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(MAG_ZOC_FORCE_CONDUIT_CHARGE_UP_TECHNICAL,100, 0);ApplyStatus(SELF, MAG_ZOC_FORCE_CONDUIT, 100, 2);IF(not HasStatus('MAG_ZOC_FORCE_CONDUIT_MAX_CHARGED_TECHNICAL') and ForceConduitBlastRequirement(context.Target)):ApplyStatus(MAG_ZOC_FORCE_CONDUIT_MAX_CHARGED_TECHNICAL, 100, -1);ApplyStatus(SELF, MAG_ZOC_FORCE_CONDUIT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_ZOC_RampartAura_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hfb08e2abg4829g43d4g8745ge78ba26bf4cd;2"
data "Description" "h37f4f87ag9f60g4026ga59dg9aca07c7ba42;4"
data "ExtraDescription" "hd81671ebg63a5g46b1gabadg070e4c768835;2"
data "Icon" "PassiveFeature_RampartAura"
data "EnabledConditions" "HasStatus('MAG_ZOC_FORCE_CONDUIT')"
data "EnabledContext" "OnStatusApplied;OnStatusRemoved"
data "Properties" "IsToggled"
data "ToggleOnFunctors" "ApplyStatus(MAG_RAMPART_AURA, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_RAMPART_AURA)"

new entry "MAG_ZOC_ForceConduitWhileSurounded_Boots_Passive"
type "PassiveData"
data "DisplayName" "h3cf8d0c4g9bc6g42f3g889dgaef403c123a5;1"
data "Description" "hf7507ef0gd477g44f9gbe07ge1ce76fa894b;4"
data "DescriptionParams" "2"

new entry "MAG_ZOC_AdvantageOnMeleeAttackWhileSurounded_Gloves_Passive"
type "PassiveData"
data "DisplayName" "ha23a6fc0g00a3g432cg8b7ag7afca6adf044;2"
data "Description" "h924148a4gc14ag4b1egb8dcg47f47a5ea62a;4"
data "DescriptionParams" "2"
data "Boosts" "IF(IsMeleeAttack() and IsWeaponAttack() and HasEnemyWithinRange('SG_Incapacitated', 3, nil, 2, context.Target, context.Source)):Advantage(AttackRoll);"

new entry "MAG_ZOC_ForceConduit_HeavyArmor_Passive"
type "PassiveData"
data "DisplayName" "hec8a6914gf2c6g42eag940cg1ea363975320;2"
data "Description" "hcee87d4cge6fag4980g9297g1d798e031037;4"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsPhysicalDamage()"
data "StatsFunctors" "ApplyStatus(MAG_ZOC_FORCE_CONDUIT_CHARGE_UP_TECHNICAL,100, 0);ApplyStatus(MAG_ZOC_FORCE_CONDUIT, 100, 2);IF(not HasStatus('MAG_ZOC_FORCE_CONDUIT_MAX_CHARGED_TECHNICAL') and ForceConduitBlastRequirement(context.Target)):ApplyStatus(MAG_ZOC_FORCE_CONDUIT_MAX_CHARGED_TECHNICAL, 100, -1);ApplyStatus(MAG_ZOC_FORCE_CONDUIT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_ZOC_ForceConduit_EnergyConversionBlast_Passive"
type "PassiveData"
data "DisplayName" "h19df58dcgd283g4783g99e5g21b06ff74f98;2"
data "Description" "h2b39c540gc2c5g4708ga0eag202eac601613;3"
data "DescriptionParams" "DealDamage(2d4,Force);Distance(6)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsMeleeAttack() and ForceConduitBlastRequirement(context.Target) and not HasStatus('MAG_ZOC_FORCE_CONDUIT_ONCE_TECHNICAL')"
data "StatsFunctors" "ApplyStatus(MAG_ZOC_FORCE_CONDUIT_EXPLOSION_TECHNICAL, 100, 0);SetStatusDuration(MAG_ZOC_FORCE_CONDUIT,-5,Add);ApplyStatus(MAG_ZOC_FORCE_CONDUIT_ONCE_TECHNICAL, 100, 0)"

new entry "MAG_ZOC_ForceConduit_EnergyConversionTrigger_Passive"
type "PassiveData"
data "DisplayName" "h0e5c9b29gfb0cg49e7g9969gdcf0562791e9;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied"

new entry "MAG_Fire_HeatOnFireDamage_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h25267474g3290g4fa5gbddagbd0fd1d0949a;2"
data "Description" "hd09d3672g12e5g4c85g8602g58b348686c4a;3"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeFire() and not Self()"
data "StatsFunctors" "IF(not HasStatus('MAG_FIRE_HEAT_ONCE_TECHNICAL', context.Source)):ApplyStatus(SELF, MAG_FIRE_HEAT_CHARGE_UP_TECHNICAL,100, 0);ApplyStatus(SELF, MAG_FIRE_HEAT, 100, 2);ApplyStatus(SELF, MAG_FIRE_HEAT_ONCE_TECHNICAL, 100, 0);ApplyStatus(SELF, MAG_FIRE_HEAT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Fire_HeatOnTakingFireDamage_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hb42bace7g894fg4889gb6deg6d646e1037e3;2"
data "Description" "ha1d79473g85fcg4f61g8cc6g97d84d881aac;8"
data "Properties" "OncePerTurn"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsDamageTypeFire() and not Self()"
data "StatsFunctors" "IF(not HasStatus('MAG_FIRE_HEAT_ONCE_TECHNICAL')):ApplyStatus(MAG_FIRE_HEAT_CHARGE_UP_TECHNICAL,100, 0);ApplyStatus(MAG_FIRE_HEAT, 100, 2);ApplyStatus(MAG_FIRE_HEAT_ONCE_TECHNICAL, 100, 0);ApplyStatus(MAG_FIRE_HEAT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Fire_ArcaneAcuityOnFireDamage_Hat_Passive"
type "PassiveData"
data "DisplayName" "haaee7c0ege543g42dcg9feeg152a030daf77;2"
data "Description" "h0aed5e4cg1abfg4408g9647g1e14388b2533;4"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeFire() and not Self()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY, 100, 2);ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Fire_HeatOnInflictBurning_Boots_Passive"
type "PassiveData"
data "DisplayName" "hae9157c9g33ddg4408g8f3dgf17a474d7fe7;2"
data "Description" "h7ea8d75cgf169g4409gae80g33f916e8363e;4"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnStatusApply"
data "StatsFunctors" "IF(not Self() and StatusId('BURNING')):ApplyStatus(SELF, MAG_FIRE_HEAT, 100, 2);IF(not HasStatus('MAG_FIRE_HEAT_ONCE_TECHNICAL', context.Source) and not Self() and StatusId('BURNING')):ApplyStatus(SELF, MAG_FIRE_HEAT_CHARGE_UP_TECHNICAL, 100, 2);ApplyStatus(SELF,MAG_FIRE_HEAT_ONCE_TECHNICAL, 100, 0);ApplyStatus(SELF, MAG_FIRE_HEAT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Fire_BurningOnDamaged_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h4a0a6885g53f5g4a35g8c2egeb3a3b3190fe;2"
data "Description" "hab9a66d6gc959g4b84g80fbg2927e1c8a81c;4"
data "DescriptionParams" "Distance(2)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsMeleeAttack()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Dexterity, 12, false, false, context.Source) and not HasStatus('BURNING', context.Source)):ApplyStatus(SWAP, BURNING, 100, 2)"

new entry "MAG_Fire_Heat_Convergence_Passive"
type "PassiveData"
data "DisplayName" "h848e2c9fg3432g4695g880fgc7e6647372a0;2"
data "Description" "h0a936a4cg714dg4771g80edgae9a7097cd3f;3"
data "ExtraDescription" "he6583b00gb321g4748g8eb1g189b0dab2265;1"
data "ExtraDescriptionParams" "DealDamage(1,Fire)"
data "Icon" "PassiveFeature_HeatConvergence"
data "Properties" "IsToggled;Temporary;Highlighted"
data "Boosts" "UnlockSpellVariant(HeatConvergenceFireSpellCheck(),ModifyIconGlow(), ModifyTooltipDescription())"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeFire() and not Self()"
data "StatsFunctors" "RemoveStatus(SELF, MAG_FIRE_HEAT);RemoveStatus(SELF, MAG_FIRE_HEAT_CONVERGENCE)"
data "ToggleOnFunctors" "ApplyStatus(MAG_FIRE_HEAT_CONVERGENCE, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_FIRE_HEAT_CONVERGENCE)"

new entry "MAG_Heat_Fire_Robe_Passive"
type "PassiveData"
data "DisplayName" "h8d3a2beeg0f50g4fa5g9a69g2bac34265935;2"
data "Description" "h6c450e30g5ff6g4b32g95dagaad272722afc;4"
data "DescriptionParams" "DealDamage(2d4+ProficiencyBonus, Fire)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsSpell() and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(SELF,PASSIVE_FIRE_SHIELD_WARM_ATTACKER,100,0);DealDamage(SWAP, 1d4+ProficiencyBonus, Fire,Magical)"

new entry "MAG_Thunder_Reverberation"
type "PassiveData"
data "DisplayName" "h56f89c5fgbc98g4ed8gae31g2727d67fb772;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved"
data "Conditions" "StatusId('MAG_THUNDER_REVERBERATION')"
data "StatsFunctors" "IF(ReverberationBlastRequirement(context.Target) and not HasStatus('MAG_THUNDER_REVERBERATION_ONCE_TECHNICAL')):DealDamage(2d4, Thunder,Magical);IF(ReverberationBlastRequirement(context.Target) and not HasStatus('MAG_THUNDER_REVERBERATION_ONCE_TECHNICAL') and not SavingThrow(Ability.Constitution, 12)):ApplyStatus(PRONE,100,2);IF(ReverberationBlastRequirement(context.Target)):ApplyStatus(MAG_THUNDER_REVERBERATION_ONCE_TECHNICAL, 100, 0);IF(ReverberationBlastRequirement(context.Target)):RemoveStatus(MAG_THUNDER_REVERBERATION)"

new entry "MAG_Thunder_Reverberation_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h65bd774ag9b29g4d15g8f57gea9f48ff2dc0;3"
data "Description" "h8da1229fgbbf8g41adg90f9g346ca37af828;5"
data "DescriptionParams" "DealDamage(,Thunder);DealDamage(,Lightning);DealDamage(,Radiant);2"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeLightning() or IsDamageTypeThunder() or IsDamageTypeRadiant()"
data "StatsFunctors" "ApplyStatus(MAG_THUNDER_REVERBERATION, 100, 2);ApplyStatus(MAG_THUNDER_REVERBERATION_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Thunder_ReverberationOnStatusApply_Boots_Passive"
type "PassiveData"
data "DisplayName" "hdb19f00ag6138g4bc6gb174g1dff84d45a57;2"
data "Description" "hdec25ee2gb8b0g4e21ga3f4g181253f20364;4"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "IsSpell() and Enemy() and not Self() and not StatusId('MAG_THUNDER_REVERBERATION') and not StatusId('MONK_SOUND_SWITCH')"
data "StatsFunctors" "ApplyStatus(SWAP, MAG_THUNDER_REVERBERATION, 100, 2);ApplyStatus(MAG_THUNDER_REVERBERATION_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Thunder_ArcaneAcuityOnThunderDamage_Hat_Passive"
type "PassiveData"
data "DisplayName" "h427b53ccgf9dbg45b9gb081gf11c93739b85;2"
data "Description" "hd49505ddgcd93g4a25ga7edgdcea8965e792;3"
data "DescriptionParams" "DealDamage(,Thunder)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeThunder() "
data "StatsFunctors" "ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY, 100, 2);ApplyStatus(SELF, MAG_GISH_ARCANE_ACUITY_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Thunder_ReverberationOnRangeSpellDamage_Amulet_Passive"
type "PassiveData"
data "DisplayName" "ha0c6deb6g756eg48beg9a17g0b5a852436c5;2"
data "Description" "hd5c78c20g5f06g4d56g8ebbgc16081ad3341;4"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsRangedSpellAttack()"
data "StatsFunctors" "ApplyStatus(MAG_THUNDER_REVERBERATION, 100, 2);ApplyStatus(MAG_THUNDER_REVERBERATION_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Thunder_InflictDazeOnReverberatedCreature_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h43ff4b57gf3a4g4700g9f29g037de9837e9f;2"
data "Description" "h541c3ca5g217ag422cgacfdg4addaef484b2;5"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasStatus('MAG_THUNDER_REVERBERATION', context.Source) and not HasStatus('DAZED', context.Source)"
data "StatsFunctors" "ApplyStatus(SWAP, DAZED, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_Thunder_InflictDazeOnThunderDamage_Ring_Passive"
type "PassiveData"
data "DisplayName" "h7ade8bedg3b12g4e9ega0c0g39ac4561ec63;2"
data "Description" "h6434a385g471bg4729g9d4bgb51b42a05f2b;7"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasStatus('MAG_THUNDER_REVERBERATION') and not HasStatus('DAZED')"
data "StatsFunctors" "ApplyStatus(DAZED, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_Poison_PoisonExposure_Passive"
type "PassiveData"
data "DisplayName" "had85cdd4g8d51g4b43gbc8egddf9357625b0;1"
data "Description" "haf979a28g1bf3g4ebeg8b10g27c29861397d;4"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsDamageTypePoison()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 13)):ApplyStatus(POISONED, 100, 3)"

new entry "MAG_Poison_InflictPoisonHealSelf_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h6ca28184gb0eeg41b9g8888g184e7c14bb1a;2"
data "Description" "hae52437bg1cb5g44b5gba3ag6f068ba6caff;3"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "StatusId('POISONED')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_REGAIN_HP_3, 100, 0)"

new entry "MAG_Poison_PoisonExposure_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h652a00afg4653g4a9dgb61bg05bc6c25f174;2"
data "Description" "h5df07e65gf294g4854gbe83g4f859492bb1b;7"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypePoison() and not HasStatus('POISONED')"
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 13)):ApplyStatus(POISONED, 100, 3)"

new entry "MAG_Acid_NoxiousFumes_Gloves_Passive"
type "PassiveData"
data "DisplayName" "hc9781228g280bg48ecg8017gb067c4eabb41;2"
data "Description" "h1535d6efgfb88g445eg9c62gca3a2abd9e51;5"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeAcid()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Dexterity, 13)):ApplyStatus(MAG_ACID_NOXIOUS_FUMES, 100, 3)"

new entry "MAG_Acid_AcidDamageOnWeaponAttack_Ring_Passive"
type "PassiveData"
data "DisplayName" "heab1e7e6g4845g4386g9a43g50d8715e96fd;2"
data "Description" "hd70f16adgbb6dg4ca7gb458g9e0d6ea4106a;3"
data "DescriptionParams" "DealDamage(2, Acid)"
data "Boosts" "CharacterWeaponDamage(2, Acid)"

new entry "MAG_Acid_AcidMeleeCounter_Cloak_Passive"
type "PassiveData"
data "DisplayName" "hd28a7380g40ddg4b02gb51fg41c0d8605589;2"
data "Description" "h4ce1ee75g0b87g4e07gb859gd18b27cede6d;3"
data "DescriptionParams" "DealDamage(2d4, Acid)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsMeleeAttack()"
data "StatsFunctors" "DealDamage(SWAP, 1d4, Acid,Magical)"

new entry "MAG_Shadow_FogOfCloudDisengage_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h978147f5g586dg4572g9b6bg2623555009a3;2"
data "Description" "h3c318747gdbe2g4a62g9b06g88d2ecfeb1e1;4"
data "DescriptionParams" "Distance(2);1"
data "StatsFunctorContext" "OnCast"
data "Conditions" "SpellId('Shout_Disengage') or SpellId('Shout_Disengage_BonusAction') or SpellId('Shout_Disengage_CunningAction') or SpellId('Shout_Disengage_StepOfTheWind')"
data "StatsFunctors" "GROUND:CreateSurface(2,2,FogCloud,true)"

new entry "MAG_Shadow_BlindImmunity_Ring_Passive"
type "PassiveData"
data "DisplayName" "hf1d1e91dg0542g40a6g93e7ge0d5e31296c7;2"
data "Description" "hb00b5a9bg7c63g443fga699gb3341d39c41d;4"
data "Boosts" "StatusImmunity(SG_Blinded);IgnoreSurfaceCover(SurfaceDarknessCloud)"

new entry "MAG_Shadow_CriticalBoostWhileObscured_Helmet_Passive"
type "PassiveData"
data "DisplayName" "h5f7f6031g7ae9g48a1g9ecdg8a10a7fb9d4f;2"
data "Description" "hcbdf26d1g1f6cg4771gadd5g968db391569b;4"
data "StatsFunctorContext" "OnObscurityChanged;OnCreate"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_SHADOW_OBSCURITY_CRITICAL, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_SHADOW_OBSCURITY_CRITICAL)"

new entry "MAG_Shadow_StealthBonusWhileObscured_Armor_Passive"
type "PassiveData"
data "DisplayName" "he74289d7gb49eg4180g8ddag8d3a59fe95a3;2"
data "Description" "hbc70850eg9407g4047g8b8agf61684607d9f;4"
data "DescriptionParams" "3"
data "StatsFunctorContext" "OnObscurityChanged;OnCreate"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_SHADOW_OBSCURITY_STEALTH, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_SHADOW_OBSCURITY_STEALTH)"

new entry "MAG_Shadow_SpellDCBonusWhileObscured_Circlet_Passive"
type "PassiveData"
data "DisplayName" "h64fb6ffege8ceg4b35g8ab0g1c573dcd5241;2"
data "Description" "hd22ea7ecgc9e2g47dbga2f0gc804c65f5827;6"
data "DescriptionParams" "1"
data "Icon" "PassiveFeature_Generic_Darkness"
data "StatsFunctorContext" "OnObscurityChanged;OnCreate"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_SHADOW_OBSCURITY_SPELL_DC, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_SHADOW_OBSCURITY_SPELL_DC)"

new entry "MAG_Shadow_Blinding_Bow_Passive"
type "PassiveData"
data "DisplayName" "hf80083f4gad34g47fcg9acegd6f5b2890da1;2"
data "Description" "h174b21c1g898cg4b69g8d16g7b9b2a8d7f2d;4"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnObscurityChanged"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_SHADOW_OBSCURITY_ATTACK_BONUS, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_SHADOW_OBSCURITY_ATTACK_BONUS)"

new entry "CRE_HatcheryBoots_Passive"
type "PassiveData"
data "DisplayName" "ha39c41cfga3c8g4b74g9d9cg05e420e3dbb3;4"
data "Description" "h178a41beg8522g44eegba18g12415e8f089b;5"
data "Boosts" "StatusImmunity(MAG_ACID_NOXIOUS_FUMES);StatusImmunity(CRE_HATCHERY_GAS_NEGATIVE);StatusImmunity(CRE_HATCHERY_ACIDPOOL);StatusImmunity(ACID);Resistance(Acid, Resistant)"

new entry "MAG_CQCaster_TempHPAfterCast_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h7d2840ccg24b0g443egb238g81f226d66b08;3"
data "Description" "h2a764f77gea62g45bdg9df3g44b924e11585;8"
data "DescriptionParams" "7"
data "TooltipPermanentWarnings" "8892b93b-721f-4b99-b9b4-05ac25aadb33"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "HasStatus('FLANKED', context.Source) and IsSpell()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_TEMPORARY_HP_8, 100, -1)"

new entry "MAG_CQCaster_SpellDCBonusWhileThreatened_Circlet_Passive"
type "PassiveData"
data "DisplayName" "hfe3f070dg4227g4d86g82dcgaf99245d150a;2"
data "Description" "h554a756cg7b7fg491agae96g8306690e27bd;5"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved;OnCreate"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied) and StatusId('FLANKED')):ApplyStatus(MAG_CQCASTER_SPELLDC_BONUS, 100, -1);IF(not HasStatus('FLANKED')):RemoveStatus(MAG_CQCASTER_SPELLDC_BONUS);"

new entry "MAG_CQCaster_GainArcaneChargeOnDamaged_Robe_Passive"
type "PassiveData"
data "DisplayName" "haee7fce1gc9f3g4a91g80aag3f77ddec6adc;2"
data "Description" "he1fc3688g035cg472dgbc01g5e4cb27147d9;3"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsMeleeAttack()"
data "StatsFunctors" "ApplyStatus(MAG_GISH_ARCANE_CHARGE, 100, 2)"

new entry "MAG_CQCaster_ArcaneChargeAfterDash_Boots_Passive"
type "PassiveData"
data "DisplayName" "hc4bee9c1gd891g45d1g8330ga4a2f91c9e56;2"
data "Description" "hb15dddcdgb148g45daga140g573cf724da9f;5"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnCast"
data "Conditions" "SpellCategoryIs(SpellCategory.Dash)"
data "StatsFunctors" "ApplyStatus(MAG_GISH_ARCANE_CHARGE, 100, 2)"

new entry "MAG_CQCaster_ArcaneBravado_Boots_Passive"
type "PassiveData"
data "DisplayName" "hf12f8a7cg7418g40d2gb9e5g3be8df3afe87;2"
data "Description" "h5528e115gded9g44bcg8ae2g936cc911e001;1"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved;OnCreate"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied) and StatusId('FLANKED')):ApplyStatus(MAG_GISH_ARCANE_CHARGE, 100, -1);IF(not HasStatus('FLANKED')):RemoveStatus(MAG_GISH_ARCANE_CHARGE)"

new entry "MAG_CQCaster_CloseRangedSpellMastery_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h517ed4cbgc35bg4ccfgb01eg2d6c41670b82;6"
data "Description" "ha86c8356g4917g4e47gb38cg4106372ee923;6"
data "DescriptionParams" "1"
data "Boosts" "RollBonus(MeleeSpellAttack, 1);RollBonus(RangedSpellAttack, 1)"

new entry "MAG_CQCaster_GainArcaneChargeOnDamage_Quarterstaff_Passive"
type "PassiveData"
data "DisplayName" "hc0f6a4e1g370cg414bga92agb09aeccbe013;2"
data "Description" "h21d8d438g17bag4d95g9ee7g77636e54d2a2;4"
data "StatsFunctorContext" "OnCast;OnAttack"
data "Conditions" "IsSpell() and HasSpellRangeEqualOrLessThan(5, context.Source)"
data "StatsFunctors" "ApplyStatus(MAG_GISH_ARCANE_CHARGE, 100, 2)"

new entry "MAG_Enforcer_NonLethalFright_Club_Passive"
type "PassiveData"
data "DisplayName" "hc359607bg83bag4a95g97c2g8ca2b992751d;3"
data "Description" "h83858392g9c71g4544gbc0fgc5877f2a14a2;5"
data "Boosts" "IF(Character() and not Self() and not Summon() and not Tagged('UNDEAD') and not Tagged('CONSTRUCT') and not Tagged('CREATURE_SPORE_SERVANT') and IsMeleeAttack() and (IsWeaponAttack() or IsUnarmedAttack())):NonLethal()"
data "StatsFunctors" "ApplyStatus(MAG_NON_LETHAL, 100, -1)"

new entry "MAG_Enforcer_RejunevatingKnock_Helmet_Passive"
type "PassiveData"
data "DisplayName" "h35bcf4afg7508g42a9g8e11gdd6badd0d895;3"
data "Description" "hf29015c3g7fd8g40c9gae6ag0927ce01d32b;4"
data "DescriptionParams" "1d6"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "HasDamageEffectFlag(DamageFlags.NonlethalCapped) and not HasStatus('SG_Unconscious', context.Target)"
data "StatsFunctors" "RegainHitPoints(SELF, 1d6)"

new entry "MAG_Enforcer_NonLethalBlessing_Shield_Passive"
type "PassiveData"
data "DisplayName" "h91f13987gc0f4g45a4ga93cg69aa69c7aac1;2"
data "Description" "h09a66be1g32eag4f32gb00egb3a28897fe0d;5"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnAttacked"
data "StatsFunctors" "IF(IsMiss() or IsCriticalMiss()):ApplyStatus(MAG_ENFORCER_BLESS, 100, -1)"

new entry "MAG_Blindside_Shortsword_Passive"
type "PassiveData"
data "DisplayName" "h7c6ed618g4287g476ag98ccg7a085866a266;2"
data "Description" "h9dea8b17gc5bdg406bg955cg64f97c0f3679;2"
data "DescriptionParams" "DealDamage(2d8, Psychic)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and HasAdvantage() and not HasDisadvantage()"
data "StatsFunctors" "DealDamage(2d8, Psychic,Magical)"

new entry "MAG_Giantslayer_Passive"
type "PassiveData"
data "DisplayName" "h2c50b3f2g2db0g460agb631gb53efe30312c;2"
data "Description" "h669cb72eg4f88g491fgbb79gd0b57bbf6359;3"
data "Boosts" "IF(SizeEqualOrGreater(Size.Large) and HasStatus('MAG_GIANTSLAYER_ADVANTAGE_TECHNICAL', GetAttackWeapon())):Advantage(AttackRoll)"

new entry "MAG_TerrainWalker_Passive"
type "PassiveData"
data "DisplayName" "h0e3d6cdag1a40g40a0g9ee8gcd8143ba362c;2"
data "Description" "h03849378g0d8fg4048gb2b8gd85d30aca3e7;2"
data "Boosts" "StatusImmunity(DIFFICULT_TERRAIN);StatusImmunity(DIFFICULT_TERRAIN_WEB);StatusImmunity(DIFFICULT_TERRAIN_MUD);StatusImmunity(DIFFICULT_TERRAIN_VINES);StatusImmunity(DIFFICULT_TERRAIN_OVERGROWTH);StatusImmunity(DIFFICULT_TERRAIN_LAVA);"

new entry "MAG_PHB_Displacement_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h30dfd004g2e7dg49feg8e91gb062ecaf2520;2"
data "Description" "h22f785a3g6a73g4939gaa55gcd54c9f49a43;3"

new entry "MAG_Druid_Ironvine_Shield_Passive"
type "PassiveData"
data "DisplayName" "h7c010d6bg743bg4afdgaa7cg1eb49c929cc1;2"
data "Description" "haec88c7bg018bg42afgbe89g4aee76389a35;6"
data "DescriptionParams" "DealDamage(max(1,WisdomModifier), Piercing)"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasStatus('SHILLELAGH',GetActiveWeapon(context.Target, true))"
data "StatsFunctors" "DealDamage(SWAP, max(1,WisdomModifier), Piercing,Magical);ApplyStatus(SWAP, MAG_DRUID_THORN_BLAST_TECHNICAL, 100, 0)"

new entry "MAG_Druid_Ironvine_Shield_Technical_Passive"
type "PassiveData"
data "DisplayName" "h5782176bg12c5g4b9bg94d6g1ca0e9e2a0da;2"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "StatusId('SHILLELAGH')"
data "StatsFunctors" "ApplyEquipmentStatus(SWAP, MeleeOffHand, MAG_IRONVINE_SHIELD_TECHNICAL, 100, 1)"

new entry "MAG_Critical_DoneCritical_Passive"
type "PassiveData"
data "DisplayName" "hf8dadcb7g63c2g4375g9ffegc6d708b90486;1"
data "Description" "hd9e40e95g719eg460cgb3aagd1db8725b8ab;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "IF(IsCritical()):ApplyStatus(SELF, MAG_CRITICAL_DONE_CRITICAL, 100, 1)"

new entry "MAG_Critical_Force_Critical_Passive"
type "PassiveData"
data "DisplayName" "h14b285aag980cg4e8dg9d1fgec61e7aba0e4;2"
data "Description" "h485c5d37g241dg453fg8555g0406d28f1476;3"
data "DescriptionParams" "DealDamage(2d6, Force)"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "IF(IsCritical()):DealDamage(2d6, Force,Magical)"

new entry "MAG_Critical_Hiding_ReduceCriticalRange_Passive"
type "PassiveData"
data "DisplayName" "h45c8f017g88abg43e8gbbb0gbeabc933a016;2"
data "Description" "h8cbbaa63g1d97g4741gb065gc06a1647ab86;4"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('SNEAKING_CLEAR') or StatusId('SNEAKING_LIGHTLY_OBSCURED') or StatusId('SNEAKING_HEAVILY_OBSCURED')"
data "StatsFunctors" "ApplyStatus(MAG_CRITICAL_HIDING_CRITICAL, 100, -1)"

new entry "MAG_Critical_BolsteringCritical_Passive"
type "PassiveData"
data "DisplayName" "h00b8bed7gd2bag40f3gacbbg034f143b868a;2"
data "Description" "h4857bf74g6b0eg4a00g9c09g2472bbf0c318;4"
data "DescriptionParams" "GainTemporaryHitPoints(15)"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "IF(IsCritical() or IsKillingBlow()):ApplyStatus(SELF, MAG_RAGE_TEMPORARY_HP_ON_RAGE_EXIT, 100, -1)"

new entry "MAG_Critical_CriticalSwiftness_Passive"
type "PassiveData"
data "DisplayName" "h4af7448ag6a0eg4259g8114g8eb297fec991;2"
data "Description" "hb91d1e6bgf680g4749g84d9g601324202509;3"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "IF(IsCritical() or IsKillingBlow()):RestoreResource(SELF, Movement, 100%, 0)"

new entry "MAG_Critical_CriticalExecution_Passive"
type "PassiveData"
data "DisplayName" "h00d004f6g09f6g43bfga6bbg3b2447c60133;2"
data "Description" "hcca5e021g4205g4ca2ga516g3a531e59a378;9"
data "Properties" "OncePerLongRest"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "not Self() and Character() and Enemy() and IsKillingBlow()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_CRITICAL_CRITICAL_EXECUTION, 100, -1)"

new entry "MAG_Psychic_MentalFatigue_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h88f19151g080fg4fabgbd15g14dad3782bba;2"
data "Description" "hab349e74g9048g48c2gb4f8ge96e49a3cc1b;3"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypePsychic()"
data "StatsFunctors" "ApplyStatus(MAG_PSYCHIC_MENTAL_FATIGUE, 100, 2);ApplyStatus(MAG_PSYCHIC_MENTAL_FATIGUE_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Psychic_MentalFatigue_Ring_Passive"
type "PassiveData"
data "DisplayName" "hb1cae7aegdaffg42b5ga34fga86269ccecd6;2"
data "Description" "he9c2b878g2038g4923gb111g1d0ba0fae3d5;3"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "not Self() and not IsMiss() and not IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(MAG_PSYCHIC_MENTAL_FATIGUE, 100, 2);ApplyStatus(MAG_PSYCHIC_MENTAL_FATIGUE_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_Psychic_MentalFatigue_Cape_Passive"
type "PassiveData"
data "DisplayName" "he6e8b4c6gc422g4a7dgaf96gcbdef4bf582f;2"
data "Description" "hf948f80eg0c7cg4404gba31g00d465a633c0;2"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "not Self() and not IsMiss() and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_PSYCHIC_MENTAL_FATIGUE, 100, 2);ApplyStatus(SELF, MAG_PSYCHIC_MENTAL_FATIGUE_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_WeaponAction_Frostbite_Passive"
type "PassiveData"
data "DisplayName" "h8bcfa3fag2326g47c1gaed6g6fa56dc8a339;1"
data "Description" "h97d28f51g3d24g4bcfgbd94ge4d9f919988f;1"
data "DescriptionParams" "DealDamage(2d4, Cold)"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "DealDamage(SELF, 1d4, Cold,Magical);ApplyStatus(SELF, MAG_FROSTBITE_BLAST_TECHNICAL, 100, 0)"

new entry "MAG_Githborn_Circlet_Passive"
type "PassiveData"
data "DisplayName" "he5003aa6g0090g42efg923fg29725321a4b2;2"
data "Description" "hbaf3b886g7f84g4d32gb74dg4a13fc94422f;5"
data "DescriptionParams" "1;DealDamage(2d4, Psychic)"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('GITHYANKI', context.Source)"
data "Boosts" "RollBonus(SavingThrow,1, Intelligence);RollBonus(SavingThrow,1, Wisdom);RollBonus(SavingThrow,1, Charisma)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "DealDamage(SWAP, 1d4, Psychic,Magical)"

new entry "CRE_MAG_Githborn_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hf2e14f97g23bag4976g9099g46ebf2e1dbd4;2"
data "Description" "hadc1b139gc742g485bgab0egeb3039c25640;3"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('GITHYANKI', context.Source)"
data "Boosts" "IF(Tagged('ABERRATION')):Disadvantage(AttackTarget);Advantage(SavingThrow, Intelligence)"

new entry "MAG_Githborn_MagicEating_HalfPlate_Passive"
type "PassiveData"
data "DisplayName" "hdf2d077ageaabg489egbdceg581a255eb439;3"
data "Description" "hf6508530g951bg477aga7a5gf8b775ad243e;5"
data "DescriptionParams" "RegainHitPoints(2d4)"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('GITHYANKI', context.Source)"
data "Boosts" "Resistance(Psychic, Resistant)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsSpell() and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "RegainHitPoints(2d4)"

new entry "MAG_Githborn_Mindcrusher_Greatsword_Passive"
type "PassiveData"
data "DisplayName" "h2a28ef2dg499cg49e8gb971g69f4f1327279;2"
data "Description" "h96c6417dg449cg4fb9g9878gba97850c14f0;3"
data "DescriptionParams" "DealDamage(2d8,Psychic)"
data "TooltipConditionalDamage" "DealDamage(2d4,Psychic)"
data "Boosts" "IF(IsMeleeAttack()):CharacterWeaponDamage(2d4, Psychic)"

new entry "MOO_MAG_HowlOfTheDead_Passive"
type "PassiveData"
data "DisplayName" "ha0588912g16eag4f22g82d5g347d50c7a8f6;1"
data "Description" "h4675a385gca16g4b3dg9505g6096dc2c36f3;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "IsAttack() and HasStatus('MOO_MAG_KETHERIC_STUPEFIED',context.Target,context.Source)"
data "StatsFunctors" "ApplyStatus(MOO_MAG_STUPEFIED_ON_ATTACKED_FX,100,0);RemoveStatus(MOO_MAG_KETHERIC_STUPEFIED)"

new entry "MAG_FlamingFist_BlazingRetaliation_Passive"
type "PassiveData"
data "DisplayName" "hd495765fg26e4g4d89gb6c7ga320c53fecd3;2"
data "Description" "h4e245d80g4b38g4f2cgb6dag64e2b856309a;5"
data "DescriptionParams" "1;DealDamage(2d6, Fire)"
data "ExtraDescription" "h936b9175g2825g4fc2g99eag016ae4632917;1"
data "TooltipSave" "Dexterity"
data "Boosts" "AC(1)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMeleeAttack() and (IsMiss()  or IsCriticalMiss()) and not (not Player() and Tagged('AI_IGNORED_TARGET',context.Source)) and not HasStatus('INVISIBILITY')"
data "StatsFunctors" "ApplyStatus(SWAP, MAG_BLAZING_RETALIATION_BLAST_TECHNICAL, 100, 0);DealDamage(SWAP, 1d6, Fire,Magical)"

new entry "MAG_FlamingFist_ProtectionFromMissiles_Passive"
type "PassiveData"
data "DisplayName" "h23f172f8g5850g48f9gae51ga332eb429d79;2"
data "Description" "h84214868ga3a5g43c2g90b9gaa0508264198;2"
data "Boosts" "IF(IsAttackType(AttackType.RangedWeaponAttack)):Disadvantage(AttackTarget);IF(IsAttackType(AttackType.RangedWeaponAttack)):DamageReduction(All, Half)"

new entry "MAG_Illithid_Regen_Circlet_Passive"
type "PassiveData"
data "DisplayName" "hc53d2398ga5eag4000g97fbg3e924cdfee75;2"
data "Description" "h7664542ag459dg496bgb71fgef11c1df0270;6"
data "DescriptionParams" "RegainHitPoints(2d4)"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "Enemy() and IsSpell() and not Self() and not IsMiss() and not IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and (HasSavingThrowWithAbility(Ability.Intelligence) or HasSavingThrowWithAbility(Ability.Charisma) or HasSavingThrowWithAbility(Ability.Wisdom))"
data "StatsFunctors" "RegainHitPoints(SELF, 1d4)"

new entry "MAG_Illithid_Carapace_Gloves_Passive"
type "PassiveData"
data "DisplayName" "hdf884ebeg166eg4a72g9b9eg9d54a1123a51;2"
data "Description" "hdddd3ad6ge938g4ca3g93fag1353a068c869;2"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "StatusHasStatusGroup(context.StatusId, 'SG_Charmed') or StatusHasStatusGroup(context.StatusId, 'SG_Frightened')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_ILLITHID_BLESS, 100, 3)"

new entry "MAG_Illithid_CarapaceArmor_Passive"
type "PassiveData"
data "DisplayName" "h54e52ebcgbd26g43f2gb994g3060f49c37c4;2"
data "Description" "h7ebcfa2dge1b6g437bgb885g14c621aea2f7;3"
data "DescriptionParams" "1"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('ILLITHID', context.Source)"
data "Boosts" "RollBonus(SavingThrow,1, Intelligence);RollBonus(SavingThrow,1, Wisdom);RollBonus(SavingThrow,1, Charisma)"

new entry "MAG_Harpers_ArmorOfShadows_Passive"
type "PassiveData"
data "DisplayName" "hfbfadd6ag87acg4694g8931gde1a2cc09583;2"
data "Description" "h5692da17gfad8g4a3cgb912g737ae7cc11e8;3"
data "StatsFunctorContext" "OnObscurityChanged;OnCreate"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_HARPERS_OBSCURITY_SAVING_THROWS, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_HARPERS_OBSCURITY_SAVING_THROWS)"

new entry "MAG_Harpers_JhannylGloves_Passive"
type "PassiveData"
data "DisplayName" "h4caf4a1fg526ag4627ga4c8g16f0360b2dae;2"
data "Description" "h145bba0cgcddcg48abga396g86793a533244;2"
data "Properties" "OncePerLongRest"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "IF(StatusHasStatusGroup(context.StatusId, 'SG_Poisoned') or StatusHasStatusGroup(context.StatusId, 'SG_Disease') or StatusHasStatusGroup(context.StatusId, 'SG_Paralyzed') or StatusHasStatusGroup(context.StatusId, 'SG_Blinded') or StatusId('HOLD_PERSON')):ApplyStatus(MAG_JHANNYL_GLOVES_LESSER_RESTORATION, 100, 1);IF(StatusHasStatusGroup(context.StatusId, 'SG_Poisoned')):RemoveStatus(SG_Poisoned);IF(StatusHasStatusGroup(context.StatusId, 'SG_Disease')):RemoveStatus(SG_Disease);IF(StatusHasStatusGroup(context.StatusId, 'SG_Paralyzed')):RemoveStatus(PARALYZED);IF(StatusHasStatusGroup(context.StatusId, 'SG_Blinded')):RemoveStatus(SG_Blinded);IF(StatusId( 'HOLD_PERSON')):RemoveStatus(HOLD_PERSON);IF(StatusId('ASTARION_WEAK')):RemoveStatus(ASTARION_WEAK)"

new entry "MAG_Harpers_RingOfProjection_Passive"
type "PassiveData"
data "DisplayName" "h39b7392egfcb1g4e4fg9d03g02ccd334f675;2"
data "Description" "h1aa149a9g724ag47c0ga7a4g73b152129063;2"
data "DescriptionParams" "1d4"
data "Boosts" "EntityThrowDamage(2d4)"

new entry "MAG_Harpers_RingOfTwilight_Passive"
type "PassiveData"
data "DisplayName" "ha89c0373gd8b9g4019g91d5g76fcb26083c1;2"
data "Description" "h59da8a7eg3977g4dc1g9724g86b847b0e79b;5"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnObscurityChanged;OnCreate"
data "StatsFunctors" "IF(not HasObscuredState(ObscuredState.Clear)):ApplyStatus(MAG_HARPERS_TWILIGHT_HIDE, 100, -1);IF(HasObscuredState(ObscuredState.Clear)):RemoveStatus(MAG_HARPERS_TWILIGHT_HIDE)"

new entry "MAG_Zhentarim_BloodfeederBlade_Rapier_Passive"
type "PassiveData"
data "DisplayName" "h0d3f3041gfa35g4898g9562g0e91d87f6a3f;5"
data "Description" "hb24c6636g625bg4ee7gb9cfg91dc96edc089;5"
data "DescriptionParams" "1;3"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsKillingBlow()"
data "StatsFunctors" "IF(not HasStatus('MAG_BLOODFEEDER_SCARLET_REMITTANCE_3', context.Source)):ApplyStatus(SELF, MAG_SCARLET_REMITTANCE_APPLIED_VFX, 100, 0);IF(HasStatus('MAG_BLOODFEEDER_SCARLET_REMITTANCE_2', context.Source)):ApplyStatus(SELF, MAG_BLOODFEEDER_SCARLET_REMITTANCE_3, 100, -1);IF(HasStatus('MAG_BLOODFEEDER_SCARLET_REMITTANCE_1', context.Source)):ApplyStatus(SELF, MAG_BLOODFEEDER_SCARLET_REMITTANCE_2, 100, -1);IF(not HasStatus('MAG_BLOODFEEDER_SCARLET_REMITTANCE_2', context.Source) and not HasStatus('MAG_BLOODFEEDER_SCARLET_REMITTANCE_3', context.Source)):ApplyStatus(SELF, MAG_BLOODFEEDER_SCARLET_REMITTANCE_1, 100, -1);"

new entry "MAG_Zhentarim_Demonspirit_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h37507dfdg7da6g467fga0afgd4b3653e3e8d;2"
data "Description" "haf729777g05f6g4813ga134gfbfb0694b4f6;5"
data "DescriptionParams" "DealDamage(,Psychic)"
data "Icon" "PassiveFeature_Generic_WildAnimal"
data "Properties" "IsToggled;ToggledDefaultOn;Temporary"
data "ToggleOnFunctors" "ApplyStatus(MAG_ZHENTARIM_DEMONSPIRIT_AURA, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_ZHENTARIM_DEMONSPIRIT_AURA)"

new entry "MAG_Monk_Magic_Armor_Passive"
type "PassiveData"
data "DisplayName" "hf133988eg587dg437fg8a04g652df85fa40e;2"
data "Description" "h82181de1g28ebg4d53g932fga979e8e1193c;3"
data "TooltipUseCosts" "ReactionActionPoint:1"
data "Icon" "Spell_Abjuration_MageArmor"
data "Properties" "Highlighted"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_Monk_KushigoCounter)"

new entry "MAG_Monk_Magic_Boots_Passive"
type "PassiveData"
data "DisplayName" "h2ce5d001g5eafg44d4g9ca9g12e97b70cbdf;2"
data "Description" "hd6237ab2g83f8g4830gb80fg16e86775258b;2"
data "Boosts" "IF(IsMeleeUnarmedAttack() and not HasStatus('INT_ORPHEUSGUARDS_FAKECOMBAT')):CharacterUnarmedDamage(WisdomModifier)"

new entry "MAG_Monk_Magic_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h2e6fa769g18f6g4563gbd32g7432a51b8ea8;2"
data "Description" "he337f1fcg5a97g4d5bg8549g223c6666402a;3"
data "DescriptionParams" "1d4"
data "Boosts" "EntityThrowDamage(2d4)"

new entry "MAG_Monk_Magic_Hat_Passive"
type "PassiveData"
data "DisplayName" "h0e3d676dgb72ag49ccga11dgbee694921181;2"
data "Description" "hbaec947bg898cg4518gaa6fgd65468ca7e6e;4"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsAttackType(AttackType.MeleeUnarmedAttack)"
data "StatsFunctors" "ApplyStatus(SELF,MAG_MONK_UNARMED_EXPLOIT, 100, 1)"

new entry "MAG_Monk_Magic_ArmorEx_Passive"
type "PassiveData"
data "DisplayName" "h29ab1a17ga53bg4b60gb04eg3e94fe0362bd;1"
data "Description" "h0083b449gda31g4626gb272gf2ebb3ef0a36;1"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_Monk_KushigoCounterEx)"

new entry "MAG_PHB_ElvenChain_Armor_Passive"
type "PassiveData"
data "DisplayName" "h008b56feg795fg4f0agb10dg35b1417ea276;2"
data "Description" "h6ee738edg2713g4840gb4f5g3d245ed7d1d5;2"

new entry "MAG_PHB_ElvenChain_AddedEffect_Armor_Passive"
type "PassiveData"
data "DisplayName" "hc9c6cb89g1d33g45fdgaa18g27bf16c51ca3;2"
data "Description" "h5f2701a5gbac3g4e24gb50bgdcf22cd2e2df;3"
data "DescriptionParams" "2"
data "Boosts" "Initiative(2);Advantage(SavingThrow, Dexterity)"

new entry "SCL_MastiffPoachers_Ring_Passive"
type "PassiveData"
data "DisplayName" "h385fb38fg6a1dg4d66g8c7cg9fd7e85648d9;3"
data "Description" "h942d72dag919bg4043g9fddge40e57512f8d;6"
data "DescriptionParams" "1d4"
data "Boosts" "IF(Tagged('SHADOW', context.Target) or not HasObscuredState(ObscuredState.Clear)):CharacterWeaponDamage(2d4);IF((Tagged('SHADOW', context.Target) or not HasObscuredState(ObscuredState.Clear)) and IsUnarmedAttack()):DamageBonus(2d4)"

new entry "LOW_HagKiller_CHA_Passive"
type "PassiveData"
data "DisplayName" "hc68ceb29g8dc6g40c6g89cfgbfcd8ba80bbf;1"
data "Description" "h5b795257g5e6cg4d91ga778g888ac2f95e8f;1"
data "Boosts" "Ability(Charisma,+1)"

new entry "MAG_Zhentarim_SleeperDagger_Passive"
type "PassiveData"
data "DisplayName" "h692bd503g02adg4e59g97b3g52389c71e05c;3"
data "Description" "h0ea2f9dcga33cg41f2gb511g768ed0db5794;5"
data "DescriptionParams" "DealDamage(2d6, Necrotic)"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('SNEAKING_CLEAR') or StatusId('SNEAKING_LIGHTLY_OBSCURED') or StatusId('SNEAKING_HEAVILY_OBSCURED')"
data "StatsFunctors" "ApplyStatus(MAG_HIDING_NECROTIC_DAMAGE_BONUS, 100, -1)"

new entry "MAG_MAG_EndGame_Plate_Armor_Passive"
type "PassiveData"
data "DisplayName" "hcfac9774g6a1cg4135gb384gdbd09af2c6df;1"
data "Description" "h49f4ee08g8383g4677g8d23g7af702825adc;5"

new entry "MAG_EndGame_Boots_Passive"
type "PassiveData"
data "DisplayName" "h834acf70gb421g4dafgbb71g91eb65aebccf;1"
data "Description" "h30ee5014g6b37g4df4gaa8fg12af107b128d;4"

new entry "MAG_EndGame_StuddedLeather_Armor_MentalWarding_Passive"
type "PassiveData"
data "DisplayName" "hadd0835agea09g40a8ga275g5f7a9f58007c;2"
data "Boosts" "Tag(CHARMED_ADV);Tag(FRIGHTENED_ADV)"

new entry "MAG_EndGame_StuddedLeather_Armor_IncapacitationWarding_Passive"
type "PassiveData"
data "DisplayName" "h1295df30gbf11g422dga217g297dc7e98491;1"
data "Description" "h916702e4g88bfg49d3g9cb9gc0a2ff34287f;1"
data "Properties" "ToggledDefaultOn"
data "Boosts" "Tag(PARALYZED_ADV)"

new entry "MAG_LesserFlamingDispersion_Passive"
type "PassiveData"
data "DisplayName" "h2c4155d0g790ag46ccg87a9ge73ec7bdcb3c;2"
data "Description" "hea2da00dgf6a6g40aag8fd1ga07cc9ffd3ef;3"
data "DescriptionParams" "2"
data "Boosts" "RollBonus(SavingThrow, 2);Resistance(Fire, Resistant)"

new entry "MAG_Infernal_Plate_Armor_Passive"
type "PassiveData"
data "DisplayName" "h0c7f25f3g7f9cg44d3ga2c3g0a853ee5d6ef;3"
data "Description" "h20e3e442g18e2g448dg9730g64b0f492110c;4"
data "DescriptionParams" "3"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(SWAP, MAG_INFERNAL_BURNING, 100, 3)"

new entry "MAG_Infernal_Plate_Armor_DamageThreshold_Passive"
type "PassiveData"
data "DisplayName" "ha2e6afcbga851g4e2ag9549g76cc692e371b;2"
data "Description" "hec8a356bg9a34g47e3g9718g33bf490de21a;5"
data "DescriptionParams" "3"
data "Boosts" "Resistance(Fire, Resistant);StatusImmunity(BURNING);DamageReduction(All, Flat, 3)"

new entry "MAG_Infernal_Metal_AttackBonus_Passive"
type "PassiveData"
data "DisplayName" "h91cca6d7g0284g43a2gb588g6cdb5ab2f2ee;2"
data "Description" "h46ffe4b1gd070g484eg94a4g0d14439ea36c;3"
data "DescriptionParams" "1"
data "Boosts" "RollBonus(Attack, 1);SpellSaveDC(1)"

new entry "MAG_Infernal_Metal_Gloves_FireDamage_Passive"
type "PassiveData"
data "DisplayName" "hd6e187fag627eg42bbgb90eg737260214df3;3"
data "Description" "h901a1160gba15g47d9g9427gf970bbcb58ad;6"
data "DescriptionParams" "DealDamage(2d6, Fire);DealDamage(2d6, Necrotic)"
data "Boosts" "CharacterWeaponDamage(2d6, Fire);CharacterUnarmedDamage(2d6, Necrotic)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsUnarmedAttack()"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 2,,,,not SavingThrow(Ability.Constitution,15))"

new entry "MAG_Infernal_Metal_Boots_AntiDisplacement_Passive"
type "PassiveData"
data "DisplayName" "h399e3d9ege1b2g4441g9805gbdb4a7502bef;2"
data "Description" "h9f669e92g64b2g424cg9e80g5d65620a9847;2"
data "Boosts" "Attribute(Grounded);StatusImmunity(DIFFICULT_TERRAIN);StatusImmunity(DIFFICULT_TERRAIN_WEB);StatusImmunity(DIFFICULT_TERRAIN_MUD);StatusImmunity(DIFFICULT_TERRAIN_VINES);StatusImmunity(DIFFICULT_TERRAIN_OVERGROWTH);StatusImmunity(DIFFICULT_TERRAIN_LAVA);StatusImmunity(SG_Prone)"

new entry "MAG_Infernal_Metal_Legendary_Resistance_Passive"
type "PassiveData"
data "DisplayName" "h6e190a7eg43e9g41b8ga415g273838099bec;3"
data "Description" "h5b6be0d0ga3ebg4033gbe02g5619cd5ff5ae;3"
data "Boosts" "UnlockInterrupt(Interrupt_Legendary_InfernalResistance)"

new entry "MAG_Infernal_Metal_Helmet_InfernalSight_Passive"
type "PassiveData"
data "DisplayName" "h315f3f72g06b8g4792gb65cg8b15643d419f;2"
data "Description" "h22b921efgc235g48f3g9c2eg6de0fb35bdf9;2"
data "DescriptionParams" "Distance(12)"
data "Boosts" "DarkvisionRangeMin(12);ActiveCharacterLight(e278f6a0-26d7-49be-b11a-9b84bc313c3c);StatusImmunity(SG_Blinded)"

new entry "MAG_Lesser_Infernal_Metal_Gloves_FireDamage_Passive"
type "PassiveData"
using "MAG_Infernal_Metal_Gloves_FireDamage_Passive"
data "DisplayName" "hbf52342cg00ebg41e1g8cc5g1919e5f812a2;2"
data "DescriptionParams" "DealDamage(2d4, Fire);DealDamage(2d4, Necrotic)"
data "Boosts" "CharacterWeaponDamage(2d4, Fire);CharacterUnarmedDamage(2d4, Necrotic)"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_Lesser_Infernal_Plate_Armor_FireDamage_Passive"
type "PassiveData"
data "DisplayName" "h416d4ca9gedbcg43begaac9g68de768739e8;2"
data "Description" "hfc8d126dgb4ebg443bg8a5dg19f21cc70e32;5"
data "DescriptionParams" "Distance(2);DealDamage(2d4, Fire)"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "HasDamageEffectFlag(DamageFlags.Hit) and IsMeleeAttack()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Dexterity, 13, false, false, context.Source)):DealDamage(SWAP, 1d4, Fire,Magical)"

new entry "MAG_LC_TheAmplifier_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h42595518g17a4g42a5ga848gbad1f4527604;2"
data "Description" "h5694cd70g1903g46eag9aeagfd332e5bda25;3"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnAttack;OnCast"
data "Conditions" "IsSpell() and IsSpellLevel(2)"
data "StatsFunctors" "ApplyStatus(SELF, MAG_THE_AMPLIFIER_TRACKER, 100, -1)"

new entry "MAG_LC_Nymph_Cloak_Passive"
type "PassiveData"
data "DisplayName" "h73b3a2begfd77g41f4g8828g639e76e91dcd;2"
data "Description" "h98845916g5f75g4846g81c5g1cbd08bfbe10;2"
data "DescriptionParams" "1;20"
data "Boosts" "Ability(Charisma, 1, 20)"

new entry "MAG_LC_Jannath_Hat_Passive"
type "PassiveData"
data "DisplayName" "hbd140184g46a0g412fg846eg66b8a4c2eedc;2"
data "Description" "h18dbcb0ag5099g49f0gb1a8g6ac594adee79;2"
data "DescriptionParams" "2;20"
data "Boosts" "Ability(Charisma, 2, 20)"

new entry "MAG_LC_RadiantLight_Rapier_Passive"
type "PassiveData"
data "DisplayName" "h4b7e93b4g7d69g4ef8g8fa2g69d785cd46e2;3"
data "Description" "hfb1a2ddfg4516g4fbfg9763gd7b24424317a;2"
data "Boosts" "IF(Tagged('UNDEAD', context.Target)):Advantage(AttackRoll)"

new entry "MAG_LC_MonsterHunter_Passive"
type "PassiveData"
data "DisplayName" "h47f9802ag8477g4d43g8715g93da66136a55;1"
data "Description" "ha05f5415g1f50g4acegabe7g96232d8f7bde;4"
data "Boosts" "IF(Tagged('MONSTROSITY', context.Target)):Advantage(AttackRoll)"

new entry "MAG_LC_Wave_Trident_Passive"
type "PassiveData"
data "DisplayName" "h1f8a1eb5gf249g4ff0gb449g0917279d6c1a;2"
data "Description" "h54d28573g3180g43bfgbcbcg0a85b8c97e05;2"
data "DescriptionParams" "Distance(2)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(WET,100, 3); GROUND:CreateSurface(2, 0, Water);"

new entry "MAG_LC_BurnOnDamage_Scimitar_Passive"
type "PassiveData"
data "DisplayName" "hbc228ac0gd7e8g4338g885eg563538390696;2"
data "Description" "h4060707fg3939g4f92gbed7g0fe2d8003d8c;4"
data "DescriptionParams" "DealDamage(2d4,Fire)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(BURNING, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_LC_CazadorVampiric_Quarterstaff_Passive"
type "PassiveData"
data "DisplayName" "hede9e217ga2bcg4cafg8d1cg92a73881c312;2"
data "Description" "hc902fc54gc03cg43e7gb4efg4d16f89da6cd;2"
data "DescriptionParams" "RegainHitPoints(2d4)"
data "StatsFunctorContext" "OnAttack;OnStatusApply"
data "Conditions" "not IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(SELF,MAG_REGAIN_HP_VAMPIRISM, 100, 0);ApplyStatus(SELF, MAG_ARCANE_VAMPIRISM_VFX, 100, 0)"

new entry "MAG_PHB_PeriaptofWoundClosure_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hb5e854fag2d20g4966g9011gbacc8b58de7f;2"
data "Description" "h69a03b72g8dcbg4b21g8994gba0df0850b89;4"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('DOWNED')"
data "StatsFunctors" "ApplyStatus(MAG_WOUND_CLOSURE, 100, 1)"

new entry "MAG_PHB_PeriaptofWoundClosure_Amulet_Maximize_Passive"
type "PassiveData"
data "DisplayName" "hf9701d8fgb427g4a4bga02egdd184ff93fd9;1"
data "Description" "h2241f33fgb052g41bagb57bg7af4724dc5e3;1"
data "Boosts" "MaximizeHealing(Incoming)"

new entry "MAG_PHB_Sentinel_Shield_Passive"
type "PassiveData"
data "DisplayName" "h42eeacabg18bdg49c0gb4c1g4494b8582893;3"
data "Description" "h72735c4fgf74ag40ceg99f6ga73b664ab533;3"
data "DescriptionParams" "3"
data "Boosts" "Initiative(3);Advantage(Skill, Perception)"

new entry "MAG_LC_Umberlee_Regeneration_Boots_Passive"
type "PassiveData"
data "DisplayName" "he810679eg2c2fg4da4ga952ga4ae9f87b3d2;3"
data "Description" "h091251b1geb96g4e1cg87eag53fa9e6037d8;2"
data "DescriptionParams" "RegainHitPoints(2d4)"

new entry "MAG_LC_Umberlee_Protection_Cape_Passive"
type "PassiveData"
data "DisplayName" "h6a8d5088gcf2bg469fgb8cbg3e2e00cabf6a;2"
data "Description" "h492d4269g7aebg40fegb15fg520c4a475518;7"

new entry "MAG_LC_Umberlee_Cold_Sickle_Passive"
type "PassiveData"
data "DisplayName" "h04c27da9g92f0g4caag9936gbd73fbd0b092;2"
data "Description" "h2519e7d8gf845g448fg8097g2b67969a34f0;2"
data "Boosts" "IF(HasStatus('WET', context.Target)):Advantage(AttackRoll)"

new entry "MAG_ArcaneEnchantment_Passive"
type "PassiveData"
data "DisplayName" "h181f9246g612ag484cg99c2g57ca3e4ffcb5;3"
data "Description" "h6a7f9b37g7213g4328g9bceg352bf62c1c31;4"
data "DescriptionParams" "2"
data "Boosts" "SpellSaveDC(2);RollBonus(MeleeSpellAttack, 2);RollBonus(RangedSpellAttack,2)"

new entry "MAG_ArcaneEnchantment_Lesser_Passive"
type "PassiveData"
using "MAG_ArcaneEnchantment_Passive"
data "DescriptionParams" "1"
data "Boosts" "SpellSaveDC(1);RollBonus(MeleeSpellAttack, 1);RollBonus(RangedSpellAttack,1)"

new entry "MAG_SpellSaveDC_Enchantment_Passive"
type "PassiveData"
data "DisplayName" "hdd33f0f8g13d0g4791g9f63g2d16b7784155;2"
data "Description" "he8570ff2gec84g4da0g8d6bg69ecd4d10a39;2"
data "DescriptionParams" "2"
data "Boosts" "SpellSaveDC(2)"

new entry "MAG_SpellSaveDC_Enchantment_Lesser_Passive"
type "PassiveData"
using "MAG_SpellSaveDC_Enchantment_Passive"
data "DescriptionParams" "1"
data "Boosts" "SpellSaveDC(1)"

new entry "MAG_SpellResistance_Passive"
type "PassiveData"
data "DisplayName" "h10610632ga6adg4008g9f19gd91b9cbee9d4;2"
data "Description" "h379b9d9bgb1b2g40ddgb8bagae9ce243dcc3;3"
data "Boosts" "IF(IsSpell()):Advantage(AllSavingThrows)"

new entry "MAG_SleepImmunity_Passive"
type "PassiveData"
data "DisplayName" "h1d5673e0g7ba0g409fga790gb0b5478828d6;2"
data "Description" "hbba5d401gff81g42cbg87f8g2231b8fc8e1c;3"
data "Boosts" "StatusImmunity(SLEEP)"

new entry "MAG_Radiant_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "h3cfd719agb082g4b70ga4e1gf0c224be0366;2"
data "Description" "hd5d855e2gea43g4a7fga5fege3db0dd15a51;3"
data "DescriptionParams" "DealDamage(2d4, Radiant)"
data "Boosts" "CharacterUnarmedDamage(2d4, Radiant)"

new entry "MAG_Cold_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "h8366edb4g178ag4261g9362gcf23744a9742;2"
data "Description" "h5d287d28g4b8cg4faaga00egabcb80004b36;3"
data "DescriptionParams" "DealDamage(2d4, Cold)"
data "Boosts" "CharacterUnarmedDamage(2d4, Cold)"

new entry "MAG_Force_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "hef04c685gfd96g4d0agb950g926c389af051;2"
data "Description" "h4c860630gfa22g4594g8072g8cb631da79db;2"
data "DescriptionParams" "DealDamage(2d4, Force)"
data "Boosts" "CharacterUnarmedDamage(2d4, Force)"

new entry "MAG_Lightning_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "h04e21e3egf76dg4d84gbdcdg40347a59617d;2"
data "Description" "h1aa73f0eg8877g487dga23egbd8c15dddd05;2"
data "DescriptionParams" "DealDamage(2d4, Lightning)"
data "Boosts" "CharacterUnarmedDamage(2d4, Lightning)"

new entry "MAG_Thunder_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "h84bd4bd4g5221g458egbed5g6c8ff3ab3426;2"
data "Description" "h2c941cb9g4754g43c6g9a24g3b684f7a718d;2"
data "DescriptionParams" "DealDamage(2d4, Thunder)"
data "Boosts" "CharacterUnarmedDamage(2d4, Thunder)"

new entry "MAG_Fire_UnarmedAttack_Passive"
type "PassiveData"
data "DisplayName" "h9564a937gfec5g47a1gbc7dg7e092e758266;2"
data "Description" "h5414bf21g0ebbg4adegaaa3g3d6473f31a25;2"
data "DescriptionParams" "DealDamage(2d4, Fire)"
data "Boosts" "CharacterUnarmedDamage(2d4, Fire)"

new entry "MAG_Force_SoulCatchingDamage_Passive"
type "PassiveData"
using "MAG_Force_UnarmedAttack_Passive"
data "DisplayName" "h182fa9ecg8679g428bg9da8ge25c0b112ca6;2"
data "DescriptionParams" "DealDamage(2d10, Force);1"
data "Boosts" "CharacterUnarmedDamage(2d10, Force)"

new entry "MAG_PHB_SoulCatching_ExtraEffect_Passive"
type "PassiveData"
data "DisplayName" "h5d5921d7ga940g4f9cg823ag82f51da007e3;2"
data "Description" "hcf8b49ceg8a03g49aegab8bgfb7d29ccddf0;4"
data "DescriptionParams" "RegainHitPoints(10)"
data "Properties" "OncePerTurn"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsUnarmedAttack()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_SOUL_CATCHING, 100, 2)"

new entry "MAG_Monk_Healed_TempHP_Passive"
type "PassiveData"
data "DisplayName" "ha6a446f3g03cdg4b8fga26bgcbfeaa055cdf;1"
data "Description" "hd98ef078g2771g4372g9c85g5cd47da27760;5"
data "DescriptionParams" "GainTemporaryHitPoints(LevelMapValue(MartialArts));2"
data "TooltipPermanentWarnings" "8892b93b-721f-4b99-b9b4-05ac25aadb33"
data "StatsFunctorContext" "OnHealed"
data "StatsFunctors" "ApplyStatus(MAG_MONK_TEMPORARY_HP, 100, -1)"

new entry "MAG_Monk_SoulRejunevation_Passive"
type "PassiveData"
using "MAG_Githborn_MagicEating_HalfPlate_Passive"
data "DisplayName" "h3ba39e13gdee9g4f30ga7c3g11d801f22233;1"
data "Description" "hc6dd1942gee0dg43a5ga43bgce01bfdd7711;1"
data "BoostContext" ""
data "BoostConditions" ""
data "Boosts" ""

new entry "MAG_Monk_Martial_Lethality_Passive"
type "PassiveData"
using "ARM_MartialArtsLethality_2_Passive"
data "DisplayName" "h6a9eae36g571ag4625g8f6dg04fb8cb10216;2"
data "Description" "h414f569cg7a22g44acgb069gf003f8ec6b2f;3"
data "Boosts" "RollBonus(Attack, 2);Initiative(2);Skill(Perception, 2)"

new entry "MAG_WYRM_UndeadProtector_Robe_Passive"
type "PassiveData"
data "DisplayName" "h3f5a0f0eg49b4g490bgbae9g5d75444c0710;2"
data "Description" "h917ce334g5f67g4961gb131g680baad37af8;4"
data "Boosts" "Disadvantage(AttackTarget, UNDEAD);IF(Tagged('UNDEAD', context.Source)):Advantage(AllSavingThrows)"

new entry "MAG_StunnImmunity_Passive"
type "PassiveData"
data "DisplayName" "hff797167g7894g42a9ga907g071b6a66dc8a;2"
data "Description" "hc4a027d2g8dccg41ffgae5dg26e2d51882d2;2"
data "Boosts" "StatusImmunity(STUNNED)"

new entry "MAG_HelmOfBalduran_MaxHP_Passive"
type "PassiveData"
data "DisplayName" "h79673d65g86aeg4e73g9b9aga1b0ff2e386f;2"
data "Description" "h4f9cd20fgf8a8g4d25gb70bgb4ad5370839d;3"
data "DescriptionParams" "RegainHitPoints(2)"

new entry "MAG_HelmOfBalduran_Protection_Passive"
type "PassiveData"
data "DisplayName" "h06b8d511g22c8g4d5dg9f1cg605e79396603;1"
data "Description" "hcde2d443g014eg440fgbcdag796ec8ddf5ef;1"
data "DescriptionParams" "1"
data "Boosts" "AC(1);RollBonus(SavingThrow, 1)"

new entry "MAG_OfArcanicDefense_Robe_Passive"
type "PassiveData"
data "DisplayName" "h039b5a8fgda00g480eg8729g8909bbf04a95;3"
data "Description" "he6db4244gcff5g454bg953bg05a4bbadfd68;6"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnCast"
data "Conditions" "HasSpellFlag(SpellFlags.Concentration) "
data "StatsFunctors" "ApplyStatus(MAG_ARCANIC_DEFENSE, 100, -1)"

new entry "MAG_Kuotoa_Lightning_Spear_Technical_Passive"
type "PassiveData"
data "DisplayName" "h3b89c15dgac84g4634gb7cdgf20438e1cbc1;3"
data "Description" "h0f14c973g1bc6g4dcdgbdebgcc1593d3e1df;3"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttack"
data "StatsFunctors" "ApplyStatus(MAG_ELECTROCUTED, 100, 2)"

new entry "BoomingBlade_Movement_Passive"
type "PassiveData"
data "DisplayName" "h14f347e7g7e38g47d2g9556g331a81181c45;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnMovedDistance"
data "Conditions" "not HasStatus('BOOMING_BLADE_DAMAGE_IMMUNITY')"
data "StatsFunctors" "ApplyStatus(SELF, BOOMING_BLADE_DAMAGE,100,0);ApplyStatus(SELF, BOOMING_BLADE_DAMAGE_IMMUNITY, 100, 0)"

new entry "BoomingBlade_MovementSpell_Passive"
type "PassiveData"
using "BoomingBlade_Movement_Passive"
data "StatsFunctorContext" "OnCast"
data "Conditions" "IsMovementSpell()"

new entry "MAG_Kuotoa_Lightning_Spear_Passive"
type "PassiveData"
data "DisplayName" "h6dd70dd7g883ag4128g9e3bgdd75e70d60ca;3"
data "Description" "h6221105eg46dbg462eg8153gebb5bc8d0058;4"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(SHOCKING_GRASP, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_Spellbreaker_Battleaxe_Passive"
type "PassiveData"
data "DisplayName" "h5e85903bgd3e9g4f3egb807g9a2ea59456f0;2"
data "Description" "ha0521bfcg71aeg437egacc1ga5d47f8a9ead;2"
data "Boosts" "IF(IsConcentrating(context.Target)):Advantage(AttackRoll)"

new entry "MAG_Moonlight_Glaive_Passive"
type "PassiveData"
data "DisplayName" "h78b6653fg77e1g4320g80b8gd85b1e456e49;1"
data "Description" "h24e9aaf6g5413g4153gbc05g91f5de88bec1;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "CreateExplosion(Projectile_MAG_Technical_Blast)"

new entry "MAG_StaffOFRam_KnockStun_Passive"
type "PassiveData"
data "DisplayName" "hae01b6e8g91cfg4b88gbcfag30ed8a070ac8;2"
data "Description" "h30031d03gc514g4b3bgbe22g85ef148cc2e7;6"
data "DescriptionParams" "Distance(2)"
data "Properties" "OncePerTurn"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "AttackedWithPassiveSourceWeapon() and not Ally() and TargetSizeEqualOrSmaller(Size.Large) and not Tagged('DRAGON') and not SavingThrow(Ability.Constitution, 8, false, false, context.Target)"
data "StatsFunctors" "IF(not Ally()):Force(2,OriginToEntity,Aggressive);IF(Ally()):Force(2,OriginToEntity,Friendly);ApplyStatus(STUNNED, 100, 1)"

new entry "MAG_WYRM_OfTruthTelling_Ring_Passive"
type "PassiveData"
data "DisplayName" "h15c50169g2777g4562g9216g1179f530686a;1"
data "Description" "hd183668eg67fcg448eg8fceg8989ff53fbca;1"
data "Boosts" "Advantage(Skill, Insight)"

new entry "MAG_WYR_Hellrider_Longbow_Passive"
type "PassiveData"
data "DisplayName" "ha8b3d7c4g5dc2g45b8g9be8gdaa693401f56;2"
data "Description" "hd9cfeb6ega0efg47c8gab0dg4a39a8d1c03a;1"
data "Properties" "OncePerTurn"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and not SavingThrow(Ability.Dexterity, 13, false, false, context.Target)"
data "StatsFunctors" "ApplyStatus(FAERIE_FIRE, 100, 1)"

new entry "MAG_WYR_Orin_Bhaalist_Dagger_Passive"
type "PassiveData"
data "DisplayName" "hcaabd317g2323g4756gb131g5d63b7eccc53;4"
data "Description" "hce1e7d3eg549cg4ef8gae48g3f97a7285c3b;5"
data "DescriptionParams" "DealDamage(2d4, Piercing);50"
data "TooltipConditionalDamage" "DealDamage(2d4, Piercing)"

new entry "MAG_WYR_Orin_Bhaalist_Dagger_ImprovedCritical_Passive"
type "PassiveData"
data "DisplayName" "h4656c3a2gca8ag4669ga84fg5d2623dacedf;1"
data "Description" "h41dd65fcgfe51g4c4cg9b57g9a7371842f99;2"
data "DescriptionParams" "1"
data "Boosts" "ReduceCriticalAttackThreshold(1)"

new entry "MAG_PHB_ScarabOfProtection_Amulet_Passive"
type "PassiveData"
data "DisplayName" "hdfe771f5g0005g4263g856fg6a88a92793e4;3"
data "Description" "h45dd6df9g807fg4e8bg83aeg2a5655940bb3;3"
data "Boosts" "IF(IsSpell()):Advantage(AllSavingThrows)"

new entry "MAG_Frightened_Immunity_Passive"
type "PassiveData"
data "DisplayName" "h2a929d47g86ceg4573g9b91ge2bcca7be755;2"
data "Description" "h6783727ega1bcg4e73g8bd4g808ad12b289c;2"
data "Boosts" "StatusImmunity(FRIGHTENED);StatusImmunity(SG_Frightened);StatusImmunity(SG_Fleeing)"

new entry "MAG_Extended_Target_Cantrip_Passive"
type "PassiveData"
data "DisplayName" "h6d630a54ga98bg416fgacf7g3cce6e370e4e;2"
data "Description" "h86b1c4dcg726bg43afgb401g0cd33c7f26d9;2"
data "ExtraDescription" "h4f12f27dg0ebag47cagab69g425c57f2023a;1"
data "Icon" "PassiveFeature_Generic_Tactical"
data "Properties" "IsToggled;OncePerShortRest;Temporary"
data "StatsFunctorContext" "OnCast"
data "Conditions" "IsCantrip() and HasStatus('MAG_EXTENDED_TARGET_CANTRIPS', context.Source)"
data "StatsFunctors" "RemoveStatus(MAG_EXTENDED_TARGET_CANTRIPS)"
data "ToggleOnFunctors" "ApplyStatus(MAG_EXTENDED_TARGET_CANTRIPS, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_EXTENDED_TARGET_CANTRIPS)"
data "ToggleOnEffect" "VFX_Spells_Cast_Sorcerer_Metamagic_Quickened_HeadFX_01:Dummy_HeadFX"
data "ToggleOffContext" "OnCastResolved"

new entry "MAG_ClosQuarterRangedSpell_Passive"
type "PassiveData"
data "DisplayName" "hd855968eg2a93g4b52gb57eg40a0f3c42e68;3"
data "Description" "h9530b854g9955g4c26g9af4g45d98b579cd3;3"
data "Icon" "GenericIcon_Intent_Buff"
data "EnabledConditions" "HasStatus('FLANKED', context.Source)"
data "EnabledContext" "OnStatusApplied;OnStatusRemoved;OnCreate"
data "Properties" "IsToggled;Temporary;ToggledDefaultOn"
data "ToggleOnFunctors" "ApplyStatus(MAG_CQC_RANGED_SPELL, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_CQC_RANGED_SPELL)"
data "ToggleOnEffect" "VFX_Spells_Cast_Sorcerer_Metamagic_Quickened_HeadFX_01:Dummy_HeadFX"
data "ToggleOffContext" "OnCastResolved"

new entry "Potion_OfUndying_Passive"
type "PassiveData"
data "DisplayName" "haadda7bag1039g41c0g8badg5c73e3a88fb5;2"
data "Description" "hbe6296e5gad0cg48dag8208g4c9cbd377277;2"
data "DescriptionParams" "RegainHitPoints(2d10)"
data "Icon" "unknown"
data "StatsFunctorContext" "OnTurn"
data "Conditions" "IsDowned() and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow)"
data "StatsFunctors" "Stabilize();RegainHitPoints(2d10)"

new entry "Potion_OfGiant_ThunderDamage_Passive"
type "PassiveData"
data "DisplayName" "hc895c21dg37b0g4606g9eaeg5f6381daa7e5;2"
data "Description" "h8d52c2b0gb70fg4dd1g8af9g97282b195315;2"
data "DescriptionParams" "DealDamage(2d4, Thunder);Distance(3)"
data "Icon" "unknown"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack() or IsUnarmedAttack()"
data "StatsFunctors" "PROJECTILE:CreateExplosion(Projectile_MAG_Mobility_ExplosionOnJump_Explosion)"

new entry "Potion_OfGreatArcher_Passive"
type "PassiveData"
data "DisplayName" "h400cd7aag7403g4926ga301g4ea752167f07;3"
data "Description" "ha508f55fgf3c7g4c57gbfe7gc56afb34296b;2"
data "DescriptionParams" "DealDamage(3d6, Piercing)"
data "Icon" "unknown"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack() and IsRangedAttack()"
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 17)):DealDamage(3d6, Piercing)"

new entry "Potion_OfTempus_Drawback_Passive"
type "PassiveData"
data "DisplayName" "hb3f23f26g71f1g4ebcgb06eg71a6c48b5e39;2"
data "StatsFunctorContext" "OnDamage"
data "StatsFunctors" "DealDamage(SELF, 1d4, Force,Magical)"

new entry "MAG_Githborn_MageHandSupport_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h93c9ad2dg7647g4d36gb77ag8afd40494b16;2"
data "Description" "h28bbc69ag5704g4c8fgbb64g247c913717df;3"
data "Boosts" "UnlockSpellVariant(MageHandCheck(), ModifyUseCosts(Replace,BonusActionPoint,1,0,ActionPoint), ModifyTooltipDescription())"

new entry "MAG_Githborn_PsionicMovement_Boots_Passive"
type "PassiveData"
data "DisplayName" "ha21d14a0g455cg41c5gb4dfg6ddc0c6bec13;2"
data "Description" "ha787fc9fg3417g4c7agb340gb69c68defff6;8"
data "DescriptionParams" "DealDamage(2d4, Psychic)"
data "StatsFunctorContext" "OnCast"
data "Conditions" "Tagged('GITHYANKI', context.Source) and (SpellId('Projectile_Fly') or SpellId('Projectile_Fly_Spell'))"
data "StatsFunctors" "ApplyStatus(SELF, MAG_GITHBORN_FLYING_STRIKE, 100, 1)"

new entry "MAG_WYRM_UndeadBane_GreatAxe_Passive"
type "PassiveData"
data "DisplayName" "h81c05b30g45acg4903g8514gd7f0980d990c;2"
data "Description" "hd3a76ca8g7ae3g4a60gb0a7gca1001f7e08c;2"
data "DescriptionParams" "DealDamage(2d6, Slashing)"
data "Boosts" "IF(IsMeleeWeaponAttack() and (Tagged('UNDEAD') or Tagged('FIEND'))):DamageBonus(2d6, Slashing, false)"

new entry "MAG_Tyr_OfJustice_WarHammer_Passive"
type "PassiveData"
using "MAG_WYRM_UndeadBane_GreatAxe_Passive"
data "DescriptionParams" "DealDamage(2d6, Bludgeoning)"
data "Boosts" "IF(IsMeleeWeaponAttack() and (Tagged('UNDEAD') or Tagged('FIEND'))):DamageBonus(2d6, Bludgeoning, false)"

new entry "MAG_WeaponAction_UndeadTurning_Ammunition_Passive"
type "PassiveData"
data "DisplayName" "h48de3a2bg8a94g449cga5d4g2eca7851d7d6;2"
data "Description" "h93a2d49fg2e25g4870gb1a2gb05a0c47ca71;2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsRangedWeaponAttack() and Tagged('UNDEAD', context.Target) "
data "StatsFunctors" "ApplyStatus(TURNED, 100, 3)"

new entry "MAG_Sarevok_OfChaos_Greatsword_Leeching_Passive"
type "PassiveData"
data "DisplayName" "hfbbf7b00g95ccg437dg8165geee81ae81bb4;2"
data "Description" "h12d1fc66gaf35g42e1gb46bgece6f8930a1f;2"
data "DescriptionParams" "RegainHitPoints(2d6)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "RegainHitPoints(SELF, 1d6)"

new entry "MAG_FrostTalon_ChillingCounter_Passive"
type "PassiveData"
data "DisplayName" "hee87b1afg77b0g43a5g9ab0gee6157ec09de;2"
data "Description" "hf9961059g646eg4646gb936ge54098a70132;3"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMiss() or IsCriticalMiss()"
data "StatsFunctors" "ApplyStatus(SWAP, CHILLED, 100, 2)"

new entry "MAG_ArcaneAbsorption_Dagger_Passive"
type "PassiveData"
data "DisplayName" "h5dda9bd0g741dg41dag9ee4g7ae8388f6b70;2"
data "Description" "h98fb7959g6972g4e24g86d1g04aa5205019e;4"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsKillingBlow() and IsMeleeWeaponAttack()"
data "StatsFunctors" "ApplyStatus(SWAP, MAG_RESTORE_SPELL_SLOT_1, 100, 0)"

new entry "MAG_Fire_HeatOnWeaponDamage_Passive"
type "PassiveData"
data "DisplayName" "h6d7bd506g0399g40d8g9ccbgf2cbb415a1d1;2"
data "Description" "h000d4a79ge387g43d7ga7eeg22c52d2fc408;4"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "IF(not HasStatus('MAG_FIRE_HEAT_ONCE_TECHNICAL', context.Source)):ApplyStatus(SELF, MAG_FIRE_HEAT_CHARGE_UP_TECHNICAL,100, 0);ApplyStatus(SELF, MAG_FIRE_HEAT, 100, 2);ApplyStatus(SELF,MAG_FIRE_HEAT_ONCE_TECHNICAL, 100, 0);ApplyStatus(SELF, MAG_FIRE_HEAT_DURATION_TECHNICAL, 100, 1)"

new entry "MAG_BG_Harold_HeavyCrossbow_Passive"
type "PassiveData"
data "DisplayName" "h28dd03c9ge7edg4a76g8723ga7461b2190df;2"
data "Description" "h2d531b5cgb394g4ff5gac56g51926564ef1e;2"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsRangedWeaponAttack() and not HasStatus('BANE', context.Target)"
data "StatsFunctors" "ApplyStatus(BANE, 100, 2,,,,not SavingThrow(Ability.Charisma,13))"

new entry "MAG_BG_DragonsBreath_Glaive_Passive"
type "PassiveData"
data "DisplayName" "h9b3a403egfba1g424ag9bdeg841fa5a16051;3"
data "Description" "h600a70ebgef05g4769ga741g73846dc74ac5;2"
data "Boosts" "UnlockSpellVariant(IsBreathWeapon(),ModifyTooltipDescription() ,ModifySavingThrowDisadvantage())"

new entry "MAG_Vicious_Weapon_Passive"
type "PassiveData"
data "DisplayName" "h14bb2ed0gfdfcg41d1g8f4fg7616054f5657;2"
data "Description" "hbea31881gb41cg4adagbd4cg6fc6bd561bf2;4"
data "DescriptionParams" "7"
data "BoostContext" "OnCreate"
data "Boosts" "IF(IsWeaponAttack() and IsCritical()):DamageBonus(7,,false)"

new entry "MAG_WYRM_Commander_Longsword_Passive"
type "PassiveData"
data "DisplayName" "h4ef70f23gc4bfg4341ga514gde404cbd84b9;2"
data "Description" "h6b05d864g61b3g43edg8504ga51777d929c3;6"
data "DescriptionParams" "Distance(9)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsKillingBlow() and Enemy()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_TEMP_HP_CHARISMA, 100, -1);CreateExplosion(Projectile_MAG_WYRM_Commander_Longsword_Inspiration_Explosion)"

new entry "MAG_ShapesifterSlayer_Passive"
type "PassiveData"
data "DisplayName" "h5d5efdd1g9095g4057gb23dge01f42e5d9a3;2"
data "Description" "haf3e2d25gd0d3g44fdgbe3dg97e288e89ccc;4"
data "DescriptionParams" "1d4"
data "Boosts" "IF(HasStatus('SG_Polymorph', context.Target)):CharacterWeaponDamage(2d4);IF(HasStatus('SG_Polymorph', context.Target)):RollBonus(Attack, 1d4)"

new entry "MAG_MonsterSlayer_Passive"
type "PassiveData"
data "DisplayName" "hd2aaad87g00b3g48d6gbe9cg8ed4dbe0fa5d;1"
data "Description" "h2ab5363agd533g4636g9e74g7a73e27f01f6;2"
data "DescriptionParams" "1d4"
data "Boosts" "IF(Tagged('MONSTROSITY', context.Target)):CharacterWeaponDamage(2d4);IF(Tagged('MONSTROSITY', context.Target)):RollBonus(Attack, 1d4)"

new entry "MAG_MagicalDurability_Passive"
type "PassiveData"
data "DisplayName" "h32f3b7bcg3a41g4047ga458g1916b7e1e9ff;2"
data "Description" "h96c18cbfgecdbg49f9ga878g0b4b98062380;2"
data "DescriptionParams" "2"
data "Boosts" "IF(IsSpell()):RollBonus(SavingThrow,2)"

new entry "MAG_Lesser_MagicalDurability_Passive"
type "PassiveData"
using "MAG_MagicalDurability_Passive"
data "DescriptionParams" "1"
data "Boosts" "IF(IsSpell()):RollBonus(SavingThrow,1)"

new entry "MAG_DeathDo_Shadow_Passive"
type "PassiveData"
data "DisplayName" "haca8f867g19f5g479bgb08fg69953db455e0;2"
data "Description" "h9edae528g859dg42ffg8fd9ge3b00e6f3068;8"
data "Properties" "OncePerLongRest"
data "Boosts" "DownedStatus(MAG_DEATH_DO_SHADOW_POSSESION_DOWNED,5)"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsKillingBlow() or IsDowned()"
data "StatsFunctors" "ApplyStatus(MAG_DEATH_DO_SHADOW_POSSESION_DOWNED_OVERRIDE, 100, -1)"

new entry "MAG_DeathDo_Light_Passive"
type "PassiveData"
data "DisplayName" "h827fc5f0gbdefg4b42g91d2gedf7741447ff;2"

new entry "MAG_END_PsychicRetaliation_Passive"
type "PassiveData"
data "DisplayName" "h21162c9bg0725g4a33gad57g2b22dc32d1ee;2"
data "Description" "h7b46cc3bgeef5g44e2gab7ag4a3cfb4b464b;2"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsSpell() and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()"
data "StatsFunctors" "ApplyStatus(SWAP, STUNNED, 100, 1,,,,not SavingThrow(Ability.Intelligence,15))"

new entry "LOW_StormshoreTabernacle_Curse_KillingBlow_Passive"
type "PassiveData"
data "DisplayName" "h5687dc85g7bccg46c1gb435gbaf9e110bd3f;1"
data "Description" "hf042524cg8075g4f99g8d15gd5d2c00ae086;2"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsKillingBlow() or IsDowned()"
data "StatsFunctors" "Kill()"

new entry "LOW_StormshoreTabernacle_Curse_SpawnEnvoy_Passive"
type "PassiveData"
data "DisplayName" "h7d4a0caagb8f1g4ae9g83a6ga919ddcf1eba;1"
data "Description" "h67630539g730eg447fgb4c5g67ae2c45ef38;1"
data "Properties" "OncePerLongRest"
data "StatsFunctorContext" "OnHealed"
data "StatsFunctors" "ApplyStatus(LOW_STROMSHORETABERNACLE_GODCUSED_TECHNICAL, 100, -1)"

new entry "LOW_StormshoreTabernacle_Curse_SpawnEnvoy_LonRest_Refresh_Passive"
type "PassiveData"
data "DisplayName" "h185c1489gc374g4d8eg84a8ga5a4b6ac3097;1"
data "StatsFunctorContext" "OnLongRest"
data "StatsFunctors" "ApplyStatus(LOW_STROMSHORETABERNACLE_GODCUSED_TECHNICAL, 100, -1)"

new entry "UNI_DarkUrge_Stealth_Expertise_Passive"
type "PassiveData"
data "DisplayName" "h27bf0c06g717ag4e4dgaa69g5f47eef6ed1f;2"
data "Description" "h540ed943g4bc4g4262g9258gc149f997f7f0;8"
data "DescriptionParams" "2"
data "Properties" "OncePerTurn"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "Enemy() and IsKillingBlow()"
data "StatsFunctors" "ApplyStatus(SWAP, INVISIBILITY, 100, 2)"

new entry "UNI_DarkUrge_Bleeding_Dagger_Passive"
type "PassiveData"
data "DisplayName" "h442586a9g8100g4dd7g85b5g07ee8dba8f56;2"
data "Description" "hb4faf792gc195g4d1eg968bg2957185dd0f4;10"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and (HasStatus('SNEAKING_CLEAR', context.Source) or HasStatus('SNEAKING_LIGHTLY_OBSCURED', context.Source) or HasStatus('SNEAKING_HEAVILY_OBSCURED', context.Source) or HasStatus('SG_Invisible', context.Source))"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 2,,,,not SavingThrow(Ability.Constitution,15))"

new entry "MAG_Bhaalist_Aura_Of_Murder_Passive"
type "PassiveData"
data "DisplayName" "h4c517878gaff7g4cf9g80ebg1485fb167ac4;3"
data "Description" "hca6a61c4g4985g4472gab5bgeebc0c055f00;2"
data "DescriptionParams" "Distance(2)"
data "Icon" "PassiveFeature_AuraOfMurder"
data "Properties" "ToggledDefaultOn;IsToggled;ToggledDefaultAddToHotbar"
data "ToggleOnFunctors" "ApplyStatus(MAG_BHAALIST_AURA_OF_MURDER_AURA, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_BHAALIST_AURA_OF_MURDER_AURA)"

new entry "MAG_Bhalist_Hat_Passive"
type "PassiveData"
data "DisplayName" "h3ed8eacagaf24g468eg8cb3gf188a3baa3b4;2"
data "Description" "h9cc3d3efg4160g4eb2gba02gea7e1739afbc;3"
data "DescriptionParams" "Distance(3);2"
data "Boosts" "Initiative(2);DarkvisionRange(3)"

new entry "MAG_FeyWildSpark_WildMagic_Passive"
type "PassiveData"
data "DisplayName" "h4e86dbcfg88fag48e5ga39aga053c1c1d38e;2"
data "Description" "h062a5a06g3953g449cgb106gf45f79b99c31;2"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved"
data "Conditions" "StatusId('TIDES_OF_CHAOS')"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied)):ApplyStatus(MAG_FEYWILD_SPARKS, 100, -1);IF(context.HasContextFlag(StatsFunctorContext.OnStatusRemoved)):RemoveStatus(MAG_FEYWILD_SPARKS)"

new entry "MAG_Greenstone_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h80f06681g9c71g4a7bgb770ge9b92fe57621;2"
data "Description" "h97001f34g2ef6g49aagbf29g835b5fe703c7;2"
data "Boosts" "Advantage(SavingThrow, Intelligence);Advantage(SavingThrow, Wisdom);Advantage(SavingThrow, Charisma)"

new entry "MAG_ShieldRiposte_Passive"
type "PassiveData"
data "DisplayName" "hbdcf65b9g906ag46a9gb237gb5608ad6649a;2"
data "Description" "haa521d2fg31afg4b33gb5e5g50c7d0a4f574;7"
data "Icon" "Action_Bash"
data "Boosts" "UnlockInterrupt(Interrupt_ShieldBlow)"

new entry "MAG_ShieldConduit_Passive"
type "PassiveData"
data "DisplayName" "h125f79cdgbcecg4754gabb4g40c974454468;2"
data "Description" "h323c2418g446fg4127g9238g50ae86b5c438;2"

new entry "MAG_OfTheDevout_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h9fb92fedg46ecg481fg9ed8gb796dd33576f;2"
data "Description" "h63c69034gd629g4510g866ag8d39b6105762;2"
data "StatsFunctorContext" "OnCast;OnAttack"
data "Conditions" "HasUseCosts('ChannelDivinity')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_OF_DEVOUT_AMULET_TRACKER, 100, -1)"

new entry "MAG_TheHunters_Dagger_Passive"
type "PassiveData"
data "DisplayName" "hb035c3e1g199bg4175g9d5ag6c0652fc55b1;3"
data "Description" "h22dfabc8g69a0g4965g829dgd2a1e7542524;2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(BARBED_ARROW, 100, 3)"

new entry "MAG_Infernal_Weapon_Passive"
type "PassiveData"
data "DisplayName" "h9e579063gc086g4828g8837g5b3067d8554d;1"
data "Description" "h11a618a5g6bd5g4d48gaba1gfc7784d80d99;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(POISONED, 100, 2,,,,not SavingThrow(Ability.Constitution,12))"

new entry "MAG_OfAutomaton_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h536ae5c9ge48dg40a7g90f8g9d29ec12fa26;3"
data "Description" "h9abfccb8gba92g4825g9a09g7d90d28342cb;4"
data "ExtraDescription" "h71374fc8g784cg41e3ga5f0g9cc48ba14c84;2"
data "Properties" "IsToggled"
data "ToggleOnFunctors" "ApplyStatus(MAG_CONSTRUCT_MODE, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_CONSTRUCT_MODE)"

new entry "MAG_Victory_Longbow_Passive"
type "PassiveData"
data "DisplayName" "h435c62cegbdf0g47bbg9a01g7a49c25ece84;2"
data "Description" "hb41b2302g5610g4454gb396gc1dbf211f268;6"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and not SavingThrow(Ability.Dexterity, 15, false, false, context.Target)"
data "StatsFunctors" "ApplyStatus(GUIDING_BOLT, 100, 1)"

new entry "MAG_Legendary_ShieldRiposte_Passive"
type "PassiveData"
data "DisplayName" "h946566c4ga493g4f40g839bg168fa4ea1ce6;3"
data "Description" "h26f21dd8g9317g42e3gacbagcc19abaf9ba6;4"
data "DescriptionParams" "DealDamage(3d4, Force)"
data "TooltipSave" "f762efbb-f8f1-493e-b248-2de1567b4bd2"
data "Icon" "Action_Bash"
data "Boosts" "UnlockInterrupt(Interrupt_Legendary_ShieldBlow)"

new entry "MAG_Legendary_Spellguard_Passive"
type "PassiveData"
data "DisplayName" "hb033f96fg9802g4c8dg87f1g3daddc7560c4;2"
data "Description" "hb992af34gf707g4046g8c7agbd2004ee5fa9;2"
data "Boosts" "IF(IsSpell()):Advantage(AllSavingThrows);IF(IsSpell()):Disadvantage(AttackTarget)"

new entry "MAG_TheThorns_ExplosiveThrowing_Passive"
type "PassiveData"
data "DisplayName" "h7a834139g949fg46b1g9faagc05202e02eaf;5"
data "Description" "hafbb08aag7be0g4ed3ga705gfd274b7a062c;4"
data "DescriptionParams" "DealDamage(4d4, Thunder);Distance(6)"

new entry "MAG_TheThorns_VeilOfTheWind_Passive"
type "PassiveData"
data "DisplayName" "h366d48feg6f85g4d7eg96feg427eab14e2d5;2"
data "Description" "h3c3b8232g38d2g430ag8e90gb90bbd158b36;3"
data "DescriptionParams" "Distance(3)"
data "Boosts" "ActionResource(Movement, 3,0);JumpMaxDistanceBonus(3);IgnoreFallDamage()"

new entry "MAG_TheClover_Rearrangement_Passive"
type "PassiveData"
data "DisplayName" "h15c46cc7g164fg41ffga02ege59329268c58;2"
data "Description" "h6984b8aagbb23g46b3g8c29g1a65974e4bcb;3"
data "DescriptionParams" "2;19;18"
data "Boosts" "ReduceCriticalAttackThreshold(1);IF(AttackingWithMeleeWeapon(context.Source)):Reroll(Damage,2,true)"

new entry "MAG_TheClover_Mainhand_Passive"
type "PassiveData"
data "DisplayName" "hcef43fa4gdfb7g4779g848ag2fcf75c16918;1"
data "Description" "ha4f04b76gd89fg4110g860egf3375acb74e6;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(MAG_BHAALIST_AURA_OF_MURDER, 100, 1)"

new entry "MAG_TheClover_OffHand_Passive"
type "PassiveData"
data "DisplayName" "h2ca5306bga010g43e6g84adg12d57d191b6e;1"
data "Description" "h5b97d606g97d6g4685g98ecg0d265dfe0618;1"
data "Boosts" "UnlockInterrupt(Interrupt_TheClover_TrueStrike_Riposte)"

new entry "MAG_TheCrimson_Vicious_Passive"
type "PassiveData"
data "DisplayName" "h73e1c4edgce5cg4baagbbb2g76f7ff37c688;1"
data "Description" "h772b28f0gd5c3g495dg8026g116269f94870;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and HasAdvantage() and not HasDisadvantage()"
data "StatsFunctors" "DealDamage(7, Piercing,Magical)"

new entry "MAG_TheCrimson_TwoWeapon_Passive"
type "PassiveData"
using "FightingStyle_TwoWeaponFighting"
data "DisplayName" "hc0b63acagdc17g4fe2gb59bg36692bf4fe2f;1"
data "Icon" ""
data "Properties" "Highlighted"
data "Boosts" "TwoWeaponFighting()"

new entry "MAG_TheDueller_ImprovedDuelist_Passive"
type "PassiveData"
data "DisplayName" "h711045a1g2e51g4ca1gbed0g1f418fa12e6b;1"
data "Description" "hd5a3914bgf8c8g4f2bg89c0gcca964daf305;2"
data "DescriptionParams" "1"
data "BoostContext" "OnCreate;OnEquip"
data "BoostConditions" "IsOffHandSlotEmpty()"
data "Boosts" "ReduceCriticalAttackThreshold(1);ActionResource(ReactionActionPoint,1,0)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and not HasStatus('BLEEDING') and HasStatus('MAG_LEGENDARY_COMPELLED_DUEL')"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 3,,,,not SavingThrow(Ability.Constitution,15))"

new entry "MAG_TheDueller_WitheringCut_Passive"
type "PassiveData"
data "DisplayName" "h74969443gf85bg45b4ga2b3g40a4fe7911ba;1"
data "Description" "h1c73d482ga6f3g4c33g90edg4b33345cb51d;1"
data "Boosts" "UnlockInterrupt(Interrupt_TheDueller_WitheringCut)"

new entry "MAG_Legendary_ArcaneEnchantment_Passive"
type "PassiveData"
using "MAG_ArcaneEnchantment_Passive"
data "DescriptionParams" "3"
data "Boosts" "SpellSaveDC(3);RollBonus(MeleeSpellAttack, 3);RollBonus(RangedSpellAttack,3)"

new entry "MAG_Legendary_Chromatic_Heat_Passive"
type "PassiveData"
using "MAG_Fire_HeatOnFireDamage_Gloves_Passive"
data "DisplayName" "h27c8a3cegdc91g4f43gbf9fg0e4faee404a0;3"
data "Description" "ha9c6eeadg24d0g47c3gb841g1c5123463af6;3"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack;IsHidden"
data "Conditions" "IsSpell() and not Self()"

new entry "MAG_Legendary_Chromatic_Frost_Passive"
type "PassiveData"
using "MAG_Frost_GenerateFrostOnDamage_Gloves_Passive"
data "DisplayName" "h1b5a5f3dg9a00g459egb8fag84853329387e;2"
data "Description" "heea7cbedg6fa6g4fe9g92e4ge535da2a599b;2"
data "DescriptionParams" "2"
data "Properties" "OncePerAttack;IsHidden"
data "Conditions" "IsSpell() and not Self()"

new entry "MAG_Legendary_Chromatic_LightningCharge_Passive"
type "PassiveData"
using "MAG_ChargedLightning_Charge_OnSpellDamage_Passive"
data "DisplayName" "hb702d840g0d9dg4f3agab87gfe095f51ee01;2"
data "Description" "h470a5088gca85g4c9bg8d35gf201b51a077b;2"
data "Properties" "OncePerAttack;IsHidden"
data "Conditions" "IsSpell() and not Self()"

new entry "MAG_Legendary_Chromatic_Reverberation_Passive"
type "PassiveData"
using "MAG_Thunder_ReverberationOnRangeSpellDamage_Amulet_Passive"
data "DisplayName" "h681e32e1gc14fg407bg9950g012b260dc5db;2"
data "Description" "h5a64703cg9082g4017gb22ag36c968896123;3"
data "Properties" "OncePerAttack;IsHidden"
data "Conditions" "IsSpell() and not Self()"

new entry "MAG_Legendary_Chromatic_Poisoned_Passive"
type "PassiveData"
using "MAG_Legendary_Chromatic_Frost_Passive"
data "DisplayName" "had2ec1e3g07c5g4816g9e49ge8947fa59468;2"
data "Description" "hd37f7018g8837g4da9g973ega0f76c75a973;2"
data "StatsFunctors" "ApplyStatus(POISONED,100,2)"

new entry "MAG_Legendary_Chromatic_NoxiousFumes_Passive"
type "PassiveData"
using "MAG_Acid_NoxiousFumes_Gloves_Passive"
data "DisplayName" "hfc4fdb3fg2283g4ad2gbbc1g5f22018f0f64;3"
data "Description" "h11d05e2dg942dg41e7ga730g653d8103e005;2"
data "Properties" "OncePerAttack;IsHidden"
data "Conditions" "IsSpell() and not Self()"

new entry "MAG_Legendary_PsionicResistance_Passive"
type "PassiveData"
data "DisplayName" "h30c7a944g2b97g4733g8356g9b6052db5a73;3"
data "Description" "h29bc987cga6deg4482g8caag6222173414cb;4"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('GITHYANKI', context.Source)"
data "Boosts" "Advantage(SavingThrow, Intelligence);Advantage(SavingThrow, Wisdom);Advantage(SavingThrow, Charisma);StatusImmunity(SG_Charmed);Resistance(Psychic, Resistant)"

new entry "MAG_Legendary_PsionicWeapon_Passive"
type "PassiveData"
using "MAG_Githborn_Mindcrusher_Greatsword_Passive"
data "DescriptionParams" "DealDamage(2d6,Psychic)"
data "TooltipConditionalDamage" "DealDamage(2d6,Psychic)"
data "Boosts" "IF(IsMeleeAttack()):CharacterWeaponDamage(2d6, Psychic)"

new entry "MAG_MagicItemPoweredCast_Passive"
type "PassiveData"
data "DisplayName" "h101a994fg315cg4978ga818g9c86c6bedcee;3"
data "Description" "h046591bbgff79g4775g802dgee3a6a6f942f;4"
data "ExtraDescription" "ha90cbcf2gf55dg4c5dgbf12g23452f8b87d2;1"
data "Icon" "PassiveFeature_ArcaneBattery"
data "PriorityOrder" "1"
data "Properties" "IsToggled;Highlighted;Temporary;OncePerLongRest"
data "StatsFunctorContext" "OnCast"
data "Conditions" "IsSpell() and HasStatus('MAG_MAGIC_ITEM_POWERED_CAST', context.Source)"
data "StatsFunctors" "RemoveStatus(MAG_MAGIC_ITEM_POWERED_CAST);RemoveStatus(GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand), MAG_MAGIC_ITEM_POWERED_CAST_ITEM)"
data "ToggleOnFunctors" "ApplyStatus(MAG_MAGIC_ITEM_POWERED_CAST, 100, -1);ApplyEquipmentStatus(MainHand, MAG_MAGIC_ITEM_POWERED_CAST_ITEM, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_MAGIC_ITEM_POWERED_CAST);RemoveStatus(GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand), MAG_MAGIC_ITEM_POWERED_CAST_ITEM)"
data "ToggleOffContext" "OnCastResolved"

new entry "MAG_Legendary_Chromatic_Spellslot_Passive"
type "PassiveData"
using "MAG_MagicItemPoweredCast_Passive"

new entry "MAG_DexteritySavingThrow_Evasion"
type "PassiveData"
data "DisplayName" "h14ebdac1g41abg4d18ga69bg2b30b996b922;3"
data "Description" "hdbf2e253g3dbag4ba7gbb5cge5218935f8dd;4"
data "Boosts" "UnlockInterrupt(Interrupt_RingOfEvasion)"

new entry "MAG_Necromancy_Evasion"
type "PassiveData"
data "DisplayName" "hf321c5a5g3b59g4257gb8f2ga1e26b210212;2"
data "Description" "hc4efd0b9g99b8g44a2g8a41gb8f80c4a0de0;2"
data "Boosts" "UnlockInterrupt(Interrupt_Scarab_Of_Protection)"

new entry "MAG_Heightened_Necromancy_Passive"
type "PassiveData"
data "DisplayName" "ha45e3bf5gc5e4g4578g8584g96ef8f82cab6;2"
data "Description" "h552bbd99gec93g4c06g9fb1g8525647cf48c;2"
data "Boosts" "UnlockSpellVariant(HeightenedNecromancySpellCheck(),ModifySavingThrowDisadvantage(),ModifyTooltipDescription())"

new entry "MAG_GreaterNecromancyStaff_LifeEssenceHarvest_Passive"
type "PassiveData"
data "DisplayName" "hc78d53a5g6507g4176ga5begbbc16f57f543;2"
data "Description" "h0dfae69cg1f47g43e1g8cabg1ca03a28dbbb;2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsKillingBlow() and IsSpell()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_GREATER_NECROMANCY_LIFE_ESSENCE,100, 1)"

new entry "MAG_GreaterNecromancyStaff_CosumeLifeEssence_Passive"
type "PassiveData"
data "DisplayName" "h974fc825gc350g4ff9ga318g215bdd53309f;2"
data "Description" "h5ccf6135g91e6g451fg8c31g1fb16b8570ea;2"
data "Icon" "PassiveFeature_Generic_Death"
data "Properties" "IsToggled;Temporary;Highlighted;ToggledDefaultAddToHotbar"
data "StatsFunctorContext" "OnCastResolved"
data "Conditions" "IsSpellSchool(SpellSchool.Necromancy)"
data "StatsFunctors" "RemoveStatus(MAG_GREATER_NECROMANCY_LIFE_ESSENCE);RemoveStatus(MAG_GREATER_NECROMANCY_LIFE_ESSENCE_ACTIVE)"
data "ToggleOnFunctors" "ApplyStatus(MAG_GREATER_NECROMANCY_LIFE_ESSENCE_ACTIVE, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_GREATER_NECROMANCY_LIFE_ESSENCE_ACTIVE)"
data "ToggleOffContext" "OnCastResolved"

new entry "MAG_TWN_Surgeon_ParalyzingCritical_Passive"
type "PassiveData"
data "DisplayName" "h6a9f1a04gba30g4fc4gb789gc608461cdd3b;3"
data "Description" "h1968fa05g6536g41f7gaeb9g548bb069b71b;7"
data "DescriptionParams" "2"
data "Properties" "OncePerLongRest"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_ParalyzingCritical)"
data "StatsFunctorContext" "OnCreate;OnLongRest"
data "StatsFunctors" "ApplyStatus(MAG_PARALYZING_CRITICAL_OWNER, 100, -1)"

new entry "MAG_TWN_Brewer_DrunkardRage_Passive"
type "PassiveData"
data "DisplayName" "he4a130abgff41g4523gb29eg783ddfb71769;2"
data "Description" "hfdf2280cg5e74g422cgb439g1155468d7a18;2"
data "DescriptionParams" "DealDamage(2d4,Thunder);Distance(3)"
data "StatsFunctorContext" "OnStatusApplied;OnStatusRemoved"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied) and (StatusId('DRUNK') or StatusId('DRINK_ALCOHOL'))):ApplyStatus(MAG_DRUNKARD_RAGE, 100, -1);IF(context.HasContextFlag(StatsFunctorContext.OnStatusRemoved) and (StatusId('DRUNK') or StatusId('DRINK_ALCOHOL'))):RemoveStatus(MAG_DRUNKARD_RAGE)"

new entry "MAG_TWN_Brewer_DrunkardRage_Explosion_Passive"
type "PassiveData"
using "MAG_TWN_Brewer_DrunkardRage_Passive"
data "Properties" ""
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsMeleeWeaponAttack()"
data "StatsFunctors" "PROJECTILE:CreateExplosion(Projectile_MAG_Mobility_ExplosionOnJump_Explosion)"

new entry "MAG_LegendaryProtection_Passive"
type "PassiveData"
data "DisplayName" "hf620a8ddg9452g4c30gaaf1g7f83be65e53e;2"
data "Description" "hf2d82799ge474g45c9g8031g0b86a43577d2;2"
data "Boosts" "UnlockInterrupt(Interrupt_LegendaryEvasion_Protection)"

new entry "MAG_PsionicResistance_Passive"
type "PassiveData"
data "DisplayName" "h2ce76bedg72bcg468dg84a0gce507bb095ed;1"
data "Description" "hd8669faag3898g43fdgaf38gc4a2e81439b5;1"
data "Boosts" "Resistance(Psychic, Resistant);Tag(CHARMED_ADV)"

new entry "MAG_OfMissileSnaring_Gloves_Passive"
type "PassiveData"
using "DeflectMissiles"
data "DisplayName" "h509c794eg3af0g4349gb1d6g0bc3a4f366a1;3"
data "Description" "h361a10bcg26b2g4a67g9856g28114fa1c492;2"
data "DescriptionParams" "1d10"
data "Boosts" "IF(not HasStatus('SG_Polymorph_BeastShape')):UnlockInterrupt(Interrupt_MAG_MissileSnaring)"
data "StatsFunctorContext" ""
data "StatsFunctors" ""

new entry "MAG_OfArchery_Gloves_Passive"
type "PassiveData"
data "DisplayName" "hcc843058gf1c4g4762g95ddg7a95ac9cfdd0;2"
data "Description" "hb5833a0bgdd74g45fdg80fag4aea32865e4d;2"
data "DescriptionParams" "2"
data "Boosts" "Proficiency(Longbows);Proficiency(Shortbows);IF(IsRangedWeaponAttack()):CharacterWeaponDamage(2)"

new entry "MAG_OfSwordmaster_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h0445cfe5g6a60g48e4g84d4g95928d3674f0;3"
data "Description" "h188e2b94g48bag4c27ga2a6g14b1e83dbc9e;2"
data "DescriptionParams" "1"
data "Boosts" "Proficiency(Shortswords);Proficiency(Longswords);Proficiency(Greatswords);RollBonus(MeleeWeaponAttack, 1)"

new entry "MAG_OfDefense_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h510021a3g7e2fg41adgb296g69c70a470193;2"
data "Description" "h57c03b40gc435g4435gb77egf605552b3825;2"
data "DescriptionParams" "2"
data "Properties" "Highlighted"
data "BoostContext" "OnEquip;OnCreate"
data "BoostConditions" "not WearingArmor(context.Source) and not HasShieldEquipped(context.Source)"
data "Boosts" "AC(2)"

new entry "MAG_SarevokArmor_WitheringBarrier_Passive"
type "PassiveData"
data "DisplayName" "hcbae9b6bgacaeg4585g800bg09f6642d32d2;3"
data "Description" "h0ecf9342g0df9g4c08gaa89gfffa6ac51cbc;9"
data "DescriptionParams" "GainTemporaryHitPoints(2d6);DealDamage(2d6, Piercing);Distance(3)"
data "Properties" "Highlighted"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsDamageTypeNecrotic()"
data "StatsFunctors" "IF(not HasStatus('MAG_WITHERING_BARRIER', context.Source)):ApplyStatus(SWAP, MAG_WITHERING_BARRIER, 100, -1)"

new entry "MAG_SarevokArmor_WitheringBarrier_AOE_Passive"
type "PassiveData"
using "MAG_SarevokArmor_WitheringBarrier_Passive"
data "Description" ""
data "DescriptionParams" ""
data "Icon" ""
data "PriorityOrder" ""
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMeleeAttack() and HasDamageEffectFlag(DamageFlags.Hit)"
data "StatsFunctors" "CreateExplosion(SWAP, Projectile_MAG_SarevoksArmor_WitheringBarrier_Explosion)"

new entry "MAG_Sarevok_HornedHelmet_DeathbringerSight_Passive"
type "PassiveData"
data "DisplayName" "h45510682g7072g49c2g83fdg9ba6394b0c5e;3"
data "Description" "hed42c5a0gbb6bg48f7g8c9egfc75d8eaa058;4"
data "DescriptionParams" "Distance(3);Distance(15);1"
data "Boosts" "ReduceCriticalAttackThreshold(1);DarkvisionRange(3)"

new entry "MAG_Drowelf_PoisonAgainstEnsnared_Passive"
type "PassiveData"
data "DisplayName" "h7828adecg8b14g492cg98a5g969a28f084dc;2"
data "Description" "hbcc48038g2109g4902gb887g1a28e094a0c4;2"
data "DescriptionParams" "DealDamage(2d4, Poison)"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('DROWELF', context.Source)"
data "Boosts" "IF(IsMeleeAttack() and HasStatus('SG_Restrained', context.Target)):CharacterWeaponDamage(2d4, Poison)"

new entry "MAG_OfGreaterSorcery_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h7c83b0d5ge7bcg4629g86f5gdad60949d6c5;4"
data "Description" "h53b69c54gd181g4b14ga825g83284e1979cf;6"
data "DescriptionParams" "1"
data "StatsFunctorContext" "OnCast;OnAttack;OnCastResolved"
data "Conditions" "HasUseCosts('SorceryPoint', true)"
data "StatsFunctors" "ApplyStatus(SELF, MAG_GREATER_SORCERY_TRACKER, 100, -1)"

new entry "MAG_SingingSword_Bane_ThunderDamage_Passive"
type "PassiveData"
data "DisplayName" "h5dfb3188g1721g44ebgb18egafa7f55d68a1;1"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "HasDamageEffectFlag(DamageFlags.Hit)"
data "StatsFunctors" "DealDamage(2d4, Thunder,Magical)"

new entry "MAG_Barkskin_Shield_Passive"
type "PassiveData"
data "DisplayName" "ha9752ce5g3118g4426gba4cg1818f02dd268;3"
data "Description" "h57f8e27cgf8bcg4697g925fgadfa1094bfb4;9"

new entry "MAG_TheWoundSeeker_Greatsword_Passive"
type "PassiveData"
data "DisplayName" "heedc0116g4c80g482agb586g7f6a768baec0;2"
data "Description" "h6d257611g6fc0g4e1cg9948g8a48155b6732;2"
data "DescriptionParams" "1d4"
data "BoostContext" "OnCreate;OnEquip"
data "Boosts" "IF(not HasMaxHP()):RollBonus(MeleeWeaponAttack, 1d4)"

new entry "MAG_ShapeshiftersBurgeon_Passive"
type "PassiveData"
data "DisplayName" "h59031c8bg2e00g4987g840cg3d573c397472;3"
data "Description" "h70faacb7g04d4g4e78g93a5g0ab17c91d651;3"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "IF(StatusHasStatusGroup(context.StatusId, 'SG_Polymorph') or StatusHasStatusGroup(context.StatusId, 'SG_Polymorph_BeastShape')):ApplyStatus(MAG_SHAPESHIFTERS_BOON, 100, -1)"

new entry "MAG_FreeAction_AntiDisplacement_Passive"
type "PassiveData"
data "DisplayName" "hae3accaagc80eg41a0g8b85g11f9e70f4d4e;2"
data "Description" "h6d33022agc561g445fga0feg10ece76c7957;2"
data "Boosts" "StatusImmunity(DIFFICULT_TERRAIN);StatusImmunity(DIFFICULT_TERRAIN_WEB);StatusImmunity(DIFFICULT_TERRAIN_MUD);StatusImmunity(DIFFICULT_TERRAIN_VINES);StatusImmunity(DIFFICULT_TERRAIN_OVERGROWTH);StatusImmunity(DIFFICULT_TERRAIN_LAVA);StatusImmunity(SG_Paralyzed);StatusImmunity(SG_Restrained);StatusImmunity(CRIPPLED);StatusImmunity(HAMSTRING);StatusImmunity(PIN_DOWN)"

new entry "MAG_LifeStealingCritical_Passive"
type "PassiveData"
data "DisplayName" "he2325531gac31g48acg8c8dg674bfd2a2b90;2"
data "Description" "h0efa4f31gb940g4ca1g8cfbg6437af49712a;2"
data "DescriptionParams" "DealDamage(2d10,Necrotic);GainTemporaryHitPoints(10)"
data "TooltipPermanentWarnings" "8892b93b-721f-4b99-b9b4-05ac25aadb33"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and IsCritical() and (Tagged('CONSTRUCT', context.Target) or Tagged('UNDEAD', context.Target))"
data "StatsFunctors" "DealDamage(10, Necrotic,Magical);ApplyStatus(SELF, MAG_TEMPORARY_HP_10, 100, -1)"

new entry "MAG_PHB_OfRegeneration_Ring_Passive"
type "PassiveData"
data "DisplayName" "hf38111b1ge9afg4034ga7cbg86406451dfa1;2"
data "Description" "hdfdc93dfg4eabg4da2ga445g7eb95fb47125;2"
data "DescriptionParams" "RegainHitPoints(2d4)"

new entry "MAG_Warlock_Quickened_Cantrips_Passive"
type "PassiveData"
using "Metamagic_Quickened"
data "DisplayName" "hda1ad612g90d3g4f5fgb5e5g5e7a603b4dab;3"
data "Description" "hc41d1544g8799g4a29g96e0g36bb86d5610c;6"
data "DescriptionParams" ""
data "Icon" "Action_Monster_Bombardement_ProjectileStrike"
data "EnabledConditions" ""
data "EnabledContext" "OnCastResolved;OnActionResourcesChanged;OnShortRest"
data "Properties" "IsToggled;Temporary;OncePerShortRest"
data "Boosts" ""
data "StatsFunctorContext" "OnCast"
data "Conditions" "IsCantrip() and HasStatus('MAG_WARLOCK_QUICKENED_CANTRIPS', context.Source)"
data "StatsFunctors" "RemoveStatus(MAG_WARLOCK_QUICKENED_CANTRIPS)"
data "ToggleOnFunctors" "ApplyStatus(MAG_WARLOCK_QUICKENED_CANTRIPS, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_WARLOCK_QUICKENED_CANTRIPS)"
data "ToggleGroup" ""

new entry "MAG_FreeCast_Execution_Passive"
type "PassiveData"
data "DisplayName" "h21b28c2egcea1g46aag9055g274d4b11333e;3"
data "Description" "h80d47a3cg88adg4c68gbe6agcc8aae2a568c;3"
data "DescriptionParams" "1"
data "Icon" "PassiveFeature_Generic_Tactical"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "not Self() and Character() and Enemy() and not Dead()"
data "StatsFunctors" "IF(IsKillingBlow()):ApplyStatus(SELF, MAG_FREE_CAST_SPELL_LEVEL_3, 100, -1)"

new entry "MAG_FreeCast_Level3_Passive"
type "PassiveData"
using "MAG_FreeCast_Execution_Passive"
data "Description" "h59278dbbg7027g4c5fg93b2g359511cf3650;4"
data "DescriptionParams" "1"
data "Boosts" "UnlockSpellVariant(FreeCastSpellLevel1(),ModifyIconGlow(),ModifyTooltipDescription(), ModifyUseCosts(Replace,SpellSlotsGroup,0,-1,SpellSlotsGroup))"
data "StatsFunctorContext" ""
data "Conditions" ""
data "StatsFunctors" ""

new entry "MAG_Consume_FreeCast_Level3_Passive"
type "PassiveData"
using "MAG_FreeCast_Level3_Passive"
data "Properties" "IsToggled;ToggledDefaultAddToHotbar;Temporary"
data "Boosts" ""
data "StatsFunctorContext" "OnCastResolved"
data "StatsFunctors" "IF(IsSpell() and IsSpellLevel(1)):RemoveStatus(MAG_FREE_CAST_SPELL_LEVEL_3);IF(IsSpell() and IsSpellLevel(1)):RemoveStatus(MAG_FREE_CAST_SPELL_LEVEL_3_ACTIVE)"
data "ToggleOnFunctors" "ApplyStatus(MAG_FREE_CAST_SPELL_LEVEL_3_ACTIVE, 100, -1)"
data "ToggleOffFunctors" "RemoveStatus(MAG_FREE_CAST_SPELL_LEVEL_3_ACTIVE)"

new entry "MAG_BonusAttack_AgainstMarked_Passive"
type "PassiveData"
data "DisplayName" "h9d43e46cg794eg4888ga8e4gc6e7adb48d02;2"
data "Description" "h598865d5gd110g4ab4gace2g103f74e9a574;3"
data "DescriptionParams" "1d4"
data "Boosts" "IF(HasMarkingStatusCondition()):RollBonus(Attack, 1d4)"

new entry "MAG_RiskyAttack_Passive"
type "PassiveData"
data "DisplayName" "h47b2ecc8g3fd5g4364gb2eeg4eb95ffdd244;3"
data "Description" "he79acc70g42ddg4e9agb1fcgaf8111e095cd;2"
data "Boosts" "Advantage(AttackRoll);Disadvantage(AllSavingThrows)"

new entry "MAG_Sorcerer_MM_SeekingSpell"
type "PassiveData"
using "Metamagic_Twinned"
data "DisplayName" "hcf3081ddgc627g475egb71cg50f14009c883;2"
data "Description" "hf10d3b19gf204g481ag81e0gc655e95b51b3;2"
data "DescriptionParams" "1"
data "ExtraDescription" ""
data "ExtraDescriptionParams" ""
data "Icon" "Action_Monster_Orin_DeathbringerAssault"
data "Properties" "IsToggled;ToggledDefaultAddToHotbar;Temporary"
data "Boosts" "UnlockSpellVariant(SpellAttackCheck(),ModifyIconGlow(),ModifyTooltipDescription(),ModifyUseCosts(Add,SorceryPoint,SpellPowerLevel,0));IF(IsSpell()):Advantage(AttackRoll)"
data "ToggleGroup" ""

new entry "MAG_ExtraSorcery_Passive"
type "PassiveData"
data "DisplayName" "h1f55d859g386bg46d6g911bg1318ff5449ad;2"
data "Description" "hf0b7c771g8a28g450ega7f2g3b52cc9e09a6;2"
data "DescriptionParams" "2"
data "Boosts" "ActionResource(SorceryPoint, 2, 0)"

new entry "MAG_HeightenedManeuver_Passive"
type "PassiveData"
data "DisplayName" "h7f619e1dg61e8g446fgbed3g01accb98ff97;2"
data "Description" "h8037c92bgc50cg4c88g8c13gbea95b500b18;2"
data "Boosts" "UnlockSpellVariant(ManeuverAndWeaponActionCheck(),ModifySavingThrowDisadvantage(),ModifyTooltipDescription())"

new entry "MAG_JumpBoost_Passive"
type "PassiveData"
data "DisplayName" "h8f08f8b4g66b1g4be7g893fg68d406c9ebbf;2"
data "Description" "h218cc4bbg83f4g43f1g8153gea048b93bc67;2"
data "DescriptionParams" "Distance(1.5)"
data "Boosts" "JumpMaxDistanceBonus(1.5)"

new entry "MAG_OfTheDuelist_Gloves_Passive"
type "PassiveData"
data "DisplayName" "hce96a4f3g52deg4a86gafb7g8bc85bb71c2c;2"
data "Description" "h475532cbg1c82g432aga91cg0ff9bd73eb58;4"
data "DescriptionParams" "2"
data "Boosts" "IF(FightingStyle_Dueling(context.Source) and IsMeleeWeaponAttack()):RollBonus(Attack, 2)"

new entry "MAG_AttackDamage_Bonus_Passive"
type "PassiveData"
data "DisplayName" "hd469eb69g0af9g4f77g97b0gdbbdd3f05b85;2"
data "Description" "h2a657122g5511g42d2ga7e8g190bd43c0c2a;2"
data "DescriptionParams" "2"
data "Boosts" "RollBonus(Attack, 2);CharacterWeaponDamage(2)"

new entry "MAG_WondrousGloves_Passive"
type "PassiveData"
using "MAG_OfGreaterSorcery_Amulet_Passive"
data "DisplayName" "hfadb36ceg8832g4a5ag9e5egd01c786789ae;2"
data "Description" "h0d9551cbga198g4120gba81g6ce32a25923a;2"
data "DescriptionParams" "1;1"
data "Boosts" "AC(1)"
data "StatsFunctorContext" "OnAttack;OnCast"
data "Conditions" "HasUseCosts('BardicInspiration')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_WONDROUS_GLOVES_TRACKER, 100, -1)"

new entry "MAG_CrushingBlow_Passive"
type "PassiveData"
data "DisplayName" "h88f1a8a1gdb2cg47ceg8a05g45a0ade34387;2"
data "Description" "h133fb342g87fcg4ebdg9353g522c372dbb03;5"
data "DescriptionParams" "1;DealDamage(2, Bludgeoning)"
data "Boosts" "CharacterUnarmedDamage(2, Bludgeoning);RollBonus(MeleeUnarmedAttack, 1);RollBonus(RangedUnarmedAttack, 1)"

new entry "LOW_VampireSpawn"
type "PassiveData"
using "VampireSpawn"
data "Boosts" "Tag(VAMPIRE);UnlockSpell(Target_LOW_VampireBite)"

new entry "MAG_ExoticMaterial_MediumArmor_Passive"
type "PassiveData"
data "DisplayName" "h7f0e20a8g47c3g4b55g97b7gccb6bed6db0b;1"
data "Description" "h58b55e32g38b4g46e9gb946ge41b3a80869f;1"

new entry "MAG_Nimblefinger_Passive"
type "PassiveData"
data "DisplayName" "h34720e91g6952g4426g97b8gcd59eeab5625;1"
data "Description" "h27d0f497gf17cg49aeg911bga8c3c535f5c7;2"
data "DescriptionParams" "2;1"
data "Boosts" "IF(Tagged('GNOMES')):Ability(Dexterity, 2);IF(Tagged('HALFLING') or Tagged('DWARF')):Ability(Dexterity, 1)"

new entry "MAG_BansheeBless_Passive"
type "PassiveData"
data "DisplayName" "h18b2e6adg7043g4fbbg91e9ge40520c0cb7c;2"
data "Description" "hf0690e21g6b01g4b0ag9cd8g24431d7fbe95;3"
data "DescriptionParams" "1d4"
data "Boosts" "IF(HasStatus('SG_Frightened', context.Target)):CharacterWeaponDamage(2d4);IF(HasStatus('SG_Frightened', context.Target)):RollBonus(Attack, 1d4)"

new entry "MAG_UndeadSlayer_Passive"
type "PassiveData"
data "DisplayName" "hb1e1efaag886bg4cdbgad72g260c65a38e17;1"
data "Description" "he543a58dgc4f9g4a25ga5e9gca44862ddc0b;1"
data "DescriptionParams" "1d4"

new entry "MAG_BG_BlightBringer_Passive"
type "PassiveData"
using "MAG_UndeadSlayer_Passive"
data "DisplayName" "h6525a5bfg162cg4b3bg96b2gc0531e7b0edb;1"
data "Description" "h7d50a449ga516g4137g9742g9d5835c8807d;1"
data "Boosts" "IF(Tagged('DWARF', context.Target) or Tagged('GNOME', context.Target)):RollBonus(RangedWeaponAttack, 1d4)"

new entry "MAG_BG_SlowedOnCrit_Passive"
type "PassiveData"
using "MAG_Vicious_Weapon_Passive"
data "DisplayName" "h7e3535a2g34abg4447g9b25g72a21f735088;1"
data "Description" "ha7341f13g5c89g4cd0g8f8dga2e245777df0;1"
data "DescriptionParams" ""
data "BoostContext" ""
data "Boosts" ""
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and IsCritical()"
data "StatsFunctors" "ApplyStatus(SLOW, 100, 2)"

new entry "MAG_BlightBringer_Passive"
type "PassiveData"
data "DisplayName" "hf8844abcg83c8g494ag901cg7011ab3b63fc;2"
data "Description" "h1e4d9706gf2c6g4972gadf8g33d16f853a46;1"
data "DescriptionParams" "DealDamage(3d6, Necrotic)"

new entry "MAG_StrengthBonusToWeaponDamage_Passive"
type "PassiveData"
data "DisplayName" "h5d2ad051g524cg4307gb74cge85e1245e5f0;2"
data "Description" "h03946d5bg81a1g4ec9gb7a2g1e6167466678;4"
data "ExtraDescription" "h7da1219egedbdg458eg8c60gee7db3a9bc5a;1"
data "Boosts" "IF(IsRangedWeaponAttack()):DamageBonus(max(1,StrengthModifier))"

new entry "MAG_DoubleProficiencyBonusToRangedAttack_Passive"
type "PassiveData"
data "DisplayName" "hfe658e21gff09g4012ga930g882600f006ee;1"
data "Description" "hda8eb6eeg8550g4a0cga4e6gbbbab760e224;4"
data "Boosts" "IF(not HasDisadvantage()):RollBonus(RangedWeaponAttack, ProficiencyBonus)"

new entry "MAG_Aid_5_MaxHP_Passive"
type "PassiveData"
using "MAG_HelmOfBalduran_MaxHP_Passive"
data "DisplayName" "h388aa1a1g36a8g406dgad60g93c9377c2503;1"

new entry "MAG_Aid_10_MaxHP_Passive"
type "PassiveData"
using "MAG_Aid_5_MaxHP_Passive"
data "DescriptionParams" "10"
data "Boosts" "IncreaseMaxHP(10)"

new entry "MAG_AdditionalSpellSlot_Level1_Passive"
type "PassiveData"
using "AdditionalSpellSlot_Level_1"
data "DisplayName" "hefffd968g8067g42d8g9114g1d71bc20aa57;1"
data "Description" "h40d6f9b7g10b9g4665gb780gaca2771eaa2b;2"
data "DescriptionParams" "1;1"
data "Properties" ""

new entry "MAG_AdditionalSpellSlot_Level2_Passive"
type "PassiveData"
using "MAG_AdditionalSpellSlot_Level1_Passive"
data "DescriptionParams" "1;2"
data "Boosts" "ActionResource(SpellSlot,1,2)"

new entry "MAG_AdditionalSpellSlot_Level3_Passive"
type "PassiveData"
using "MAG_AdditionalSpellSlot_Level1_Passive"
data "DescriptionParams" "1;3"
data "Boosts" "ActionResource(SpellSlot,1,3)"

new entry "MAG_InitiativeBonus_1_Passive"
type "PassiveData"
data "DisplayName" "h72f85fe9g3f50g4cafg9e54g7f9c8542cd7b;1"
data "Description" "hd96c976bg61c0g4804g8000g839a4826b923;1"
data "DescriptionParams" "1"
data "Boosts" "Initiative(1)"

new entry "MAG_InitiativeBonus_2_Passive"
type "PassiveData"
using "MAG_InitiativeBonus_1_Passive"
data "DescriptionParams" "2"
data "Boosts" "Initiative(2)"

new entry "MAG_ForcefulSneakAttack_Passive"
type "PassiveData"
data "DisplayName" "h5593a398g9a3bg4272gaf2cga94278f772cd;1"
data "Description" "hfa1c8818g9301g48afgba5ege06d5bd04fbf;1"
data "DescriptionParams" "DealDamage(2d4, Force)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "SpellId('Target_SneakAttack') or SpellId('Projectile_SneakAttack') or SpellId('Interrupt_SneakAttack')"
data "StatsFunctors" "DealDamage(2d4, Force,Magical)"

new entry "MAG_Slicing_Shortsword_Passive"
type "PassiveData"
data "DisplayName" "h0aa86c48g39edg4677g94edgd327b4a943ab;1"
data "Description" "h3add2e73g91f4g457cg97c3g9e6db00f8db8;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and HasAdvantage() and not HasDisadvantage()"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 2)"

new entry "MAG_ArcaneTrickster_Ring_Passive"
type "PassiveData"
data "DisplayName" "h114939dbg26e6g4852g9444g0de8a00a150a;2"
data "Description" "hf3fe1d3cgb568g4420ga71dg10c48187f73c;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "IsWeaponAttack()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_ARCANE_TRICKSTER_ILLUSION_QUICKENING, 100, 1)"

new entry "MAG_BoundToBeBonded_Passive"
type "PassiveData"
data "DisplayName" "h6733d65aga377g4052gb2e7gf10e8512c9fa;2"
data "Description" "h1f089d51gf8c4g4f13g8c86gbee87cae12f0;4"
data "DescriptionParams" "1"

new entry "MAG_BanefulBound_Passive"
type "PassiveData"
data "DisplayName" "h61da479fgc78eg4af0gb846gd858d8b18312;1"
data "Description" "h01c336f9gb701g483eg9949g47d9c04f8485;1"

new entry "MAG_BoundToBeBonded_Technical_Passive"
type "PassiveData"
using "MAG_BoundToBeBonded_Passive"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('WEAPON_BOND') or StatusId('PACT_BLADE')"
data "StatsFunctors" "ApplyStatus(MAG_WEAPON_ATTACK_ROLL_BONUS, 100, -1)"

new entry "MAG_ShockingBound_Passive"
type "PassiveData"
data "DisplayName" "h90c1eafcg5c59g49d5ga69eg45846b1032bd;1"
data "Description" "h53cd214cgad99g4f66g881eg047566046cbf;1"
data "DescriptionParams" "DealDamage(2d6, Lightning)"

new entry "MAG_ShockingBound_Passive_Technical_Passive"
type "PassiveData"
using "MAG_ShockingBound_Passive"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('WEAPON_BOND') or StatusId('PACT_BLADE')"
data "StatsFunctors" "ApplyStatus(MAG_CHARGED_LIGHTNING_LIGHTNING_GREATER_WEAPON, 100, -1)"

new entry "MAG_Bound_ProficiencyToDamage_Passive"
type "PassiveData"
data "DisplayName" "h2ce0bd6fg790cg4832g81afg3464d4d21af1;1"
data "Description" "hedcef69fgf78cg469cg901fg33e2f56f43bd;1"

new entry "MAG_Bound_ProficiencyToDamage_Technical_Passive"
type "PassiveData"
using "MAG_Bound_ProficiencyToDamage_Passive"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('WEAPON_BOND') or StatusId('PACT_BLADE')"
data "StatsFunctors" "ApplyStatus(MAG_WEAPON_PROFICIENCY_BONUS_DAMAGE, 100, -1)"

new entry "MAG_Bound_Throwing_Passive"
type "PassiveData"
data "DisplayName" "h353f45b1ge829g47b7g81bcgf328dc10c881;1"
data "Description" "had1e58a5g61efg49e6gbd3cg7e0a9fb35a10;1"
data "DescriptionParams" "DealDamage(2d4, Thunder)"

new entry "MAG_Bound_Throwing_Technical_Passive"
type "PassiveData"
using "MAG_Bound_Throwing_Passive"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('WEAPON_BOND') or StatusId('PACT_BLADE')"
data "StatsFunctors" "ApplyStatus(MAG_BONDED_THROWING, 100, -1);ApplyStatus(MAG_THUNDER_THROW, 100, -1)"

new entry "MAG_BG_OfAges_Flail_Passive"
type "PassiveData"
data "DisplayName" "h114aac4dg8341g4b93gb7a1ge7e9345cd114;1"
data "Description" "h45c08211g5396g4a90gac00g81557321efd0;1"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "IF(IsDamageTypeAcid()):ApplyStatus(ACID, 100, 2,,,,not SavingThrow(Ability.Constitution,13));IF(IsDamageTypeCold()):ApplyStatus(CHILLED, 100, 2,,,,not SavingThrow(Ability.Constitution,13));IF(IsDamageTypeFire()):ApplyStatus(BURNING, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_PhysicalDamageReduction_Passive"
type "PassiveData"
data "DisplayName" "h3571c70ag866eg4455gabd4g25e4fba2b9e2;1"
data "Description" "he751ffdcg3974g430cg8846ged67df31fa00;1"
data "DescriptionParams" "1"
data "Boosts" "DamageReduction(Piercing, Flat, 1);DamageReduction(Bludgeoning, Flat, 1);DamageReduction(Slashing, Flat, 1)"

new entry "MAG_AdvantageOnReactionAttack_Passive"
type "PassiveData"
data "DisplayName" "h73329dd6g5b8eg4490g884eg0e862972e714;1"
data "Description" "h37324cd7gc983g4d6cgab27gd6c9192de26d;2"
data "Boosts" "IF(IsReactionAttack()):Advantage(AttackRoll)"

new entry "MAG_InitiativeWeapon_Passive"
type "PassiveData"
using "MAG_PHB_Sentinel_Shield_Passive"
data "DisplayName" "h28f78643g15b3g45d2g991ag567544d05c16;2"
data "DescriptionParams" "1"
data "Boosts" "Initiative(1);Advantage(Skill, Perception)"

new entry "MAG_FrightenedDisadvantage_Passive"
type "PassiveData"
data "DisplayName" "h848d9e4dgdfc7g4f79g8827g6f25bf932571;2"
data "Description" "hdf4b42d2g22aag495cga5d2gc4158974ee33;1"

new entry "MAG_DazingSmite_Passive"
type "PassiveData"
data "DisplayName" "h423f6b61gd5fcg4b7fgb3ecg6cc19b8efb47;1"
data "Description" "h14a7830eg4087g46bbg9bcagc0d78eb24525;1"
data "StatsFunctorContext" "OnDamage;OnStatusApply"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnDamage) and IsSmiteSpells()):ApplyStatus(DAZED, 100, 2,,,,not SavingThrow(Ability.Constitution,13));IF(context.HasContextFlag(StatsFunctorContext.OnStatusApply) and StatusId('INTERRUPT_SMITE_DIVINE_VFX')):ApplyStatus(DAZED, 100, 2,,,,not SavingThrow(Ability.Constitution,13))"

new entry "MAG_FrightenedAdvantage_Passive"
type "PassiveData"
data "DisplayName" "h143e00d0gbebfg4e8ag9f7bg2672db54f628;2"
data "Description" "h0ee38398g29d4g45fcga2ebg03169ff8c7a3;2"
data "Boosts" "IF(HasStatus('SG_Frightened', context.Target)):Advantage(AttackRoll)"

new entry "UNI_WYR_Circus_ClownHammer_Passive"
type "PassiveData"
data "DisplayName" "hc85d5e63g2483g46begada9gebdd99d02c0a;1"
data "Description" "h2a73f220g161ag479agb8cfg2d0aff20c314;2"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon() and IsCritical()"
data "StatsFunctors" "IF(Tagged('HUMANOID',context.Source) and not SavingThrow(Ability.Wisdom,17, false, false, context.Source)):ApplyStatus(SELF,HIDEOUS_LAUGHTER,100, 2); IF(Tagged('HUMANOID', context.Target) and not SavingThrow(Ability.Wisdom,17, false, false, context.Target)):ApplyStatus(HIDEOUS_LAUGHTER,100, 2)"

new entry "MAG_Fighter_ActionSurge_AttackBonus_Gloves_Passive"
type "PassiveData"
data "DisplayName" "ha764f535g604dg4cf0g8d2eg316fc2e86b71;1"
data "Description" "h3eeaee9cge03bg4b30g93c3g1108397f1e99;1"
data "DescriptionParams" "1d4"
data "StatsFunctorContext" "OnCast"
data "Conditions" "SpellId('Shout_ActionSurge')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_FIGHTER_ACTION_SURGE_ACCURACY, 100, 1)"

new entry "MAG_DarkJusticiarGloves_Passive"
type "PassiveData"
data "DisplayName" "he5ba861bg5fb7g4190gb366g09397775d352;1"
data "Description" "h95b34e82g7a11g4d2bg9520g8f9efe507b11;2"
data "DescriptionParams" "DealDamage(2d4, Necrotic)"
data "Boosts" "CharacterWeaponDamage(2d4, Necrotic)"

new entry "MAG_DarkJusticiar_Armor_Stealth_Passive"
type "PassiveData"
data "DisplayName" "h0b021473g3078g4d1bg8421g5514b1ed3811;3"
data "Description" "he293415fgcb58g4e76g938dgfa0cda44cd54;4"
data "Boosts" "Advantage(Skill, Stealth)"

new entry "MAG_DarkJusticiar_Armor_Protection_Passive"
type "PassiveData"
data "DisplayName" "h3d3995f3gb406g4565gbb06ga6a4d41cbc49;1"
data "Description" "h3ff2b56bgdbeeg40ccga2eegf462b82082d4;1"
data "DescriptionParams" "2;DealDamage(2d4, Necrotic)"
data "StatsFunctorContext" "OnDamaged;OnStatusApplied"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnDamaged) and HasStatus('SHIELD_OF_FAITH') and not Self()):DealDamage(SELF, 1d4, Necrotic,Magical);IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied) and StatusId('SHIELD_OF_FAITH')):ApplyStatus(MAG_DARK_JUSTICIAR_ARMOR_SHAR_PROTECTION, 100, -1);IF(context.HasContextFlag(StatsFunctorContext.OnDamaged) and HasStatus('SHIELD_OF_FAITH') and not Self()):ApplyStatus(MAG_DARK_JUSTICIAR_ARMOR_SHAR_PROTECTION_DAMAGE, 100, 0);IF(context.HasContextFlag(StatsFunctorContext.OnStatusApplied) and StatusId('SHIELD_OF_FAITH')):ApplyStatus(MAG_DARK_JUSTICIAR_ARMOR_SHAR_PROTECTION_DAMAGE, 100, 0)"

new entry "MAG_Barbarian_Helmet_BoneSpike_Passive"
type "PassiveData"
data "DisplayName" "hacf8efaeg21a9g44ebg8f75g2c24894807d6;1"
data "Description" "h9d0632ceg26e7g4368g9274g02bfb9bf2003;5"
data "DescriptionParams" "Distance(3);DealDamage(3d4, Psychic)"
data "StatsFunctorContext" "OnStatusApply"
data "Conditions" "StatusHasStatusGroup(context.StatusId, 'SG_Rage')"
data "StatsFunctors" "CreateExplosion(Projectile_MAG_Barbarian_Rage_EmotionalDamage_Explosion)"

new entry "MAG_Barbarian_Armor_MeatShield_Passive"
type "PassiveData"
using "MAG_Barbarian_Helmet_BoneSpike_Passive"
data "DisplayName" "h4b496ebfgc174g4dc0gb462gaf6e61397cb9;1"
data "Description" "h31e8b0c3ge5bfg47a3g9e18ge4640829c3e7;2"
data "DescriptionParams" "GainTemporaryHitPoints(15)"
data "StatsFunctors" "ApplyStatus(SELF, MAG_TEMPORARY_HP_15, 100, -1)"

new entry "MAG_Barbarian_Armor_BoneSpike_Passive"
type "PassiveData"
using "ARM_MagicalPlate_2_Passive"
data "DisplayName" "ha413d121ge5d0g4f7dgbf5ag3420f869c237;1"
data "Description" "h7ed43f42g29bdg4fd9gaa57g8ae15d3aed2c;2"
data "DescriptionParams" "2;DealDamage(max(1, ConstitutionModifier), Piercing)"
data "StatsFunctorContext" "OnAttacked"
data "Conditions" "IsMeleeAttack() and (IsHit() or IsCritical()) and not IsMiss() and not IsCriticalMiss()"
data "StatsFunctors" "DealDamage(SWAP, max(1, ConstitutionModifier), Piercing)"

new entry "MAG_Barbarian_Boots_BoneSpike_Defense_Passive"
type "PassiveData"
using "MAG_OfDefense_Gloves_Passive"
data "DisplayName" "hb45f2fffg2746g4f99ga5d5g31eee38fe05c;1"
data "Description" "hc2553729ge05dg4491g971fg73b72c83a047;1"
data "DescriptionParams" "1"
data "Boosts" "AC(1);RollBonus(SavingThrow, 1)"

new entry "MAG_Barbarian_Gloves_BoneSpike_Passive"
type "PassiveData"
data "DisplayName" "hb6812072g2949g4a49ga6feg9a77f66608f2;1"
data "Description" "h433f06aag5b69g49adg9a05g3d568bb7c6a7;1"
data "Boosts" "IgnoreResistance(Slashing, Resistant);IgnoreResistance(Piercing, Resistant);IgnoreResistance(Bludgeoning, Resistant)"

new entry "MAG_BarbMonk_Armor_Offensive_Passive"
type "PassiveData"
data "DisplayName" "h2311e227gdde1g424eg9e48g16d6a7e639e7;1"
data "Description" "h2c511b04gd6b7g4a1cgaef0ga06ece2f2561;3"
data "DescriptionParams" "2;20"
data "Boosts" "Ability(Strength, 2, 20)"

new entry "MAG_BarbMonk_Armor_Defensive_Passive"
type "PassiveData"
data "DisplayName" "hcb68af30g323fg4895ga517g754ec46e1573;1"
data "Description" "hec56da93g029eg451dg9db4g0e345649cb15;4"
data "DescriptionParams" "2;20"
data "Boosts" "Ability(Dexterity, 2, 20)"

new entry "MAG_IgnoreSlashingResistance_Passive"
type "PassiveData"
data "DisplayName" "h226b6cacgc1a7g451fg9c98g30e3b761fcdc;1"
data "Description" "h484ad669gd0d2g4ac1g8b26g4139664ff70b;2"
data "Boosts" "IgnoreResistance(Slashing, Resistant)"

new entry "MAG_IgnoreBludgeoningResistance_Passive"
type "PassiveData"
using "MAG_IgnoreSlashingResistance_Passive"
data "Description" "h6df483dcgeefbg442bg854dg1eb273db281e;2"
data "Boosts" "IgnoreResistance(Bludgeoning, Resistant)"

new entry "MAG_IgnorePiercingResistance_Passive"
type "PassiveData"
using "MAG_IgnoreSlashingResistance_Passive"
data "Description" "hedc32751gca54g4e29g9ea8g97826a3e7079;2"
data "Boosts" "IgnoreResistance(Piercing, Resistant)"

new entry "MAG_Defender_DefensiveStance_Passive"
type "PassiveData"
data "DisplayName" "hb842e1f3gf3d9g46afg8d0bg290abf0e5b73;2"
data "Description" "hfc1795e9gea2eg4cb6gb4ffg2c92e6558887;5"
data "DescriptionParams" "1"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_Defender_Weapon)"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_DEFENDER_FIRST_ATTACK, 100, 1)"

new entry "MAG_KhalidsGift_CursedImmunity_Passive"
type "PassiveData"
data "DisplayName" "h03b77761gef65g431eg88bcg92ee8dfbdc68;1"
data "Description" "hb7754685g2505g4588gac42g98e1cb73f633;4"
data "DescriptionParams" "10"
data "BoostContext" "OnCreate"
data "BoostConditions" "Tagged('REALLY_JAHEIRA', context.Source)"
data "Boosts" "StatusImmunity(SG_Cursed)"

new entry "MAG_PHB_DwarvenThrower_Passive"
type "PassiveData"
data "DisplayName" "hb8dd4732g3001g4d6cg8f16g068a319d910e;1"
data "Description" "h1d02dd81g5bfag4743g8dd3gb5b6b214b9b9;3"
data "DescriptionParams" "DealDamage(2d8, Bludgeoning);DealDamage(3d8, Bludgeoning)"

new entry "CTY_NecromancyOfThay_ForbiddenKnowledge_Passive"
type "PassiveData"
data "DisplayName" "h4f3a22fcg44a3g4a63g83f2gb2d97a9ae6b0;1"
data "Description" "hfbc5e339g9c3dg48bfgb84dgbe65dc738b02;5"
data "DescriptionParams" "1"
data "Properties" "Highlighted"
data "Boosts" "RollBonus(SavingThrow, 1, Wisdom);RollBonus(RawAbility, 1, Wisdom)"

new entry "LOW_SharGrotto_Mirror_StrengthBoon_Passive"
type "PassiveData"
data "DisplayName" "h764e17b6g7179g47c8g8664g036ea0aa47c8;1"
data "Description" "h2ed514c9g96e6g475bg932dg7f04972ab91c;1"
data "Boosts" "Ability(Strength, 2, 24)"

new entry "LOW_SharGrotto_Mirror_DexterityBoon_Passive"
type "PassiveData"
data "DisplayName" "hb02a88e5g864cg4426g95b0gcc86b1085a81;1"
data "Description" "hd0ec7abfgc889g4a08g97d4g3ccaa00cb076;1"
data "Boosts" "Ability(Dexterity, 2, 24)"

new entry "LOW_SharGrotto_Mirror_ConstitutionBoon_Passive"
type "PassiveData"
data "DisplayName" "h0e4c9f31gfa23g4544g9730gcda4fb40bfd6;1"
data "Description" "h50bd9b3bg0203g4e57gab98g1338dcaa014c;1"
data "Boosts" "Ability(Constitution, 2, 24)"

new entry "LOW_SharGrotto_Mirror_IntelligenceBoon_Passive"
type "PassiveData"
data "DisplayName" "hb1db5d26g99b3g48ccga162gab74e91c7afa;1"
data "Description" "h53c7cbf4g7ca5g46c4g802dg61047a6a812c;1"
data "Boosts" "Ability(Intelligence, 2, 24)"

new entry "LOW_SharGrotto_Mirror_WisdomBoon_Passive"
type "PassiveData"
data "DisplayName" "h25b44863g8bafg415ag8ae4gda0cb9d8a79a;1"
data "Description" "h116bd776g2cfcg4002gac75gfd18109f8879;1"
data "Boosts" "Ability(Wisdom, 2, 24)"

new entry "LOW_SharGrotto_Mirror_CharismaBoon_Passive"
type "PassiveData"
data "DisplayName" "h5b94094fg088ag444dg82afgdb331ca4eaaf;1"
data "Description" "hcca339d6gca0cg4ab1gb10eg3d32c605de1a;1"
data "Boosts" "Ability(Charisma, 2, 24)"

new entry "LOW_SharGrotto_Mirror_MinorCharismaBoon_Passive"
type "PassiveData"
data "DisplayName" "h9390661dg6108g458eg888cg642df559f83b;1"
data "Description" "h1c3cc6a5g5e6bg4504g9fd2gf5c13a5a9322;1"
data "Boosts" "Ability(Charisma, 1, 24)"

new entry "LOW_BhaalAmulet_Passive"
type "PassiveData"
using "UND_Duergar_ShortswordOfFirstBlood_Passive"
data "DisplayName" "hdadaf99eg1673g4539gad27gf3dc1f79cec3;1"
data "Description" "h08f15931gd582g4f59g895fgdc8dc638977b;3"
data "DescriptionParams" ""
data "TooltipConditionalDamage" ""
data "Conditions" "HasMaxHP() and IsAttack() and not IsMiss()"
data "StatsFunctors" "ApplyStatus(BLEEDING, 100, 2)"

new entry "MAG_Wizard_PointyHat_Passive"
type "PassiveData"
data "DisplayName" "h8f2a224bgad37g432bga00bg834b44cb5b4d;1"
data "Description" "hca666c07ga586g4b9bg807dg8036f42b632c;1"
data "Boosts" "Skill(Persuasion, IntelligenceModifier)"

new entry "Background_HauntedOne"
type "PassiveData"
data "DisplayName" "h18484316gdd73g4d78g9454gd3f8a456cf22;1"
data "Description" "hc84e6746g2ecfg40cbg8eaagfb4784d240c1;1"
data "Boosts" "ProficiencyBonus(Skill,Medicine);ProficiencyBonus(Skill,Intimidation)"

new entry "Background_TricksterHedonist"
type "PassiveData"
data "DisplayName" "h75bae1b9g4836g4d3cgac08ga10a7705ef00;2"
data "Description" "h7ce81725g2a6eg4d6fga9f8gb1a23b8c92be;1"
data "Boosts" "ProficiencyBonus(Skill,Deception);ProficiencyBonus(Skill,Stealth)"

new entry "Background_AstralZealot"
type "PassiveData"
data "DisplayName" "hc16c35dcged4fg49ceg8379gdaf90a12448e;2"
data "Description" "hcc4974e9gb0c3g4df1gbf20g824c4c7842bc;1"
data "Boosts" "ProficiencyBonus(Skill,Athletics);ProficiencyBonus(Skill,Intimidation)"

new entry "Background_WaterdavianMagus"
type "PassiveData"
data "DisplayName" "h3fa47fb6gc860g4956gaa1eg5c49d4c5c7d0;2"
data "Description" "h65dce724ge135g4c1cga8e0gce4ae48ee1e5;1"
data "Boosts" "ProficiencyBonus(Skill,Arcana);ProficiencyBonus(Skill,History)"

new entry "Background_CloisteredStray"
type "PassiveData"
data "DisplayName" "hdffe278age6c4g4e5cg9608g6d027c199cb4;2"
data "Description" "hecee3a25g2f88g4949ga21eg646fe20d5ff4;1"
data "Boosts" "ProficiencyBonus(Skill,Religion);ProficiencyBonus(Skill,Survival)"

new entry "Background_BladeOfFrontiers"
type "PassiveData"
data "DisplayName" "h52007b4fg433dg4f22g83acg040acd7cf506;2"
data "Description" "h7ca0137bg4d19g4dd2gb3cbg60fd7f23f532;1"
data "Boosts" "ProficiencyBonus(Skill,Athletics);ProficiencyBonus(Skill,Persuasion)"

new entry "Background_BloodWarVeteran"
type "PassiveData"
data "DisplayName" "h92b35a3fgc289g4607gacc8g61fe537cc0cf;2"
data "Description" "h2e7c5f0fg3e6dg4d8ag96d1g4375cac2efe7;1"
data "Boosts" "ProficiencyBonus(Skill,Athletics);ProficiencyBonus(Skill,Survival)"

new entry "Background_UnderdarkExile"
type "PassiveData"
data "DisplayName" "h51b825b4g1025g4cb8g8407ga295e810a00c;2"
data "Description" "h4ef3b420gc6efg4defgb1f4gd216eab398a6;1"
data "Boosts" "ProficiencyBonus(Skill,Deception);ProficiencyBonus(Skill,Intimidation)"

new entry "Background_VeteranMentor"
type "PassiveData"
data "DisplayName" "h6e81c49cg8f1eg4b96gb435g8abb29dcb43a;2"
data "Description" "ha79b7600g8163g4e71g82f6gd7eaf01b062f;1"
data "Boosts" "ProficiencyBonus(Skill,Insight);ProficiencyBonus(Skill,Intimidation)"

new entry "Background_GroveKeeper"
type "PassiveData"
data "DisplayName" "h5abac195gaa85g48b4gb67fg1f76df9747b1;2"
data "Description" "h46a575cfg334bg4f66gb969gbdd2235ed6eb;1"
data "Boosts" "ProficiencyBonus(Skill,AnimalHandling);ProficiencyBonus(Skill,Nature)"

new entry "Background_LegendOfBaldur'sGate"
type "PassiveData"
data "DisplayName" "h2ee00891g2110g474fgacf1gbaadee635f1c;2"
data "Description" "h86f2588eg73e9g4fc3g9a22g562cea0c79af;1"
data "Boosts" "ProficiencyBonus(Skill,AnimalHandling);ProficiencyBonus(Skill,Perception)"

new entry "MAG_BarbMonk_Strength_Passive"
type "PassiveData"
data "DisplayName" "h1f8f4992ge642g4467gb701gf06ba4c304ae;2"
data "Description" "ha949757fgd645g4f7bgaa2eg3eeb1c638446;3"
data "Boosts" "Attribute(Grounded);Tag(RESTRAINED_ADV)"

new entry "MAG_BarbMonk_Dexterity_Passive"
type "PassiveData"
data "DisplayName" "hf4be6025ga0a7g4a91gab10g47cc61eaa38d;2"
data "Description" "hbd68b0a2gc85bg4646ga088g487d42a0b9d6;5"
data "DescriptionParams" "1;Distance(1.5)"
data "Boosts" "RollBonus(SavingThrow, 1, Dexterity);JumpMaxDistanceBonus(1.5)"

new entry "MAG_Barbarian_Armor_RageSupport_Passive"
type "PassiveData"
data "DisplayName" "h66afe6c4gda90g4c0bgab22g9c0c9ff03924;1"
data "Description" "h91a3da0cg3810g465dgbe35g327f87e60972;2"
data "DescriptionParams" "2"

new entry "MAG_Monk_Armor_MountainStance_Passive"
type "PassiveData"
data "DisplayName" "h0d95fe10gdd02g41f8g91fcgac832eadc51c;1"
data "Description" "hf633200cgd324g42f1gb7efg6100e0e6bbfb;1"
data "StatsFunctorContext" "OnCast"
data "Conditions" "SpellId('Shout_PatientDefense')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_MONK_MOUNTAIN_BLADE_WARD, 100, 1)"

new entry "MAG_Monk_Armor_WindStance_Passive"
type "PassiveData"
data "DisplayName" "h36797947gb3dbg4ab1gb332gf0e8ebca97ba;1"
data "Description" "h7f19dc10gc8a6g4398g8dcbg4e7497c7f351;3"
data "DescriptionParams" "DealDamage(2d8, Force)"
data "StatsFunctorContext" "OnCast"
data "Conditions" "SpellId('Shout_Dash_StepOfTheWind') or SpellId('Shout_Disengage_StepOfTheWind')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_MONK_SWIFT_AS_THE_WIND, 100, 1)"

new entry "MAG_ArmorOfAuthority_Passive"
type "PassiveData"
data "DisplayName" "h78aa5befg4b75g4115gb534g25d949fe9089;1"
data "Description" "h54078601g3f91g4beeg8c81g10ce13d5fba1;2"
data "Boosts" "Advantage(Skill, Intimidation);Advantage(Skill, Insight)"

new entry "MAG_Bedazzling_Passive"
type "PassiveData"
data "DisplayName" "h975e649dg0003g48a7gb416g6ee8596889f4;1"
data "Description" "h4afeab0agcaa1g45fcg8097g149d6bca59f7;1"
data "DescriptionParams" "1"
data "Boosts" "RollBonus(RawAbility, 1, Charisma);RollBonus(SavingThrow, 1, Charisma)"

new entry "MAG_Orthon_Hellfire_Crossbow_Passive"
type "PassiveData"
using "UNI_DarkUrge_Bleeding_Dagger_Passive"
data "DisplayName" "h6be57554g7c70g4a43ga368geff5984a9024;1"
data "Description" "hca2fd184ge17fg4db4g8bcbgb4ec9a4375e4;2"
data "Conditions" "AttackedWithPassiveSourceWeapon() and (HasStatus('SNEAKING_CLEAR', context.Source) or HasStatus('SNEAKING_LIGHTLY_OBSCURED', context.Source) or HasStatus('SNEAKING_HEAVILY_OBSCURED', context.Source) or HasStatus('SG_Invisible', context.Source))"
data "StatsFunctors" "ApplyStatus(BURNING, 100, 2,,,,not SavingThrow(Ability.Constitution,15))"

new entry "MAG_Cunning_HandCrossbow_Combo_Passive"
type "PassiveData"
data "DisplayName" "h409a130eg0873g41b9gbee5g1142c6cc85a5;1"
data "Description" "h86247aa2gc661g4301g8201g47849046268d;2"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_Cunning_Combo_HandCrossbow)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "AttackedWithPassiveSourceWeapon()"
data "StatsFunctors" "UseSpell(Target_Sentinel_AttackOfOpportunity,true,true,true);DealDamage(2d4, Force,Magical)"

new entry "MAG_Selunite_LunarProtection_Passive"
type "PassiveData"
data "DisplayName" "hc4fc035dg20a0g4cf1gb88cgedf06ed1c4f5;1"
data "Description" "h431b5b51gfdbdg4380gb856geed9f805f98c;3"
data "DescriptionParams" "DealDamage(2d4, Radiant)"
data "StatsFunctorContext" "OnAttacked"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnAttacked) and HasStatus('MAGE_ARMOR') and IsLastConditionRollSuccess(ConditionRollType.ConditionSavingThrow) and not Self() and IsSavingThrow()):DealDamage(SWAP, 1d4, Radiant,Magical)"

new entry "MAG_Interrupt_MAG_Shield_Resource_Passive"
type "PassiveData"
data "DisplayName" "h549d278egc3fag4964ga852gc40cc58ff446;1"
data "Properties" "IsHidden;OncePerLongRest"
data "StatsFunctorContext" "OnCreate;OnLongRest"
data "StatsFunctors" "ApplyStatus(MAG_SHIELD_RESOURCE, 100, -1)"

new entry "MAG_Interrupt_MAG_Shield_LeatherArmor_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "hbf5ff587g6103g4be1g9451gf80d256f859a;1"
data "Properties" "IsHidden;OncePerShortRest"
data "StatsFunctorContext" "OnCreate;OnShortRest"
data "StatsFunctors" "ApplyStatus(MAG_LEATHER_ARMOR_SHIELD_RESOURCE, 100, -1)"

new entry "MAG_Interrupt_MAG_Shield_HarpersAmulet_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "hab35c018ge4fdg4d90gb396g678cfe2ecf65;1"
data "Properties" "IsHidden;OncePerLongRest"
data "StatsFunctors" "ApplyStatus(MAG_HARPERS_AMULET_SHIELD_RESOURCE, 100, -1)"

new entry "MAG_HaHaHat_Passive"
type "PassiveData"
data "DisplayName" "hcbc3f9f4g25eeg4d5egb2fegc4ba164df2be;1"
data "Description" "h9efa37e5g80f9g4502g9265g9a0859e891f8;3"
data "DescriptionParams" "Distance(9);5"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "GROUND:IF(StatusHasStatusGroup(context.StatusId, 'SG_Prone') and not StatusId('HIDEOUS_LAUGHTER')):CreateExplosion(Projectile_MAG_HaHaHat_explosion)"

new entry "MAG_ButlerHat_Passive"
type "PassiveData"
data "DisplayName" "he6797966g4751g4bc0g9b4cg049c7a113b37;2"
data "Description" "h172cdd77gc0fcg449dg9a17g5192e9d9b9d1;1"

new entry "MAG_Multitasking_Passive"
type "PassiveData"
data "DisplayName" "h2296d6f7g91f1g4f43g9dd4g84b36310ff67;1"
data "Description" "hbf34f9d1gdb79g4121gb57bg9456939e6996;1"
data "Boosts" "Advantage(Concentration)"

new entry "MAG_ExoticMaterial_Druid_Passive"
type "PassiveData"
using "MAG_ExoticMaterial_MediumArmor_Passive"
data "Description" "h38489231gcd0eg4f03gbfa2g50c8183b44ac;2"

new entry "MAG_RestrainingAdvantage_Passive"
type "PassiveData"
data "DisplayName" "h46ecfcf8g86aag4e80gaa8egf74117d40060;2"
data "Description" "h959646e7g1c2eg4ac7gb68ag8ba364746eb7;2"

new entry "MAG_Druid_Wildshape_TempHP_Passive"
type "PassiveData"
using "MAG_ShapeshiftersBurgeon_Passive"
data "DisplayName" "h2cdf4116g2c4cg4a51g9c7fg1424a9ec52bd;3"
data "Description" "h40c36acbgbe90g4d36gb648gb697cf3c08f3;5"
data "DescriptionParams" "22;1"
data "TooltipPermanentWarnings" "8892b93b-721f-4b99-b9b4-05ac25aadb33"
data "StatsFunctors" "IF(StatusHasStatusGroup(context.StatusId, 'SG_Polymorph_BeastShape')):ApplyStatus(MAG_DRUID_WILDSHAPE_TEMP_HP, 100, -1)"

new entry "MAG_Druid_Wildshape_SpellResistance_Passive"
type "PassiveData"
using "MAG_SpellResistance_Passive"
data "DisplayName" "h9c84f7a8gdd50g4a36g8281gd1ba6cebe344;3"
data "Description" "h64d8133fg293eg426cg8518gd5ba4a57a9c0;3"
data "DescriptionParams" "2"
data "Boosts" "IF(IsSpell()):Advantage(AllSavingThrows);AC(2)"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "IF(StatusHasStatusGroup(context.StatusId, 'SG_Polymorph_BeastShape')):ApplyStatus(MAG_DRUID_WILDSHAPE_SPELL_RESISTANCE, 100, -1)"

new entry "MAG_Druid_Nature_Regeneration_Passive"
type "PassiveData"
data "DisplayName" "h234db041gd92cg4e81g947dga3d7455adf88;1"
data "Description" "h69dc5c65g3dcbg444bga685gd2d3af58f4ed;1"
data "DescriptionParams" "1d4"

new entry "MAG_Druid_ExtraWildShape_Passive"
type "PassiveData"
using "MAG_OfGreaterSorcery_Amulet_Passive"
data "DisplayName" "hdda3053ag7164g4d53g8c3eg2c589aac4117;1"
data "Description" "hbd9c0eeagdb2fg491fg9da2g73bc01ccfa82;1"
data "StatsFunctorContext" "OnCast;OnAttack;OnCastResolved"
data "Conditions" "HasUseCosts('WildShape')"
data "StatsFunctors" "ApplyStatus(SELF, MAG_DRUID_EXTRA_WILDSHAPE_TRACKER, 100, -1)"

new entry "MAG_Druid_Spore_ExtraSpores_Passive"
type "PassiveData"
using "MAG_Druid_Wildshape_SpellResistance_Passive"
data "DisplayName" "haf646c1bga3c7g44a0ga15ag1041fa9d779e;1"
data "Description" "h30ebaec0gd8c8g48f4gaf4cg856391de4d61;3"
data "DescriptionParams" ""
data "Boosts" ""
data "StatsFunctors" "IF(StatusId('SYMBIOTIC_ENTITY')):ApplyStatus(MAG_DRUID_EXTRA_SPORES, 100, -1)"

new entry "MAG_Druid_Spore_NecroticSpellcasting_Passive"
type "PassiveData"
using "MAG_SpellSaveDC_Enchantment_Lesser_Passive"
data "DisplayName" "ha1f0d968g3513g4f08gaa1dgd19390f4de3f;1"
data "Description" "h9b1ea610g1207g4090gb646g1a48bf2ddf48;2"
data "DescriptionParams" "1;DealDamage(1, Necrotic)"
data "Boosts" "SpellSaveDC(1);IF(HasDamageDoneForType(DamageType.Necrotic)):DamageBonus(1, Necrotic)"

new entry "MAG_InvisiblePike_Passive"
type "PassiveData"
data "DisplayName" "hb0e873c6g4df1g4fd4g98d2g57169d3bc4a1;1"
data "Description" "he8dba608g10efg40ebga7aag1fa2e6a7af1e;6"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnAttack"
data "Conditions" "not HasStatus('MAG_INVISIBLE_WEAPON_VISIBLE', GetAttackWeapon(context.Source)) and AttackedWithPassiveSourceWeapon() and (IsMiss() or IsCriticalMiss())"
data "StatsFunctors" "ApplyEquipmentStatus(SELF, MeleeMainHand, MAG_INVISIBLE_WEAPON_VISIBLE, 100, 2);ApplyStatus(SELF, MAG_INVISIBLE_WEAPON_VISIBLE_OWNER, 100, 2);RemoveStatus(SELF, MAG_INVISIBLE_WEAPON_OWNER)"

new entry "MAG_CharismaCaster_CantripBooster_Passive"
type "PassiveData"
using "MAG_ElementalGish_CantripBooster_Amulet_Passive"
data "DisplayName" "h1a478e3cg6b90g439fgb50fg113a8b8a3e44;1"
data "Description" "hc5cd47f0g25f7g4b7fgadafg90c0b05b6b3b;2"
data "Boosts" "IF(IsCantrip()):DamageBonus(max(1,CharismaModifier))"

new entry "MAG_CharismaCaster_TempHP_Passive"
type "PassiveData"
using "MAG_PHB_Displacement_Cloak_Passive"
data "DisplayName" "hf29c2ac9gea2eg4f2bg9ef8g84032470ed90;1"
data "Description" "h884d0adcgad56g4731g8318g7d15a267ec4a;2"

new entry "MAG_Marksmanship_Passive"
type "PassiveData"
data "DisplayName" "h019c26f6g67b0g4b19ga98eg843c9d76d379;1"
data "Description" "hf2c566d6g5f9dg4519g87adg898d5c07515c;1"
data "DescriptionParams" "1"
data "Boosts" "RollBonus(RangedWeaponAttack, 1);RollBonus(RangedSpellAttack, 1);IF(SpellTypeIs(SpellType.Throw)):RollBonus(Attack, 1)"

new entry "MAG_MagicEating_Robe_Passive"
type "PassiveData"
using "MAG_Githborn_MagicEating_HalfPlate_Passive"
data "DisplayName" "h598434a6gfe2dg4699g9313gf394cee73b28;1"
data "Description" "hae88f6c6g67d6g45f4g97b2g6c49cae22770;1"
data "DescriptionParams" "RegainHitPoints(2d6)"
data "BoostContext" ""
data "BoostConditions" ""
data "Boosts" ""
data "StatsFunctors" "RegainHitPoints(2d6)"

new entry "Dos2_Join_Drum"
type "PassiveData"
data "DisplayName" "he2993c8agaf9bg4ad6gbda0ga1ab9c713457;1"
data "Description" "h36f3080dg7edag453eg8ff4g8da6ddf9164a;1"
data "Properties" "IsHidden"
data "BoostContext" "OnCreate;OnInventoryChanged;OnProficiencyChange"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and HasInstrumentEquipped(context.Source) and Tagged('MUSIC_VFX_DRUM', GetItemInEquipmentSlot(EquipmentSlot.MusicalInstrument))"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Drum);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Drum);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Drum);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "Dos2_Join_Flute"
type "PassiveData"
using "Dos2_Join_Drum"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and HasInstrumentEquipped(context.Source) and Tagged('MUSIC_VFX_FLUTE', GetItemInEquipmentSlot(EquipmentSlot.MusicalInstrument))"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Flute);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Flute);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Flute);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "Dos2_Join_Lute"
type "PassiveData"
using "Dos2_Join_Drum"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and HasInstrumentEquipped(context.Source) and Tagged('MUSIC_VFX_LUTE', GetItemInEquipmentSlot(EquipmentSlot.MusicalInstrument))"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Lute);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Lute);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Lute);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "Dos2_Join_Lyre"
type "PassiveData"
using "Dos2_Join_Drum"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and HasInstrumentEquipped(context.Source) and Tagged('MUSIC_VFX_LYRE', GetItemInEquipmentSlot(EquipmentSlot.MusicalInstrument))"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Lyre);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Lyre);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Lyre);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "Dos2_Join_Violin"
type "PassiveData"
using "Dos2_Join_Drum"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and HasInstrumentEquipped(context.Source) and Tagged('MUSIC_VFX_VIOLIN', GetItemInEquipmentSlot(EquipmentSlot.MusicalInstrument))"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Violin);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Violin);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Violin);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "Dos2_Join_Whistle"
type "PassiveData"
using "Dos2_Join_Drum"
data "BoostConditions" "HasProficiency('MusicalInstrument',context.Source) and not HasInstrumentEquipped(context.Source)"
data "Boosts" "IF(HasStatus('DOS2_JOIN_1', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_1_Whistle);IF(HasStatus('DOS2_JOIN_2', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_2_Whistle);IF(HasStatus('DOS2_JOIN_3', context.Source)):UnlockSpell(Shout_Bard_Perform_DOS2_3_Whistle);UnlockSpellVariant(IsPerformSpell(),ModifyIconGlow())"

new entry "LOW_BloodMerchant_ExplosiveBlood"
type "PassiveData"
data "DisplayName" "h377b9451ga080g4bc0g9efbgcb8e897ee89b;1"
data "Description" "h1d7e490ag8ba5g4fa1gb403gb5f878db8065;1"
data "Icon" "PassiveFeature_Generic_Blood"
data "Properties" "Highlighted"

new entry "MAG_Projectile_Shoes_Passive"
type "PassiveData"
data "DisplayName" "h889f3defg1867g41d9g9156g4214228bb7d6;1"
data "Description" "h7984dd4ege626g4e84gab3bg8cc8d99930e5;1"
data "DescriptionParams" "DealDamage(3d4, Psychic)"

new entry "MAG_EGW_OfTheDrunkard_Amulet_Passive"
type "PassiveData"
data "DisplayName" "h9c0a0fa3g2f7cg4abegb722g00429e52ed3d;3"
data "Description" "hd5f00800gb586g4a40ga10eg2088507ded6d;4"
data "DescriptionParams" "RegainHitPoints(3d4);5"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('DRUNK') or StatusId('DRINK_ALCOHOL')"
data "StatsFunctors" "RegainHitPoints(3d4);IF(StatusId('DRUNK')):SetStatusDuration(DRUNK, 5, ForceSet);IF(StatusId('DRINK_ALCOHOL')):SetStatusDuration(DRINK_ALCOHOL, 5, ForceSet)"

new entry "MAG_DrunkenCloth_Passive"
type "PassiveData"
data "DisplayName" "h4d5c1fb0gb705g4e4egab52ga2b36cb23715;3"
data "Description" "h09243535g5cfbg42ddg9346gad31b0646ea8;1"
data "Boosts" "IF(HasStatus('DRUNK') or HasStatus('DRINK_ALCOHOL')):Advantage(SavingThrow, Constitution)"

new entry "MAG_OfSharpCaster_Hat_Passive"
type "PassiveData"
using "FightingStyle_GreatWeaponFighting"
data "DisplayName" "haa3b59abg12d0g44e2g9033g883f065f8a03;1"
data "Description" "hd1cbaf2ag4e5cg4df7g8f8fg197e53d44907;2"
data "Icon" ""
data "BoostContext" "OnCreate"
data "Boosts" "IF(IsSpell()):Reroll(Damage, 2, false)"

new entry "MAG_Ambushing_Attack_Passive"
type "PassiveData"
using "Assassinate_Initiative"
data "DisplayName" "h5f0a3ebfg6fb0g44f0g9de9g973568b24da3;2"
data "Description" "h4878c5c6g7a02g4579g9755g52e5563b5af8;1"
data "DescriptionParams" "DealDamage(2d6, Necrotic)"
data "Boosts" "IF(Combat(context.Source) and Combat() and not HadTurnInCombat()):CharacterWeaponDamage(2d6, Necrotic)"

new entry "MAG_Arcanist_Gloves_Passive"
type "PassiveData"
using "GreatWeaponMaster_BonusDamage"
data "DisplayName" "h84fdac7ag5a95g4353g89afga173c248e384;2"
data "Description" "h868f2019ga9c6g45dfgba27gd7a4a396e1e8;4"
data "DescriptionParams" "5;1d8"
data "Icon" "PassiveFeature_Generic_Explosion"
data "Properties" "IsToggled;ToggledDefaultAddToHotbar;ToggledDefaultOn;Highlighted;Temporary"
data "Boosts" "IF(IsSpell()):RollBonus(MeleeSpellAttack, -5);IF(IsSpell()):RollBonus(RangedSpellAttack, -5);IF(IsSpell()):DamageBonus(2d8)"

new entry "MAG_TwoWeaponFighting"
type "PassiveData"
using "FightingStyle_TwoWeaponFighting"

new entry "MAG_IllusionBlade_Passive"
type "PassiveData"
using "ShadowBlade_Passive"
data "Properties" "IsHidden"

new entry "MAG_SecondChance_Passive"
type "PassiveData"
data "DisplayName" "h68f8c634g7382g4cddgafcbg713b17b6ea13;1"
data "Description" "h62d5952cg9b4fg4b84ga3f8gcdd4514c8c24;3"
data "Boosts" "UnlockInterrupt(Interrupt_MAG_SecondChance)"

new entry "MAG_SecondChance_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_HarpersAmulet_Resource_Passive"
data "DisplayName" "h80496588gd399g46c1gbd7ega4b71998baf3;1"
data "StatsFunctors" "ApplyStatus(MAG_SECOND_CHANCE_RESOURCE, 100, -1)"

new entry "MAG_Revivify_Gloves_Passive"
type "PassiveData"
data "DisplayName" "h2d49b835g1466g4935g930ag6904dc1abbf6;1"
data "Description" "ha1f9a714g92c3g4d83g8092gf281102e6794;2"
data "StatsFunctorContext" "OnAttack;OnHeal"
data "StatsFunctors" "IF(context.HasContextFlag(StatsFunctorContext.OnHeal) and Character()):ApplyStatus(BLADE_WARD,100,2);IF(context.HasContextFlag(StatsFunctorContext.OnAttack) and Character() and IsRevivifySpell()):ApplyStatus(MAG_DEATH_WARD_ON_DEAD,100,2)"

new entry "MAG_UndeadTurning_Weapon_Passive"
type "PassiveData"
using "MAG_WeaponAction_UndeadTurning_Ammunition_Passive"
data "DisplayName" "hb4ac62f5ge99cg4444ga5abgf43280b2d7cc;2"
data "Description" "h445e9b46ge733g47e6gb9d8g2228137cb674;2"
data "Conditions" "AttackedWithPassiveSourceWeapon() and Tagged('UNDEAD', context.Target)  and not SavingThrow(Ability.Wisdom, 13, AdvantageOnTurned())"

new entry "TAD_PartialCeremorph"
type "PassiveData"
data "DisplayName" "h619cb81dg6586g4cebgb47cgab92cd6bd7fb;1"
data "Description" "he0c97cf5g428bg48feg9cc8gcd858736e55d;1"
data "Icon" "PassiveFeature_HalfIllithid"
data "PriorityOrder" "50"
data "Properties" "Highlighted"

new entry "MAG_RavenCharm_Passive"
type "PassiveData"
data "DisplayName" "hdc1db1dbg2fb4g437dg8038g8830c1e1f6c1;2"
data "Description" "h6426444agc69bg46bdg9ff5g7b2d00a6e737;3"
data "DescriptionParams" "Distance(1.5)"
data "Boosts" "JumpMaxDistanceBonus(1.5)"
data "StatsFunctorContext" "OnStatusApplied"
data "StatsFunctors" "IF(StatusHasStatusGroup(context.StatusId, 'SG_Polymorph_BeastShape')):ApplyStatus(MAG_FEATHER_FALL_POLYMORPHED_RAVEN_CHARM, 100, -1)"

new entry "MAG_MartialBravery_Passive"
type "PassiveData"
using "MAG_ZOC_AdvantageOnMeleeAttackWhileSurounded_Gloves_Passive"
data "DisplayName" "he785858ag7691g416ag94f2ga4aa3df93e88;1"
data "Description" "hfe4b3cd8g2225g4ae7g943bgd4a38ab21ccb;3"
data "DescriptionParams" "2;2"
data "Boosts" "IF((IsUnarmedAttack() or IsWeaponAttack()) and HasEnemyWithinRange('SG_Incapacitated', 3, nil, 2, context.Target, context.Source)):DamageBonus(2)"

new entry "MAG_RavenFamiliar_Passive"
type "PassiveData"
data "DisplayName" "he41aa240ged98g4210gbd26g404b10295b9a;1"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnDamaged"
data "Conditions" "IsKillingBlow() and not Self() and Character() and Enemy() and not SavingThrow(Ability.Strength, 13,AdvantageOnRestrained(),DisadvantageOnRestrained(), context.Source)"
data "StatsFunctors" "ApplyStatus(SELF, ENSNARING_STRIKE,100, 3)"

new entry "TWN_BondedByLove_HusbandsRing_Passive"
type "PassiveData"
data "DisplayName" "h4fee7303gaa08g4f42g8015g32dac81ab6a1;2"
data "Description" "h98be91fbg1805g4df5ga4feg8b8b7bea31f5;2"

new entry "TWN_BondedByLove_WifesRing_Passive"
type "PassiveData"
data "DisplayName" "ha0471cdag9ac5g4911g9d3cg4456fa287b41;2"
data "Description" "h366dbb2ag7b4bg4ebeg8f9dg52b6c4b03a5b;3"

new entry "MAG_ProficientSupport_Weapon_Passive"
type "PassiveData"
data "DisplayName" "h76e92f90g4196g4631ga4c3gb107c657e1b8;1"
data "Description" "hb04cd7b4g800ag4e19gb2eagc71c34b3a4d8;1"

new entry "MAG_ShadowBlinding_Weapon_Passive"
type "PassiveData"
using "MAG_Blindside_Shortsword_Passive"
data "DisplayName" "hb388bcbdg27bfg4e3dgba15g2d59caac5afb;1"
data "Description" "h2ca281a2g63dbg4fa9gb8b9g6737566c8515;1"
data "DescriptionParams" ""
data "StatsFunctors" "IF(not SavingThrow(Ability.Constitution, 14)):ApplyStatus(BLINDED,100,2)"

new entry "MAG_HellDusk_Proficiency_Passive"
type "PassiveData"
using "MAG_PHB_ElvenChain_Armor_Passive"
data "DisplayName" "ha92ec59eg7282g4c4bga663g310b1f9b8986;2"

new entry "MAG_Viconia_Robe_Resistance_Passive"
type "PassiveData"
using "MAG_DarkJusticiar_Armor_Protection_Passive"
data "DisplayName" "h48bb2d01g941eg4b49g9699g9dfb77fe6c98;1"
data "Description" "h0f004aa2gf5feg4e58g95aega4c9fa758e3a;1"
data "DescriptionParams" "2"
data "StatsFunctorContext" "OnStatusApplied"
data "Conditions" "StatusId('SHIELD_OF_FAITH')"
data "StatsFunctors" "ApplyStatus(MAG_VICONIA_ROBE_SHAR_RESISTANCE, 100, -1)"

new entry "MAG_AbsoluteProtector_Shield_Passive"
type "PassiveData"
data "DisplayName" "he226a345g3586g4cb9g9ac2gc914caeab8e0;3"
data "Description" "hec5604e3gf6c3g4c6dg92d9g35d80511f4d0;3"
data "DescriptionParams" "1"
data "Boosts" "IF(Tagged('BRANDED') and IsSpell()):DamageReduction(All, Flat, 1)"

new entry "MAG_OuterEntitySlayer_Passive"
type "PassiveData"
data "DisplayName" "hf510d627ga38ag4d17g84d8g733e553d6a34;1"
data "Description" "ha990c466g812dg402eg9e2dg760c1b9317cb;1"
data "DescriptionParams" "1d4"

new entry "MAG_PlaneShifterSlayer_Passive"
type "PassiveData"
data "DisplayName" "h7ed1c986g72dbg4bbegad4dg608a316b3124;1"
data "Description" "h117f9ab8g7772g452fgbe34g60c31b08135b;1"
data "DescriptionParams" "1d4"

new entry "MAG_FireThrow_Passive"
type "PassiveData"
data "DisplayName" "haa570060gbf61g4d83ga5b6gf6477f4d7827;1"
data "Description" "hfeda547ege905g4b4bgb842gf3b6812ecae3;1"
data "DescriptionParams" "DealDamage(2d4, Fire)"

new entry "MAG_ColdThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "ha624187ag8051g4a51g8799gd1cd8b95aa81;1"
data "DescriptionParams" "DealDamage(2d4, Cold)"

new entry "MAG_LightningThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "h27bc7938gb294g4d7ag940ege7e61b0ea379;1"
data "DescriptionParams" "DealDamage(2d4, Lightning)"

new entry "MAG_ThunderThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "hf74ba241g9bc7g4f62g8ea6gfb70bf85cf11;1"
data "DescriptionParams" "DealDamage(2d4, Thunder)"

new entry "MAG_AcidThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "h81b5c6eag12b6g4cd4g9606g9b05d9a3eb40;1"
data "DescriptionParams" "DealDamage(2d4, Acid)"

new entry "MAG_PoisonThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "hfc481ea1g006ag4a3cg867fgb300cc810ece;1"
data "DescriptionParams" "DealDamage(2d4, Poison)"

new entry "MAG_NecroticThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "h738e4bd0gb027g4e43ga175g5fb023b22450;1"
data "DescriptionParams" "DealDamage(2d4, Necrotic)"

new entry "MAG_ForceThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DisplayName" "h3524f981gc97dg4bd6ga66fga5b030e55f97;1"
data "DescriptionParams" "DealDamage(2d4, Force)"

new entry "MAG_PsychicThrow_Passive"
type "PassiveData"
using "MAG_FireThrow_Passive"
data "DescriptionParams" "DealDamage(2d4, Force)"

new entry "MAG_HomingWeapon_Passive"
type "PassiveData"
data "DisplayName" "h68436050gd9f7g4038gb6f6g1f06e408020b;1"
data "Description" "ha01f647dg4607g45c9g9ac4g404d4ee6ea6e;1"

new entry "MAG_MeleeCaster_Passive"
type "PassiveData"
data "DisplayName" "h288f889egab55g420egb392gc7a97b8b6f49;1"
data "Description" "h1a06cccage994g4729ga129g5f7b78876437;1"

new entry "MAG_InfernalWeapon_WeaponBoost_Passive"
type "PassiveData"
data "DisplayName" "h890f2495g90acg44eagbb53gb3c656727f74;1"
data "Description" "h331065f7gcbd9g4ac8gb694gdd08ec00dfeb;1"
data "DescriptionParams" "DealDamage(6,Poison)"

new entry "MAG_InfernalWeapon_Lesser_WeaponBoost_Passive"
type "PassiveData"
using "MAG_InfernalWeapon_WeaponBoost_Passive"
data "DescriptionParams" "DealDamage(3,Poison)"

new entry "MAG_MonkAmulet_WisdomDebuff_Passive"
type "PassiveData"
data "DisplayName" "hdd8cdd77g706cg4d0aga0dbg7b7311e988e0;1"
data "Description" "hd71a908cg9b92g4f2cg8923g38d506eba4ce;1"
data "DescriptionParams" "1"
data "Icon" "PassiveFeature_Generic_Darkness"
data "Properties" "Highlighted"
data "Boosts" "Ability(Wisdom, -1)"

new entry "MAG_MonkAmulet_WisdomDebuff_2_Passive"
type "PassiveData"
using "MAG_MonkAmulet_WisdomDebuff_Passive"
data "DescriptionParams" "2"
data "Boosts" "Ability(Wisdom, -2)"

new entry "MAG_LC_Counterspell_Quarterstaff_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "hf169bbf0g3239g4e65g8c25g79558cab2e81;1"
data "StatsFunctors" "ApplyStatus(MAG_COUNTERSPELL_RESOURCE, 100, -1)"

new entry "MAG_PHB_ScarabOfProtection_Amulet_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "h5ff6df39g1721g4aeagbe0cg7c8f41c17b0a;1"
data "StatsFunctors" "ApplyStatus(MAG_SCARAB_OF_PROTECTION_RESOURCE, 100, -1)"

new entry "MAG_Legendary_InfernalResistance_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "h16e1178bg8f09g4027g83cdgf3fb00a72f66;1"
data "StatsFunctors" "ApplyStatus(MAG_LEGENDARY_INFERNAL_RESISTANCE_RESOURCE, 100, -1)"

new entry "MAG_LegendaryEvasion_Protection_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "h0060940bg96fdg4189g8d18g75c59d4f48fd;1"
data "Properties" "IsHidden;OncePerShortRest"
data "StatsFunctorContext" "OnCreate;OnShortRest"
data "StatsFunctors" "ApplyStatus(MAG_LEGENDARY_EVASION_PROTECTION_RESOURCE, 100, -1)"

new entry "MAG_ImpalerDamageBonus_Passive"
type "PassiveData"
using "UND_Duergar_ShortswordOfFirstBlood_Passive"
data "DescriptionParams" "DealDamage(2d10,Piercing)"
data "TooltipConditionalDamage" "DealDamage(2d10,Piercing)"
data "StatsFunctors" "DealDamage(2d10,Piercing)"

new entry "MAG_ImpalerTempHP_Passive"
type "PassiveData"
data "DisplayName" "hbd8d961agb45bg4299gac7fg348e75c17c72;1"
data "Description" "hdea5e00eg55ffg49dbg9e22g7cdedd89af8e;1"
data "DescriptionParams" "RegainHitPoints(3d10)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "Enemy() and AttackedWithPassiveSourceWeapon() and IsKillingBlow()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_THE_IMPALER_TEMPORARY_HP, 100, -1)"

new entry "MAG_UnarmedEnchantment_1_Passive"
type "PassiveData"
using "ARM_MartialArtsLethality_1_Passive"
data "DisplayName" "ha4dffb82g9997g4ec1g8e94g33d42d50cb8e;2"
data "Description" "hcb9ac4edg7027g4630ga4e7gadfdd949ac1a;3"
data "Boosts" " IF(IsMeleeUnarmedAttack()):RollBonus(Attack, 1);CharacterUnarmedDamage(1)"

new entry "MAG_UnarmedEnchantment_2_Passive"
type "PassiveData"
using "MAG_UnarmedEnchantment_1_Passive"
data "DescriptionParams" "2"
data "Boosts" " IF(IsMeleeUnarmedAttack()):RollBonus(Attack, 2);CharacterUnarmedDamage(2)"

new entry "MAG_ShieldOfDevotion_Passive"
type "PassiveData"
using "MAG_AdditionalSpellSlot_Level1_Passive"
data "Boosts" ""
data "StatsFunctorContext" "OnAttack;OnCast"
data "Conditions" "(not HasActionResource('SpellSlot', 100, 1, true) and IsSpellLevel(1))  or (SpellId('Target_Smite_Divine') and (HasDamageEffectFlag(DamageFlags.Hit) or HasDamageEffectFlag(DamageFlags.Critical)))"
data "StatsFunctors" "ApplyStatus(SELF, MAG_SHIELD_OF_DEVOTION_TRACKER, 100, -1)"

new entry "MAG_ShieldOfDevotion_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Passive"
data "Properties" "IsHidden"
data "StatsFunctorContext" "OnLongRest"
data "Conditions" ""
data "StatsFunctors" "RemoveStatus(MAG_SHIELD_OF_DEVOTION_TRACKER);ApplyStatus(MAG_SHIELD_OF_DEVOTION_SPELL_SLOT, 100, -1)"

new entry "MAG_ShieldOfDevotion_Tracker_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_SHIELD_OF_DEVOTION_TRACKER)"

new entry "MAG_OfGreaterSorcery_Amulet_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "Properties" "IsHidden"
data "StatsFunctors" "RemoveStatus(MAG_GREATER_SORCERY_TRACKER);ApplyStatus(MAG_GREATER_SORCERY_SORCERY_POINT, 100, -1)"

new entry "MAG_OfGreaterSorcery_Amulet_Tracker_Passive"
type "PassiveData"
using "MAG_OfGreaterSorcery_Amulet_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_GREATER_SORCERY_TRACKER)"

new entry "MAG_LC_TheAmplifier_Amulet_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_THE_AMPLIFIER_TRACKER);ApplyStatus(MAG_THE_AMPLIFIER_SPELL_SLOT, 100, -1)"

new entry "MAG_LC_TheAmplifier_Amulet_Tracker_Passive"
type "PassiveData"
using "MAG_LC_TheAmplifier_Amulet_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_THE_AMPLIFIER_TRACKER)"

new entry "MAG_OfTheDevout_Amulet_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctorContext" "OnShortRest"
data "StatsFunctors" "RemoveStatus(MAG_OF_DEVOUT_AMULET_TRACKER);ApplyStatus(MAG_OF_DEVOUT_AMULET_CHANNEL_DIVINITY, 100, -1)"

new entry "MAG_OfTheDevout_Amulet_Tracker_Passive"
type "PassiveData"
using "MAG_OfTheDevout_Amulet_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_OF_DEVOUT_AMULET_TRACKER)"

new entry "MAG_DeathKnightShield_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Passive"
data "StatsFunctors" "ApplyStatus(SELF, MAG_DEATH_KNIGHT_SHELD_TRACKER, 100, -1)"

new entry "MAG_DeathKnightShield_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_DEATH_KNIGHT_SHELD_TRACKER);ApplyStatus(MAG_DEATH_KNIGHT_SHELD_SPELL_SLOT, 100, -1)"

new entry "MAG_DeathKnightShield_Tracker_Passive"
type "PassiveData"
using "MAG_DeathKnightShield_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_DEATH_KNIGHT_SHELD_TRACKER)"

new entry "MAG_WondrousGloves_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_WONDROUS_GLOVES_TRACKER);ApplyStatus(MAG_WONDROUS_GLOVES_BARDIC_INSPIRATION, 100, -1)"

new entry "MAG_WondrousGloves_Tracker_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_SHIELD_OF_DEVOTION_TRACKER)"

new entry "MAG_Druid_ExtraWildShape_Cooldown_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctorContext" "OnShortRest"
data "StatsFunctors" "RemoveStatus(MAG_DRUID_EXTRA_WILDSHAPE_TRACKER);ApplyStatus(MAG_DRUID_EXTRA_WILDSHAPE_WILDSHAPE_CHARGE, 100, -1)"

new entry "MAG_Druid_ExtraWildShape_Tracker_Passive"
type "PassiveData"
using "MAG_ShieldOfDevotion_Cooldown_Passive"
data "StatsFunctors" "RemoveStatus(MAG_SHIELD_OF_DEVOTION_TRACKER)"

new entry "MAG_WYRM_Farlin_Dagger_Passive"
type "PassiveData"
data "DisplayName" "h611b2ceega648g4a37gab51g8600d20410ae;1"
data "Description" "hfda409bcg9214g4c2ag964dgbd30910179a9;1"
data "DescriptionParams" "1"
data "Boosts" "AC(1)"

new entry "MAG_Interrupt_MAG_Interrupt_AbsorbElements_Resource_Passive"
type "PassiveData"
using "MAG_Interrupt_MAG_Shield_Resource_Passive"
data "DisplayName" "h5b743049g5654g443fg99a7g8083963419bd;1"
data "Properties" "IsHidden;OncePerShortRest"
data "StatsFunctorContext" "OnCreate;OnShortRest;OnLongRest"
data "StatsFunctors" "ApplyStatus(MAG_ABSORB_ELEMENT_RESOURCE, 100, -1)"

new entry "MAG_Umberlee_FireColdResistance_Passive"
type "PassiveData"
data "DisplayName" "ha55985b1ge175g47a2gaacfgebdd23baf55d;1"
data "Description" "hd936a43cgbb38g4d1fg8d88g809cb0c37a7e;1"
data "Boosts" "Resistance(Fire, Resistant);Resistance(Cold, Resistance)"

new entry "MAG_Longstrider_Passive"
type "PassiveData"
data "DisplayName" "h3ae9810fg8fcbg4ea0g9f78g6f980082af6f;1"
data "Description" "hdf8d6ed1ge78cg497dgb6d9gc6859d4bda3f;1"

new entry "MAG_Watcher_Helmet_Darkvision_Passive"
type "PassiveData"
using "UND_SocietyOfBrilliance_DarkvisionRing_Passive"
data "DisplayName" "h023a13dag70b3g462bg9cc4g5f975fc4a69a;2"
data "Description" "h07192f92g8374g4bbdg97bfg0a0a055b80d2;1"
data "Boosts" "StatusImmunity(SG_Blinded);IgnoreSurfaceCover(SurfaceDarknessCloud);DarkvisionRangeMin(12);ActiveCharacterLight(233033a1-b43a-4ad9-976a-8a062b345e21)"

new entry "MAG_Barbarian_Hide_Helmet_Bloodseeker_Passive"
type "PassiveData"
using "MAG_TheWoundSeeker_Greatsword_Passive"
data "DisplayName" "hb6643fc0gd765g4419g943dgc346e5cfded3;1"
data "Description" "hc228df1eg4e70g4fb7ga28fgf653836ed444;5"
data "DescriptionParams" "2"
data "Boosts" "IF(not HasMaxHP()):RollBonus(Attack, 2)"

new entry "MAG_Barbarian_Hide_Helmet_Bloodthirsty_Passive"
type "PassiveData"
data "DisplayName" "h0633c5c1g0427g4169g8b1fgde5e1605d387;1"
data "Description" "ha0b53930g3ba7g425ag8901g41585c661758;4"
data "DescriptionParams" "DealDamage(2, Necrotic);DealDamage(2d4, Necrotic)"
data "Boosts" "IF(not HasMaxHPWithoutTemporaryHP(context.Source)):CharacterWeaponDamage(2d4, Necrotic);IF(not HasMaxHPWithoutTemporaryHP(context.Source)):CharacterUnarmedDamage(2d4, Necrotic)"
data "StatsFunctorContext" "OnDamage"
data "Conditions" "not Self()"
data "StatsFunctors" "ApplyStatus(SELF, MAG_BARBARIAN_HIDE_DAMAGE_TECHNICAL, 100, 1)"

new entry "MAG_FlexibleArmor_Defense_Passive"
type "PassiveData"
using "FightingStyle_Defense"
data "Icon" ""
data "Properties" "IsHidden"
data "BoostContext" "OnEquip;OnCreate"
data "BoostConditions" "HasPassive('FightingStyle_Defense', context.Source)"

new entry "MAG_Light_Base_Passive"
type "PassiveData"
data "DisplayName" "he0ec1632g3cbfg403ag8e34g517746d4ca65;2"
data "Description" "h421799bfg3dddg4551gbda7g9393ba476751;3"
data "DescriptionParams" "Distance(6)"
data "ExtraDescription" "hf3ba729ege018g4ab4g8262g4447da7884f1;2"
data "Icon" "Spell_Evocation_Light"
data "Properties" "ToggledDefaultAddToHotbar;IsToggled;ToggledDefaultOn"

new entry "MAG_Light_FarlinDagger_Passive"
type "PassiveData"
using "MAG_Light_Base_Passive"
data "DisplayName" "haa3f3b2dg9b3bg4791g9032gc919b181c661;3"
data "Properties" "ToggledDefaultAddToHotbar;IsToggled;ToggledDefaultOn"
data "ToggleOnFunctors" "IF(HasStatus('MAG_FARLIN_DAGGER_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_LIGHT_DIVINE, 100, -1);IF(HasStatus('MAG_FARLIN_DAGGER_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_LIGHT_DIVINE, 100, -1)"
data "ToggleOffFunctors" "IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source)) and HasStatus('MAG_FARLIN_DAGGER_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0);IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source)) and HasStatus('MAG_FARLIN_DAGGER_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0)"

new entry "MAG_Light_TheThorns_Passive"
type "PassiveData"
using "MAG_Light_FarlinDagger_Passive"
data "DisplayName" "hec96635egf6c2g4646g919fgd221b2fe1b36;2"
data "ToggleOnFunctors" "IF(HasStatus('MAG_THE_THORNS_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_LIGHT_DIVINE, 100, -1);IF(HasStatus('MAG_THE_THORNS_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_LIGHT_DIVINE, 100, -1)"
data "ToggleOffFunctors" "IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source)) and HasStatus('MAG_THE_THORNS_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0);IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source)) and HasStatus('MAG_THE_THORNS_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0)"

new entry "MAG_Light_TheVictory_Passive"
type "PassiveData"
using "MAG_Light_FarlinDagger_Passive"
data "DisplayName" "h94355919gb5d7g4be2gbc3fg87db0265943d;2"
data "ToggleOnFunctors" "IF(HasStatus('MAG_THE_VICTORY_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.RangedMainHand, context.Source))):ApplyEquipmentStatus(RangedMainHand, MAG_LIGHT_DIVINE, 100, -1)"
data "ToggleOffFunctors" "IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.RangedMainHand, context.Source)) and HasStatus('MAG_THE_VICTORY_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.RangedMainHand, context.Source))):ApplyEquipmentStatus(RangedMainHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0)"

new entry "MAG_Light_MoonlightGlaive_Passive"
type "PassiveData"
using "MAG_Light_FarlinDagger_Passive"
data "DisplayName" "hddc19688gfbffg473cgbdeeg606fc4f261a2;2"
data "ToggleOnFunctors" "IF(HasStatus('MAG_MOONLIGHT_GLAIVE_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_LIGHT_DIVINE, 100, -1);IF(HasStatus('MAG_MOONLIGHT_GLAIVE_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_LIGHT_DIVINE, 100, -1)"
data "ToggleOffFunctors" "IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source)) and HasStatus('MAG_MOONLIGHT_GLAIVE_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeMainHand, context.Source))):ApplyEquipmentStatus(MeleeMainHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0);IF(HasStatus('MAG_LIGHT_DIVINE', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source)) and HasStatus('MAG_MOONLIGHT_GLAIVE_LIGHT_TECHNICAL', GetItemInEquipmentSlot(EquipmentSlot.MeleeOffHand, context.Source))):ApplyEquipmentStatus(MeleeOffHand, MAG_MAGIC_ITEM_LIGHT_REMOVER, 100, 0)"

