ZenlessData/Data/Monster_Common_Deathrattle_Predicate.json
2024-11-04 02:05:40 -03:00

173 lines
4.1 KiB
JSON

{
"AbilityName": "Monster_Common_Deathrattle_Predicate",
"AbilityStacking": "Unique",
"OnAbilityTrigger": [
{
"$type": "CreateAnimPatternAction",
"AnimEventID": "#Monster_Common_Deathrattle_Small_Predicate",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "BySmall"
}
],
"TagMask": [
"DodgeDummy"
],
"Target": "Self"
},
{
"$type": "CreateAnimPatternAction",
"AnimEventID": "#Monster_Common_Deathrattle_Middle_Predicate",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "ByMiddle"
}
],
"TagMask": [
"DodgeDummy"
],
"Target": "Self"
},
{
"$type": "CreateAnimPatternAction",
"AnimEventID": "#Monster_Common_Deathrattle_Large_Predicate",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "ByLarge"
}
],
"TagMask": [
"DodgeDummy"
],
"Target": "Self"
}
],
"Predicates": {
"ByLarge": {
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "GreaterEqual",
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"UniqueDeathEff"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"DeathEffLarge"
],
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"ByMiddle": {
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Middle",
"CompareType": "Equal",
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"UniqueDeathEff"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"DeathEffMiddle"
],
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"BySmall": {
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAnd",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Small",
"CompareType": "LessEqual",
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"UniqueDeathEff"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"DeathEffSmall"
],
"Target": "Self"
}
],
"Target": "Self"
}
]
}
}
}