{ //AttachStateMixin Bug测试脚本 "AbilityName" : "TestPlayer_Ability_Tianheng_58", "AbilityStacking": "Unique", "DefaultModifier" : { "OnAdded": [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_01", "Target" : "Self", } ], }, "AbilityMixins" : [ { "$type" : "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Attack_Normal_01", "LayerIndex": 0, "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 0.2, "ModifierNameList": [ "TestModifier", ] }, { "AnimatorStateName": "Attack_Normal_01", "LayerIndex": 0, "NormalizedTimeLow": 0.5, "NormalizedTimeHigh": 0.7, "ModifierNameList": [ "TestModifier", ] }, ] } ], "Modifiers" : { //绿球 "TestModifier": { "ModifierStacking" : "Unique", "Duration": -1, "OnAdded": [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_02", "Target" : "Self", }, { "$type": "MoleMole.AttachEffect", "EffectPattern": "Eff_Monster_Claymore_Body_Head", "Target": "Self", "AttachEffectPosRot" : { "CoordsOption" : "ReferTarget", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "HeadPoint", "IsUseAttachPointPos" : true, "IsUseAttachPointRotation" : true, }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : true, } }, }, ], }, }, }