  {

    "AbilityName": "NPC_DomainOccupy",

    "DefaultModifier": {

      "OnNPCActive": [],

    },

    "AbilityMixins": [

      {

        "$type": "MoleMole.DomainNPCOccupyMixin",

        "OnOccupyStartActions": [

          {

            "$type": "MoleMole.SetAnimCtrlerParamAction",

            "ParamType": 1,

            "ParamName": "Trigger_Open",

            "Target": "Self",

            "BoolVal": true,

          }

        ],

        "ResourceRangeActions":[

          {

            "Val": 0.1,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ],

            "HighToValueActions": 

            [

              //由高值进入value时引发的action

            ],

          },

          {

            "Val": 0.2,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              },

              {

                "$type": "MoleMole.ModifyLayeredEffectAction",

                "layersIndex": [0,1,2],

                "isActive": true

              }

            ]

          },

          {

            "Val": 0.3,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

          {

            "Val": 0.4,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

          {

            "Val": 0.5,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

          {

            "Val": 0.6,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              },

              {

                "$type": "MoleMole.ModifyLayeredEffectAction",

                "layersIndex": [0,1,2,3],

                "isActive": true

              }

            ]

          },

          {

            "Val": 0.7,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

          {

            "Val": 0.8,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

          {

            "Val": 0.9,//百分比

            "LowToValueActions": 

            [

              //由低值进入value时引发的action

              {

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_NPC_DomainOccupy_Domaining_Progress",

                "Target" : "Self",

              }

            ]

          },

        ],

        "OnSuccessActions": [

/*          {

              "$type" : "MoleMole.FireEffect",

              "EffectPattern" : "Eff_Common_RandomSkill_Ani_Generade_Ice_Explosive",

              "Target" : "Self",

              }, */

          {

            "$type": "MoleMole.SetAnimCtrlerParamAction",

            "ParamType": 1,

            "ParamName": "Trigger_Close",

            "Target": "Self",

            "BoolVal": true,

          }

        ],

        "OnFailureActions": []

      },



      {

        "$type" : "MoleMole.AttachStateWithModifierMixin",

        "ConfigList":

        [

          {

            "AnimatorStateName": "Idle_Undomain",

            "LayerIndex": 0,

            "NormalizedTimeLow": 0.0,

            "NormalizedTimeHigh": 1.0,

            "IsLoop": true,

            "ModifierNameList":

            [

              "IdleUndomainModifier"

            ] 

          },

          {

            "AnimatorStateName": "Domaining",

            "LayerIndex": 0,

            "NormalizedTimeLow": 0.0,

            "NormalizedTimeHigh": 1.0,

            "ModifierNameList":

            [

              "DomainingModifier"

            ]

          },

          {

            "AnimatorStateName": "Idle_Domained",

            "LayerIndex": 0,

            "NormalizedTimeLow": 0.0,

            "NormalizedTimeHigh": 1.0,

            "IsLoop": true,

            "ModifierNameList":

            [

              "IdleDomainedModifier"

            ]

          }

        ]

      }

    ],

    "Modifiers": {

      "IdleUndomainModifier": {

        "ModifierStacking": "Unique",

        "Duration": -1,

        "OnAdded": [

          {

            "$type": "MoleMole.FireEffect",

            "EffectPattern": "Eff_NPC_DomainOccupy_Idle_Undomain_Loop",

            "Target": "Self",

          }

        ]

      },

      "DomainingModifier": {

        "ModifierStacking": "Unique",

        "Duration": -1,

        "OnAdded": [

          {

            "$type": "MoleMole.FireEffect",

            "EffectPattern": "Eff_NPC_DomainOccupy_Idle_Domaining_Loop",

            "Target": "Self",

          }



        ]

      },

      "IdleDomainedModifier": {

        "ModifierStacking": "Unique",

        "Duration": -1,

        "OnAdded": [

          {

            "$type": "MoleMole.FireEffect",

            "EffectPattern": "Eff_NPC_DomainOccupy_Idle_Domained_Loop",

            "Target": "Self",

          }

        ]

      }

    }

  }



