Again, based on what I observed so far.
As such, incomplete and might be wrong.
Boosts, feats, passives, etc. you can check for and apply are
.
Code: Select all
IF((HasDamageEffectFlag(DamageFlags.Hit) or HasDamageEffectFlag(DamageFlags.Critical)) and Tagged('UNDEAD',context.Source)):DealDamage(SWAP,1d6,Radiant,Magical);IF((HasDamageEffectFlag(DamageFlags.Hit) or HasDamageEffectFlag(DamageFlags.Critical)) and Tagged('BEAST',context.Source)):DealDamage(1d6,Radiant,Magical)
IF(context.HasContextFlag(StatsFunctorContext.OnAttack) and IsAttack()):RemoveStatus(SELF,SCE_TIEFLINGFOLLOWUP_BARDIC_INSPIRATION)
IF(context.HasContextFlag(StatsFunctorContext.OnAbilityCheck)):RemoveStatus(SCE_TIEFLINGFOLLOWUP_BARDIC_INSPIRATION)
IF(HasHPPercentageLessThan(25,context.Source)):CharacterUnarmedDamage(1d4, Fire)
IF(HasStatus('UND_HARDWORK_TARGET', context.Target) and not (IsMiss() or IsCriticalMiss())):DealDamage(1d4, Piercing,Magical)
IF(HasStatus(DOWNED)):Advantage(AttackRoll)
IF(IsAttack() or IsSpell()):DamageBonus(2d6+8)
IF(IsSpell()):Advantage(AttackRoll)
IF(not HasStatus('UND_HARDWORK_TARGET', context.Target) and not (IsMiss() or IsCriticalMiss())):ApplyStatus(UND_HARDWORK_TARGET,100, 3)
IF(not SavingThrow(Ability.Constitution, 15)):ApplyStatus(PARALYZED,100,1)
IF(not SavingThrow(Ability.Strength, SourceSpellDC(),AdvantageOnRestrained(),DisadvantageOnRestrained())):ApplyStatus(ENSNARING_STRIKE,100,10)
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)
IF(SpellTypeIs(SpellType.Throw)):RollBonus(Attack, 1)
IF(StatusId('ASTARION_WEAK')):RemoveStatus(ASTARION_WEAK)
IF(Tagged('BRANDED',context.Source)):ApplyStatus(BANE,100,2,,,,not SavingThrow(Ability.Charisma,11))
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)
AOE:IF(not SavingThrow(Ability.Dexterity, 13)):DealDamage(1d6, Lightning,Magical)
AI_ONLY:IF(not HasStatus('UND_NERE_SHIELDOFSCREAMS')):ApplyStatus(AI_HELPER_BUFF,100,1)
AI_ONLY:IF(not HasStatus('DIPPED_FIRE',GetActiveWeapon())):ApplyStatus(SELF,AI_HELPER_DIPWEAPON_POISON_SIMPLE,100,4)
AI_IGNORE:AOE:IF(Item()):ApplyStatus(BURNING,100,1)
AI_IGNORE:IF(WieldingWeapon('Dippable') and not WieldingWeapon('Torch')):ApplyEquipmentStatus(MainHand,POISON_SIMPLE_DIPPED,100,10)
AI_IGNORE:IF(WieldingWeapon('Dippable',true) and not WieldingWeapon('Torch',true)):ApplyEquipmentStatus(OffHand,POISON_SIMPLE_DIPPED,100,10)
AI_IGNORE:TARGET:AOE:IF(not SavingThrow(Ability.Dexterity, SourceSpellDC())):DealDamage(5d6, Cold,Magical);AI_ONLY:TARGET:AOE:IF(not SavingThrow(Ability.Dexterity, SourceSpellDC())):DealDamage(2d6, Cold,Magical)
GROUND:IF(HasStatus('BURNING',context.Source)):SurfaceChange(Ignite)
GROUND:IF(StatusHasStatusGroup(context.StatusId, 'SG_Prone') and not StatusId('HIDEOUS_LAUGHTER')):CreateExplosion(Projectile_MAG_HaHaHat_explosion)
TARGET:IF(Ally()):ApplyStatus(PROJECTED_WARD)
TARGET:IF(Character()):ApplyStatus(KNOCKED_DOWN)
TARGET:IF(not HasAnyStatus({'SG_Unconscious','SG_Incapacitated','SG_Blinded'},{},{},context.Source) and not Ally() and HasStatus('SG_Invisible')):ApplyStatus(SEE_INVISIBILITY_SEEN)
TARGET:IF(Enemy()):DealDamage(3d8+6,Slashing)