{"base":{"aimPos":{"align":"NODE_HEAD","off":[0,0,0.25]},"aimRadius":20,"autoAggro":"DEFAULT_RADIUS","defaultState":"IDLE","egg":"long","exp":1.5,"figure":"FIG:enemy.start.turret-guard#default","hp":1.3,"hudPos":{"align":"NODE_HEAD","off":[0,0,2.25]},"initAction":"init","skewFactor":1,"freqBase":1.3,"freqGrowth":1,"freqWeight":1.5,"dieAnims":"weak","walkAnims":{"idle":{"idle":"default"},"default":{"damage":"damageClosed2","damageRight":"damageClosed","die":"weak","idle":"idle"},"weak":{"damage":"damageOpen2","damageRight":"damageOpen","die":"weak","idle":"weakIdle"}},"config":{"actorDust":"None","actorSound":"Silent","groundConnect":"GLUED","maxHitPause":0,"walkAnim":"default","weight":-1}},"trackers":{"hit":{"break":{"altTrackers":[{"enemyAlt":"elite1","hitResist":[0.35,1,0.7],"hits":15},{"enemyAlt":"boss1","hitResist":[0.35,1,0.7],"hits":25,"hpBreakFactor":2.5},{"enemyAlt":"mega","hits":99}],"hitResist":[0.35,1,0.7],"hits":10}},"shields":{},"time":{"recover":{"altTrackers":[{"duration":5,"enemyAlt":"elite1"}],"duration":6},"rebarrier":{"altTrackers":[],"duration":50,"noStateReset":true}}},"states":{"IDLE":{"choices":[{"action":"open","ignore":"STUN","preSetState":"COMBAT_BOSS","req":[{"type":"IS_AGGRO"},{"type":"IS_ENEMY_ALT","alt":"boss1"}]},{"action":"open","ignore":"STUN","preSetState":"COMBAT","req":[{"type":"IS_AGGRO"}]}],"breakTracker":"break","reactions":["Break","hpBreak"],"config":{"hitStable":"MASSIVE","walkAnim":"idle"}},"COMBAT":{"choices":[{"preSetState":"IDLE","req":[{"type":"IS_AGGRO","not":true}]},{"action":"attackUp1","frequency":"SOMETIMES","ignore":"STUN","req":[{"type":"TARGET_REACHABLE","distance":20,"noNavCheck":true},{"type":"IS_ENEMY_ALT","alt":"elite1"}],"_skip":false},{"action":"attack","frequency":"NORMAL","req":[{"type":"TARGET_REACHABLE","distance":25,"noNavCheck":true},{"type":"VAR_CONDITION","condition":"$ent.vars.fullBarrier","not":true}]},{"action":"idle"},{}],"breakTracker":"break","reactions":["Break"],"config":{"facingType":"TARGET","hitStable":"NONE","walkAnim":"default"}},"COMBAT_BOSS":{"choices":[{"preSetState":"IDLE","req":[{"type":"IS_AGGRO","not":true}]},{"action":"ppTest1","req":[{"type":"IS_ENEMY_ALT","alt":"boss1"}],"_skip":true},{"action":"createTargetProxy","ignore":"STUN","preSetState":"BARRIER","req":[{"type":"HP_BROKEN","count":1},{"type":"VAR_CONDITION","condition":"$ent.vars.fullBarrier","not":true},{"type":"TIMER_READY","tracker":"rebarrier"}],"teaming":"END_ONLY"},{"action":"attackChoice","frequency":"NORMAL","ignore":"STUN","req":[{"type":"TARGET_REACHABLE","distance":25,"noNavCheck":true},{"type":"VAR_CONDITION","condition":"$ent.vars.fullBarrier","not":true}],"teaming":"END_ONLY"},{"action":"idle"},{}],"breakTracker":"break","reactions":["Break","hpBreak"],"config":{"facingType":"TARGET","hitStable":"LIGHT","walkAnim":"default"}},"BARRIER":{"choices":[{"action":"attackUpBoss","ignore":"STUN","req":[{"type":"TARGET_REACHABLE","distance":20,"noNavCheck":true},{"type":"VAR_CONDITION","condition":"$ent.vars.fullBarrier"}],"teaming":"END_ONLY","_skip":false},{"action":"idle"},{}],"reactions":["BarrierGone","hpBreak"],"config":{"dmgFactor":0.1,"facingType":"TARGET","hitStable":"MASSIVE","walkAnim":"default"}},"WEAK":{"choices":[{"action":"endWeak","ignore":"STUN","preSetState":"COMBAT_BOSS","req":[{"type":"RECOVER_READY"},{"type":"IS_ENEMY_ALT","alt":"boss1"}]},{"action":"endWeak","ignore":"STUN","preSetState":"COMBAT","req":[{"type":"RECOVER_READY"}]}],"reactions":["hpBreak"],"recoverTracker":"recover","config":{"dmgFactor":1.25,"facingType":"TARGET","walkAnim":"weak"}}},"actions":{"open":[{"type":"SET_FACE_STYLE","facingType":"TARGET"},{"type":"CALL_ENEMY_ACTION","action":"initShield"},{"type":"SHOW_ANIMATION","animation":"close","wait":true}],"idle":[{"type":"WAIT","time":0.3}],"attackChoice":[{"type":"COMBAT_SWITCH","entries":[{},{}],"saveExecuted":"ent.vars.normAttack","select":"FIRST","_br":{"0":[{"type":"CALL_ENEMY_ACTION","action":"attackRootSpikes"}],"1":[{"type":"CALL_ENEMY_ACTION","action":"attack"}]}}],"attack":[{"type":"TARGET_FOLLOW_DASH","_skip":true,"rotateSpeed":45,"target":{"ent":"target","align":"CENTER"}},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.keepRoots"},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"boss1"}],"else":true,"_br":{"then":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":1.9},{"type":"PUSH_PULL_FORCE","duration":0.2,"maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"ppStrength":18,"radius":3,"radiusFade":3,"radiusMin":0,"target":{"ent":"self"},"timeFadeIn":0.2,"timeFadeOut":0,"zRange":1},{"type":"HIT_CIRCLE","_skip":true,"attackInfo":{"damageFactor":0,"element":"NEUTRAL","fly":"MASSIVE2","hitType":"BLUNT","impact":"MASSIVE"},"duration":0.2,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":2,"target":{"ent":"self"}},{"type":"WAIT","time":0.1},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.barrier"},{"type":"FACE_TO_TARGET","instant":true},{"type":"SET_FACE_STYLE","facingType":"FIXED"},{"type":"WAIT","time":0.05},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"else":true,"_br":{"then":[{"type":"SET_PHASE","phase":"PRE_ATTACK","time":2.8},{"type":"GROUP","name":"rootAtk","_br":{"then":[{"type":"SET_DMG_CEILING","maxTotalDmg":1.6},{"type":"SHOOT_PROXY_RANGE","angleRange":60,"angleVary":9,"count":2,"delay":0,"duration":0,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":4.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":60,"angleVary":7,"count":2,"delay":0.1,"duration":0.2,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":6.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":60,"angleVary":6,"count":2,"delay":0.2,"duration":0.4,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":13,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":150,"angleVary":9,"count":2,"delay":0.1,"duration":0.1,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":3.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":145,"angleVary":7,"count":2,"delay":0.2,"duration":0.3,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":11.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":140,"angleVary":6,"count":2,"delay":0.3,"duration":0.5,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":13.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SWITCH","entries":[{},{}],"_br":{"0":[{"type":"SHOOT_PROXY_RANGE","angleStart":30,"angleVary":9,"count":2,"delay":0.18333333333333332,"duration":0.06666666666666667,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":8.5,"startDistAdd":2,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleStart":72,"angleVary":7,"count":2,"delay":0.21666666666666667,"duration":0.06666666666666667,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":6.5,"startDistAdd":2.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"}],"1":[{"type":"SHOOT_PROXY_RANGE","angleStart":-30,"angleVary":9,"count":2,"delay":0.18333333333333332,"duration":0.06666666666666667,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":8.5,"startDistAdd":2,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleStart":-72,"angleVary":7,"count":2,"delay":0.21666666666666667,"duration":0.06666666666666667,"group":"","maxGroundDist":0,"pos":{"ent":"self"},"startDist":6.5,"startDistAdd":2.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"}]}}]}},{"type":"SHOOT_PROXY_RANGE","angleRange":150,"count":8,"delay":0,"duration":0,"group":"barriers","maxGroundDist":0,"pos":{"ent":"self"},"startDist":2.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"rootBarrierAtk"}],"else":[{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":1}],"_br":{"then":[{"type":"SET_PHASE","phase":"PRE_ATTACK","time":2.2},{"type":"GROUP","name":"rootAtk","_br":{"then":[{"type":"SET_DMG_CEILING","maxTotalDmg":1.3},{"type":"SHOOT_PROXY_RANGE","angleRange":70,"count":2,"delay":0,"duration":0,"group":"","pos":{"ent":"self"},"startDist":4,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"SHOOT_PROXY_RANGE","angleRange":75,"count":2,"delay":0.2,"duration":0.2,"group":"","pos":{"ent":"self"},"startDist":10.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikesBarrier"}]}}]}},{"type":"SHOOT_PROXY_RANGE","angleRange":60,"count":4,"delay":0,"duration":0,"group":"barriers","pos":{"ent":"self"},"startDist":2.5,"startDistCollide":"NONE","uniformDir":0,"proxy":"rootBarrierAtk"}]}},{"type":"WAIT","time":0.85},{"type":"SET_FACE_STYLE","facingType":"TARGET"},{"type":"SHOOT_PROXY_RANGE","_skip":true,"angleRange":90,"count":2,"delay":0,"duration":0,"group":"","pos":{"ent":"self","rel":true,"off":[0,0,-0.375]},"startDist":1.8,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkRootMove"},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":15,"target":{"ent":"target","align":"CENTER"}}],"else":[{"type":"SET_HIT_STABLE","hitStable":"HEAVY"},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"else":true,"_br":{"then":[{"type":"SET_PHASE","phase":"PRE_ATTACK","time":1.4},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":12,"target":{"ent":"target","align":"CENTER"}}],"else":[{"type":"SET_PHASE","phase":"PRE_ATTACK","time":1.2},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":6,"target":{"ent":"target","align":"CENTER"}}]}}]}},{"type":"CLEAR_DMG_CEILING"},{"type":"START_AIM_FX","aimFx":"ReflectProjectile","selfPos":{"align":"NONE","off":[0,0,1.625]}},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"GROUP","name":"Elite Attack Add","_br":{"then":[{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"_br":{"then":[{"type":"FACE_TO_TARGET","instant":true},{"type":"SET_FACE_STYLE","facingType":"FIXED"},{"type":"WAIT","time":0.016666666666666666},{"type":"SET_DMG_CEILING","maxTotalDmg":1.7},{"type":"SHOOT_PROXY_RANGE","angleRange":360,"angleStart":90,"count":2,"delay":0.05,"duration":0.03333333333333333,"group":"","pos":{"ent":"target"},"startDist":1.3,"startDistCollide":"DROP","uniformDir":0,"proxy":"atkSpikesBarrier"},{"type":"WAIT","time":0.25}]}}]}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT","_skip":true,"time":0.2},{"type":"END_AIM_FX"},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"boss1"},{"type":"VAR_CONDITION","condition":"!$ent.vars.barrier"}],"_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.barrier"},{"type":"WAIT","time":0.2}]}},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SET_DAMAGE_FACTOR","factor":1.25},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"boss1"}],"else":true,"_br":{"then":[{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"HOOK_1","off":[0,0,0.1875]},"startDistCollide":"NONE","uniformDir":0,"proxy":"bulletFast2Boss"}],"else":[{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"HOOK_1","off":[0,0,0.1875]},"startDistCollide":"NONE","uniformDir":0,"proxy":"bulletFast2"},{"type":"SET_HIT_STABLE","hitStable":"LIGHT"}]}},{"type":"SHOOT_PROXY_RANGE","_skip":true,"aimType":"AUTO","count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"HOOK_1","off":[0,0,0.1875]},"startDistCollide":"NONE","uniformDir":0,"proxy":"bulletFast2"},{"type":"SET_PHASE","phase":"POST_ATTACK"},{"type":"WAIT","time":0.7},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"boss1"},{"type":"HP_BROKEN","count":1}],"_br":{"then":[{"type":"WAIT","time":0.4},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.keepRoots"},{"type":"WAIT","time":0.1}]}},{"type":"WAIT","time":1.4},{"type":"KILL_PROXIES","groupName":"attackRoots","proxyOwner":{"self":1},"treatAsDestroy":true},{"type":"WAIT","time":1.1}],"attackOld":[{"type":"SET_HIT_STABLE","hitStable":"MEDIUM"},{"type":"SET_DAMAGE_FACTOR","factor":0.7},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.5},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SET_DAMAGE_FACTOR","factor":1.25},{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"HOOK_1"},"startDistCollide":"NONE","uniformDir":0,"proxy":"bulletFast"},{"type":"WAIT","time":0.7}],"attackRootSpikes":[{"type":"TARGET_FOLLOW_DASH","_skip":true,"rotateSpeed":45,"target":{"ent":"target","align":"CENTER"}},{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":1.2},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SET_DAMAGE_FACTOR","factor":1.25},{"type":"SHOW_ANIMATION","animation":"chargeUp"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#redGlowS","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT","time":0.2},{"type":"PUSH_PULL_FORCE","duration":0.2,"maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"ppStrength":18,"radius":3,"radiusFade":3,"radiusMin":0,"target":{"ent":"self"},"timeFadeIn":0.2,"timeFadeOut":0,"zRange":1},{"type":"WAIT","time":0.4},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"else":true,"_br":{"then":[{"type":"SET_DMG_CEILING","maxTotalDmg":1.6},{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","angleRange":360,"angleVary":20,"count":5,"delay":0,"duration":0,"maxGroundDist":1,"pos":{"ent":"self","align":"Z_BASE"},"startDist":1,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikePre"}],"else":[{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":1}],"else":true,"_br":{"then":[{"type":"SET_DMG_CEILING","maxTotalDmg":1.3},{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","angleRange":240,"angleVary":10,"count":3,"delay":0,"duration":0,"pos":{"ent":"self","align":"Z_BASE"},"startDist":1,"startDistCollide":"NONE","uniformDir":1,"proxy":"atkSpikePre"}],"else":[{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","angleVary":30,"count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"Z_BASE"},"startDist":1,"startDistCollide":"NONE","uniformDir":1,"proxy":"atkSpikePre"}]}}]}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":1}],"else":true,"_br":{"then":[{"type":"VAR_NUMBER","_skip":true,"changeType":"set","value":{"var":"ent.baseZPos"},"varName":"ent.vars.test"},{"type":"VAR_NUMBER","changeType":"set","value":{"var":"ent.hpBreaks"},"varName":"ent.vars.mortarShoot"},{"type":"SHOW_ANIMATION","animation":"shootUp"},{"type":"LABEL","name":"shoot"},{"type":"VAR_NUMBER","changeType":"sub","value":1,"varName":"ent.vars.mortarShoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"HOOK_1"},"proxy":"mortar"},{"type":"SET_DAMAGE_FACTOR","factor":1},{"type":"WAIT","time":0.3},{"type":"IF","condition":"$ent.vars.mortarShoot > 0","_br":{"then":[{"type":"SHOW_ANIMATION","animation":"shootUp","followUp":"idle","interpolate":0.1},{"type":"GOTO_LABEL","name":"shoot"}]}}],"else":[{"type":"CLEAR_ANIMATION"}]}},{"type":"SET_PHASE","phase":"POST_ATTACK"},{"type":"LABEL","name":"endWait"},{"type":"WAIT","time":0.2},{"type":"SET_VAR_NUMBER_PROXY_COUNT","groupName":"rootsPre","proxyOwner":{"self":1},"varName":"ent.vars.rootCount"},{"type":"COMBAT_IF","condition":[{"type":"VAR_CONDITION","condition":"$ent.vars.rootCount"}],"_br":{"then":[{"type":"GOTO_LABEL","name":"endWait"}]}},{"type":"WAIT","time":1.4}],"attackUp1":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.9},{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"closestTo":{"ent":"target"},"groupName":"targetAdd","position":0,"proxyOwner":{"self":1},"varName":"ent.vars.closestAdd"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetShoot"},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEyeStrong","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT","time":0.2},{"type":"SHOW_ANIMATION","animation":"chargeUp"},{"type":"WAIT","time":0.4},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#redGlowS","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY_RANGE","aimType":"AUTO","angleRange":90,"angleVary":10,"count":2,"delay":0.2,"duration":0.8,"maxGroundDist":1,"pos":{"ent":"self","align":"Z_BASE"},"startDist":1,"startDistCollide":"NONE","uniformDir":0,"proxy":"atkSpikePre"},{"type":"WAIT","time":{"var":"ent.phaseTime"}},{"type":"VAR_NUMBER","changeType":"set","value":-1,"varName":"ent.vars.targetShoot"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.mortarShoot"},{"type":"SHOW_ANIMATION","animation":"shootUp"},{"type":"LABEL","name":"shoot"},{"type":"VAR_NUMBER","changeType":"sub","value":1,"varName":"ent.vars.mortarShoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"HOOK_1"},"proxy":"mortar"},{"type":"SET_DAMAGE_FACTOR","factor":1},{"type":"WAIT","time":0.3},{"type":"IF","condition":"$ent.vars.mortarShoot","_br":{"then":[{"type":"SHOW_ANIMATION","animation":"shootUp","followUp":"idle","interpolate":0.1},{"type":"GOTO_LABEL","name":"shoot"}]}},{"type":"SET_PHASE","phase":"POST_ATTACK"},{"type":"WAIT","time":0.2},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.targetShoot"},{"type":"WAIT","time":1.6}],"attackUpBoss":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.9},{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"closestTo":{"ent":"target"},"groupName":"targetAdd","position":0,"proxyOwner":{"self":1},"varName":"ent.vars.closestAdd"},{"type":"SET_VAR_ENTITY_POI","closestTo":{"ent":"target"},"poiTargets":{"conditions":[],"group":"targetAdd","proxyOwner":{"self":1},"type":"PROXIES"},"position":0,"varName":"ent.vars.closestAdd"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetShoot"},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOW_ANIMATION","animation":"chargeUp"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#redGlowS","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT","time":{"var":"ent.phaseTime"}},{"type":"VAR_NUMBER","changeType":"set","value":-1,"varName":"ent.vars.targetShoot"},{"type":"VAR_NUMBER","changeType":"set","value":2,"varName":"ent.vars.mortarShoot"},{"type":"SHOW_ANIMATION","animation":"shootUp"},{"type":"LABEL","name":"shoot"},{"type":"VAR_NUMBER","changeType":"sub","value":1,"varName":"ent.vars.mortarShoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"HOOK_1"},"proxy":"mortar"},{"type":"SET_DAMAGE_FACTOR","factor":1},{"type":"WAIT","time":0.3},{"type":"IF","condition":"$ent.vars.mortarShoot","_br":{"then":[{"type":"SHOW_ANIMATION","animation":"shootUp","followUp":"idle","interpolate":0.1},{"type":"GOTO_LABEL","name":"shoot"}]}},{"type":"SET_PHASE","phase":"POST_ATTACK"},{"type":"WAIT","time":0.2},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"_br":{"then":[{"type":"SET_VAR_NUMBER_PROXY_COUNT","groupName":"targetAdd","proxyOwner":{"owner":1},"varName":"ent.vars.addCount"},{"type":"IF","condition":"$ent.vars.addCount == 1","else":true,"_br":{"then":[{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"groupName":"targetAdd","position":0,"proxyOwner":{"self":1},"varName":"ent.vars.closestAdd"},{"type":"SET_VAR_ENTITY_POI","poiTargets":{"conditions":[],"group":"targetAdd","proxyOwner":{"self":1},"type":"PROXIES"},"position":0,"varName":"ent.vars.closestAdd"}],"else":[{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"closestTo":{"ent":"target"},"groupName":"targetAdd","multiVar":2,"position":0,"proxyOwner":{"self":1},"varName":"ent.vars.closestAdd"},{"type":"SET_VAR_ENTITY_POI","closestTo":{"ent":"target"},"multiVar":2,"poiTargets":{"conditions":[],"group":"targetAdd","proxyOwner":{"self":1},"type":"PROXIES"},"position":0,"varName":"ent.vars.closestAdd"},{"type":"IF","condition":"$ent.vars.closestAdd == $ent.vars.closestAdd-1","else":true,"_br":{"then":[{"type":"SET_VAR_ENTITY","entity":{"var":"ent.vars.closestAdd-2"},"varName":"ent.vars.closestAdd"}],"else":[{"type":"SET_VAR_ENTITY","entity":{"var":"ent.vars.closestAdd-1"},"varName":"ent.vars.closestAdd"}]}}]}},{"type":"VAR_NUMBER","changeType":"set","value":2,"varName":"ent.vars.targetShoot"},{"type":"WAIT","time":0.5}]}},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.targetShoot"},{"type":"WAIT","time":1.6}],"weakStart":[{"type":"KILL_PROXIES","groupName":"attackRoots","proxyOwner":{"self":1},"treatAsDestroy":true},{"type":"KILL_PROXIES","groupName":"rootsPre","proxyOwner":{"self":1}},{"type":"SPAWN_FX","detached":true,"duration":-1,"effect":"FX:combat.weak#blink","group":"weak","target":{"ent":"self"}},{"type":"REMOVE_SHIELD","name":"flowerShield"}],"endWeak":[{"type":"CALL_ENEMY_ACTION","action":"initShield"},{"type":"CLEAR_FX","group":"weak"},{"type":"SHOW_ANIMATION","animation":"close","wait":true}],"initShield":[{"type":"REMOVE_SHIELD","name":"flowerShield"},{"type":"ADD_SHIELD","actionDetached":true,"shield":{"blockPart":"PART_2","dmgFactor":1,"dmgFactorStable":0.25,"hitResist":[0.1,0.5,0.1],"name":"flowerShield","triggerFactor":1,"weakPart":"PART_3"}}],"createTargetProxy":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_DAMAGE_FACTOR","factor":0.5},{"type":"SET_TRIGGER_FACTOR","factor":0},{"type":"RESET_HIT_TRACKER","tracker":"break"},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.fullBarrier"},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.owner.vars.extrasDead"},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"else":true,"_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":6,"varName":"ent.owner.vars.extrasGoal"}],"else":[{"type":"VAR_NUMBER","changeType":"set","value":3,"varName":"ent.owner.vars.extrasGoal"}]}},{"type":"SET_CAMERA_TARGET","speed":"SLOW","target":{"ent":"self"},"zoom":0.7},{"type":"PUSH_PULL_FORCE","duration":0.7,"maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"ppStrength":22,"radius":4,"radiusFade":4,"radiusMin":0,"target":{"ent":"self"},"timeFadeIn":0.2,"timeFadeOut":0,"zRange":1},{"type":"WAIT","time":0.15},{"type":"SHOOT_PROXY_RANGE","angleRange":360,"count":16,"delay":0,"duration":0,"group":"add","pos":{"ent":"self"},"startDist":2.6,"startDistCollide":"NONE","uniformDir":0,"proxy":"rootBarrierFull"},{"type":"WAIT","time":0.4},{"type":"FACE_TO_TARGET","instant":true},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.fullBarrier"},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"else":true,"_br":{"then":[{"type":"SHOOT_PROXY_RANGE","angleRange":360,"angleVary":15,"count":6,"delay":0,"duration":0,"group":"","pos":{"ent":"self"},"startDist":9,"startDistCollide":"NONE","uniformDir":0,"wait":true,"proxy":"targetProxyPre"}],"else":[{"type":"SHOOT_PROXY_RANGE","angleRange":360,"angleVary":5,"count":3,"delay":0,"duration":0.1,"group":"","pos":{"ent":"self"},"startDist":9,"startDistCollide":"NONE","uniformDir":0,"wait":true,"proxy":"targetProxyPre"}]}},{"type":"WAIT","time":1.2},{"type":"SET_CAMERA_TARGET","_skip":true,"speed":"SLOWER","target":{"ent":"self"},"zoom":0.85},{"type":"SET_CAMERA_TARGET","speed":"SLOW","target":{"ent":"self"},"zoom":0.9},{"type":"WAIT","time":0.9}],"targetProxyDead":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_TRIGGER_FACTOR","factor":0},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.owner.vars.extrasGoal"},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.owner.vars.extrasDead"},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.targetShoot"},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","target":{"ent":"self"},"wait":true},{"type":"WAIT","time":0.4},{"type":"SET_CAMERA_TARGET","speed":"NORMAL","target":{"ent":"self"}},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.fullBarrier"},{"type":"RESET_TIME_TRACKER","tracker":"rebarrier"},{"type":"RESET_HIT_TRACKER","tracker":"break"},{"type":"SET_TRIGGER_FACTOR","factor":1},{"type":"KILL_PROXIES","groupName":"targetAdd","partialGroup":true,"proxyOwner":{"self":1}},{"type":"WAIT","time":1.2}],"hpBreak":[{"type":"KILL_PROXIES","groupName":"attackRoots","proxyOwner":{"self":1},"treatAsDestroy":true},{"type":"KILL_PROXIES","groupName":"barrier","proxyOwner":{"self":1},"treatAsDestroy":true},{"type":"RESET_TIME_TRACKER","forceValue":1,"tracker":"rebarrier"},{"type":"RESET_TIME_TRACKER","forceValue":1,"tracker":"recover"},{"type":"RESET_HIT_TRACKER","tracker":"break"},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.fullBarrier"},{"type":"KILL_PROXIES","groupName":"targetAdd","partialGroup":true,"proxyOwner":{"self":1}}],"init":[{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"boss1"}],"_br":{"then":[{"type":"RESET_TIME_TRACKER","forceValue":1,"tracker":"rebarrier"}]}}],"boomOld":[{"type":"SET_CAMERA_TARGET","speed":2,"target":{"ent":"self","align":"CENTER","off":[0,0,-1]},"waitSkip":0.2,"zoom":1.25},{"type":"SPAWN_FX","duration":2,"effect":"FX:combat.defeat#midbossDefeatPre","target":{"ent":"self","align":"NODE_CENTER"},"wait":true},{"type":"SET_CAMERA_ZOOM","duration":0.3,"spline":"EASE_OUT","zoom":1.5},{"type":"SPAWN_FX","duration":2.4,"effect":"FX:combat.defeat#midbossDefeatBoom","target":{"ent":"self","align":"NODE_CENTER"}},{"type":"KILL_PROXIES","groupName":"","proxyOwner":{"self":1}},{"type":"WAIT","time":0.4},{"type":"SET_CAMERA_ZOOM","duration":2},{"type":"WAIT","time":2},{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.fade#hideInstant","target":{"ent":"self"}},{"type":"WAIT","time":0.4},{"type":"SET_COMBATANT_DEAD"},{"type":"WAIT","time":1},{"type":"DO_MANUAL_KILL"}],"boom":[{"type":"SET_CAMERA_TARGET","speed":4,"spline":"EASE_IN","target":{"ent":"self","align":"NODE_CENTER"},"zoom":1.5},{"type":"WAIT","time":1},{"type":"SPAWN_FX","duration":3,"effect":"FX:combat.defeat#bossDefeatPre","target":{"ent":"self","align":"NODE_CENTER"},"wait":true},{"type":"ADD_SLOW_MOTION","invert":"ALL","timeFactor":0.01},{"type":"SET_CAMERA_TARGET","speed":0.3,"spline":"EASE_OUT","target":{"ent":"self","align":"NODE_CENTER"},"zoom":3},{"type":"SPAWN_FX","duration":0.8,"effect":"FX:combat.defeat#bossDefeatWhite","ignoreSlowMo":1,"target":{"ent":"self","align":"NODE_CENTER"}},{"type":"SPAWN_FX","duration":0.8,"effect":"FX:enemy.core#flower","ignoreSlowMo":1,"target":{"ent":"self","align":"NODE_CENTER"}},{"type":"WAIT","time":0.8},{"type":"CLEAR_SLOW_MOTION"},{"type":"SET_CAMERA_TARGET","speed":0.6,"spline":"EASE","target":{"ent":"self","align":"NODE_CENTER"},"zoom":2},{"type":"SET_CAMERA_TARGET","speed":5,"spline":"EASE_OUT","target":{"ent":"self","align":"NODE_CENTER"}},{"type":"SPAWN_FX","duration":-1,"effect":"FX:combat.defeat#bossDefeatBoomWasp","target":{"ent":"self","align":"NODE_CENTER"}},{"type":"WAIT","time":2.5},{"type":"SET_OVERLAY","alpha":1,"color":"WHITE_LIGHTER","time":3.3},{"type":"ADD_SLOW_MOTION","fadeIn":3.4,"timeFactor":0.1},{"type":"WAIT","ignoreSlowDown":true,"time":3.5},{"type":"CLEAR_SLOW_MOTION"},{"type":"CLEAR_FX"},{"type":"SET_OVERLAY","alpha":0,"color":"WHITE_LIGHTER","time":1},{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.fade#hideInstant","target":{"ent":"self"}},{"type":"WAIT","time":0.5},{"type":"SET_COMBATANT_DEAD"},{"type":"WAIT","time":1.5},{"type":"DO_MANUAL_KILL"}],"-TEST":[{"type":"TARGET_FOLLOW_DASH","_skip":true,"rotateSpeed":45,"target":{"ent":"target","align":"CENTER"}},{"type":"SET_HIT_STABLE","hitStable":"HEAVY"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":1.9},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.barrier"},{"type":"FACE_TO_TARGET","instant":true},{"type":"SET_FACE_STYLE","facingType":"TARGET"},{"type":"WAIT","time":0.6},{"type":"START_AIM_FX","aimFx":"ReflectProjectile","selfPos":{"align":"NONE","off":[0,0,1.625]}},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"HOOK_1"}},{"type":"WAIT","_skip":true,"time":0.2},{"type":"END_AIM_FX"},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","hook":"HOOK_1"},{"type":"SET_PHASE","phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SET_DAMAGE_FACTOR","factor":1.25},{"type":"SHOOT_PROXY","pos":{"ent":"self"},"proxy":"atkRootMove"},{"type":"SET_HIT_STABLE","hitStable":"LIGHT"},{"type":"WAIT","time":0.7}],"test2":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_DAMAGE_FACTOR","factor":0.5},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.fullBarrier"},{"type":"SHOOT_PROXY_RANGE","angleNarrow":0,"angleRange":3,"angleVary":0,"count":2,"delay":0,"duration":2,"group":"add","pos":{"ent":"self"},"random":true,"startDist":1,"startDistAdd":8,"startDistCollide":"NONE","uniformDir":0,"proxy":"rootBarrierFull"},{"type":"SHOOT_PROXY_RANGE","angleNarrow":0,"angleRange":3,"angleStart":180,"angleVary":30,"count":3,"delay":0,"duration":2,"group":"add","pos":{"ent":"self","off":[0,0,2]},"random":true,"startDist":1,"startDistAdd":4,"startDistCollide":"NONE","uniformDir":0,"proxy":"bulletFast"},{"type":"WAIT","time":2.2},{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"closestTo":{"ent":"player","align":"CENTER","off":[0,0,1]},"groupName":"targetAdd","multiVar":3,"position":0,"proxyOwner":{"self":1},"varName":"ent.vars.test"},{"type":"SET_VAR_ENTITY_POI","closestTo":{"ent":"player","align":"CENTER","off":[0,0,1]},"multiVar":3,"poiTargets":{"conditions":[],"group":"targetAdd","proxyOwner":{"self":1},"type":"PROXIES"},"position":0,"varName":"ent.vars.test"},{"type":"WAIT","time":1}],"ppTest1":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_DAMAGE_FACTOR","factor":0.5},{"type":"SPAWN_FX","_skip":true,"duration":-1,"effect":"FX:generic.jump#spiderJump","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"PUSH_PULL_FORCE","duration":1,"effect":"FX:generic.projectile#redShotThinTrail","maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"moveScale":0.3,"ppStrength":15,"radius":99,"radiusFade":0,"radiusMin":0,"target":{"ent":"self"},"timeFadeIn":2,"timeFadeOut":2,"zRange":1},{"type":"WAIT","time":3},{"type":"STOP_COMBAT_ACTS","onlyRepeating":true},{"type":"WAIT","time":0.5},{"type":"PUSH_PULL_FORCE","_skip":true,"doPull":true,"duration":-1,"effect":"FX:generic.projectile#redShotThinTrail","maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"moveScale":0.5,"ppStrength":8,"radius":5,"radiusFade":10,"radiusMin":1,"target":{"ent":"self"},"timeFadeIn":0,"timeFadeOut":0,"zRange":1},{"type":"WAIT","_skip":true,"time":2},{"type":"STOP_COMBAT_ACTS","_skip":true,"onlyRepeating":true},{"type":"WAIT","_skip":true,"time":0.5},{"type":"PUSH_PULL_FORCE","_skip":true,"duration":-1,"effect":"FX:generic.projectile#redShotThinTrail","maxFaceAngle":0,"maxSidewayDist":0,"maxWeight":0,"moveScale":0.5,"ppStrength":69,"radius":5,"radiusFade":10,"radiusMin":0,"target":{"ent":"self"},"timeFadeIn":0,"timeFadeOut":0,"zRange":1},{"type":"WAIT","time":2}],"test69":[{"type":"SET_HIT_STABLE","hitStable":"MASSIVE"},{"type":"SET_DAMAGE_FACTOR","factor":0.5},{"type":"SPAWN_FX","_skip":true,"duration":-1,"effect":"FX:generic.jump#spiderJump","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"HIT_CIRCLE","attackInfo":{"element":"NEUTRAL","hitType":"SLASH","impact":"LIGHT"},"duration":-1,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":10,"target":{"ent":"self"}},{"type":"HIT_LINE","_skip":true,"attackInfo":{"element":"NEUTRAL","hitType":"SLASH","impact":"HEAVY"},"duration":-1,"multiHit":0,"radius":1,"target1":{"ent":"target"},"target2":{"ent":"target"}},{"type":"WAIT","time":2},{"type":"STOP_COMBAT_ACTS","onlyRepeating":true},{"type":"WAIT","time":0.5}]},"proxies":{"mortar":{"attackInfo":{"element":"NEUTRAL","fly":"MEDIUM","hitType":"PIERCE","impact":"MEDIUM"},"figure":"FIG:weapon.projectiles#blob","flyUp":{"adjustSpeed":5,"aimFx":"Circle3","minTime":2,"stopAdjustTime":0.2},"fxTrail":"FX:generic.projectile#redBombTrail","hitType":"ONLY_PROXY_ON_GROUND","maxTime":1.5,"speed":30,"subProxy":"boom","zGravityFactor":3,"type":"Projectile"},"boom":{"action":[{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":1.2,"element":"NEUTRAL","fly":"HEAVY_FAR","hitType":"BLUNT","impact":"HEAVY"},"duration":0.15,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":1,"radiusExpand":0.5,"target":{"ent":"self"}},{"type":"SPAWN_FX","effect":"FX:generic.boom#redSmall","target":{"ent":"self"},"wait":true}],"config":{"walkAnim":"default","weight":60},"walkAnims":{},"type":"Generic"},"bulletFast":{"attackInfo":{"damageFactor":2,"element":"NEUTRAL","fly":"MASSIVE","hitType":"PIERCE","impact":"HEAVY","triggerFactor":10},"figure":"FIG:weapon.projectiles#spike","flyStraight":{"adjustAngle":50,"start":{"adjustAngle":180,"duration":0.8,"fxStart":"FX:generic.projectile#redSpikeStart","fxStartDelay":0.3,"fxTrail":"FX:generic.projectile#redSpikeTrail","speed":5,"transTime":0.1},"zVelAdjust":40},"fxHit":"FX:generic.projectile#redSpikeHit","fxTrail":"FX:generic.projectile#redSpikeTrail2","hitType":"ONCE","maxTime":2.5,"reflect":true,"speed":30,"zGravityFactor":0,"type":"Projectile"},"bulletFast2":{"attackInfo":{"damageFactor":1.3,"element":"NEUTRAL","fly":"MASSIVE","hitType":"PIERCE","impact":"HEAVY","triggerFactor":15},"figure":"FIG:weapon.projectiles#spike","flyStraight":{"adjustAngle":5,"loseAdjust":{"distance":3,"fxOnLose":"FX:generic.glow#projectileLoseAdjustGlow"},"zVelAdjust":40},"fxHit":"FX:generic.projectile#redSpikeHit","fxTrail":"FX:generic.projectile#redSpikeTrail2","hitType":"ONCE","maxTime":2.5,"reflect":true,"speed":25,"zGravityFactor":0,"type":"Projectile"},"bulletFast2Boss":{"attackInfo":{"damageFactor":1.4,"element":"NEUTRAL","fly":"MASSIVE","hitType":"PIERCE","impact":"HEAVY","triggerFactor":20},"figure":"FIG:weapon.projectiles#spike","flyStraight":{"adjustAngle":5,"loseAdjust":{"distance":3,"fxOnLose":"FX:generic.glow#projectileLoseAdjustGlow"},"zVelAdjust":40},"fxHit":"FX:generic.projectile#redSpikeHit","fxTrail":"FX:generic.projectile#redSpikeTrail2","hitType":"ONCE","maxTime":2.5,"reflect":true,"speed":25,"zGravityFactor":0,"type":"Projectile"},"rootBarrierAtk":{"action":[{"type":"SET_ENTITY_POSITION","target":{"ent":"self","off":[0,0,-1]}},{"type":"SPAWN_FX","effect":"FX:generic.homing#groundRootFollow2","group":"move","target":{"ent":"self"},"target2":{"ent":"owner"},"wait":true},{"type":"SET_ENTITY_POSITION","target":{"ent":"self","off":[0,0,1]}},{"type":"WAIT_UNTIL","condition":"$ent.owner.vars.barrier","maxTime":5},{"type":"IF","condition":"$ent.owner.vars.barrier","_br":{"then":[{"type":"SPAWN_FX","effect":"FX:generic.fade#shakeGroundStatic1","target":{"ent":"self"}},{"type":"WAIT","time":0.3},{"type":"SET_COLL","collType":"T_FENCE"},{"type":"MODIFY_GENERIC_PROXY","connect":"COMBATANT"},{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.2,"element":"NEUTRAL","fly":"MASSIVE","fx":"LIGHT","hitType":"PIERCE","impact":"MASSIVE"},"duration":0.3,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":0.6,"target":{"ent":"self"},"zRange":2},{"type":"SHOW_ANIMATION","animation":"turnOn","followUp":"on"},{"type":"WAIT","time":1.1},{"type":"WAIT_UNTIL","condition":"!$ent.vars.barrier","maxTime":2},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.fade#shakeGroundHide1","target":{"ent":"self"}},{"type":"WAIT","time":0.3},{"type":"SHOW_ANIMATION","animation":"turnOff","followUp":"off"},{"type":"WAIT","time":0.2},{"type":"SET_COLL","collType":"NONE"},{"type":"WAIT","time":0.2}]}}],"altFigures":["FIG:weapon.barrier-proxies#rootBarrier2"],"config":{"collType":"NONE","facingType":"FIXED","groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"connect":"ACTION","defaultGroup":"barrier","destroyAction":[{"type":"IF","condition":"$ent.owner.vars.barrier","_br":{"then":[{"type":"SPAWN_FX","effect":"FX:generic.fade#shakeGroundHide1","target":{"ent":"self"}},{"type":"SHOW_ANIMATION","animation":"turnOff","followUp":"off"},{"type":"WAIT","time":0.1}]}}],"figure":"FIG:weapon.barrier-proxies#rootBarrier1","fxDie":"FX:generic.fade#hideInstant","fxSpawn":"FX:generic.fade#showPink","randFlip":true,"walkAnims":{"default":{"idle":"off"}},"type":"Generic"},"rootBarrierFull":{"action":[{"type":"SET_ENTITY_POSITION","target":{"ent":"self","off":[0,0,-1]}},{"type":"SPAWN_FX","effect":"FX:generic.homing#groundRootFollow2","group":"move","target":{"ent":"self"},"target2":{"ent":"owner"},"wait":true},{"type":"SET_ENTITY_POSITION","target":{"ent":"self","off":[0,0,1]}},{"type":"WAIT_UNTIL","condition":"$ent.owner.vars.fullBarrier","maxTime":2},{"type":"IF","condition":"$ent.owner.vars.fullBarrier","_br":{"then":[{"type":"SPAWN_FX","effect":"FX:generic.fade#shakeGroundStatic1","target":{"ent":"self"}},{"type":"WAIT","time":0.3},{"type":"SET_COLL","collType":"T_FENCE"},{"type":"MODIFY_GENERIC_PROXY","connect":"COMBATANT"},{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.3,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"MASSIVE"},"duration":0.3,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":0.6,"target":{"ent":"self"},"zRange":2},{"type":"SHOW_ANIMATION","animation":"turnOn","followUp":"on"},{"type":"WAIT_UNTIL","condition":"!$ent.owner.vars.fullBarrier"},{"type":"SPAWN_FX","_skip":true,"effect":"FX:interact.destruct#rockHit","target":{"ent":"self"}},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.fade#shakeGroundHide1","target":{"ent":"self"}},{"type":"WAIT","time":0.3},{"type":"SHOW_ANIMATION","animation":"turnOff","followUp":"off"},{"type":"WAIT","time":0.2},{"type":"SET_COLL","collType":"NONE"},{"type":"WAIT","time":0.2}]}}],"altFigures":["FIG:weapon.barrier-proxies#rootBarrier2"],"config":{"collType":"NONE","facingType":"FIXED","groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"connect":"ACTION","defaultGroup":"barrier","destroyAction":[{"type":"IF","condition":"$ent.owner.vars.fullBarrier","_br":{"then":[{"type":"SPAWN_FX","effect":"FX:generic.fade#shakeGroundHide1","target":{"ent":"self"}},{"type":"SHOW_ANIMATION","animation":"turnOff","followUp":"off"},{"type":"WAIT","time":0.1}]}}],"figure":"FIG:weapon.barrier-proxies#rootBarrier1","fxDie":"FX:generic.fade#hideInstant","fxSpawn":"FX:generic.fade#showPink","randFlip":true,"walkAnims":{"default":{"idle":"off"}},"type":"Generic"},"targetProxyPre":{"action":[{"type":"SPAWN_FX","effect":"FX:generic.homing#groundRootFollow2","group":"move","target":{"ent":"self"},"target2":{"ent":"owner"},"wait":true,"waitSkip":0.1},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self"},"proxy":"targetProxy"},{"type":"WAIT_UNTIL_FX_DONE","entity":{"self":1},"group":"move"}],"config":{"walkAnim":"default","weight":-1},"defaultGroup":"targetAddPre","walkAnims":{},"type":"Generic"},"targetProxy":{"action":[{"type":"IF","condition":"!$ent.vars.started","_br":{"then":[{"type":"ADD_PLAYER_CAMERA_TARGET","align":"NONE","speed":"SLOW","zoomOut":0.8},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.started"}]}},{"type":"WAIT","time":-1},{"type":"IF","_skip":true,"condition":"$ent.owner.vars.fullBarrier","_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.owner.vars.fullBarrier"}]}}],"config":{"collType":"ACTOR","facingType":"TARGET","groundConnect":"GLUED","hitSound":"Organic","walkAnim":"default","weight":-1},"defaultGroup":"targetAdd","destroyAction":[{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"DISABLE_REACTION"},{"type":"SET_FACE_STYLE","facingType":"FIXED"},{"type":"SHOW_ANIMATION","animation":"damageOpen"},{"type":"SET_COLL","collType":"DASHING"},{"type":"SPAWN_FX","duration":-1,"effect":"FX:combat.defeat#preDeath","group":"blink","target":{"ent":"self"}},{"type":"SPAWN_FX","detached":true,"duration":1.4,"effect":"FX:combat.defeat#fadeLoop","target":{"ent":"self"}},{"type":"WAIT","time":0.2},{"type":"SET_COLL","collType":"PASSIVE"},{"type":"REMOVE_PLAYER_CAMERA_TARGET"},{"type":"CLEAR_FX","group":"blink"},{"type":"IF","condition":"($ent.owner.vars.extrasDead + 1) >= $ent.owner.vars.extrasGoal","_br":{"then":[{"type":"SET_CAMERA_TARGET","speed":"SLOW","target":{"ent":"owner","align":"TOP"},"zoom":1.1}]}},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.homing#groundRootReturn2","group":"move","target":{"ent":"owner"},"target2":{"ent":"self"},"wait":true,"waitSkip":0.3},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.owner.vars.extrasDead"}],"figure":"FIG:enemy.start.turret-guard-boss1#targetAdd","fxDestroyed":"FX:generic.fade#hideInstant","fxDie":"FX:generic.fade#hidePink","fxSpawn":"FX:generic.fade#showPink","proxyLife":{"aimRange":20,"hitResist":[1.5,1,1],"lifeFactor":0.2,"spGainFactor":0.75,"hasRealLife":true,"proxyHud":{"hudAlign":{"align":"NODE_HEAD","off":[0,0,1.5]},"hudType":"SMALL"}},"reactions":{"shoot":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":-1,"varName":"ent.owner.vars.targetShoot"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.9},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":15,"target":{"ent":"target","align":"CENTER"}},{"type":"START_AIM_FX","_skip":true,"aimFx":"ReflectProjectile","selfPos":{"align":"NONE","off":[0,0,1.625]}},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT","_skip":true,"time":0.2},{"type":"END_AIM_FX","_skip":true},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","_skip":true,"hook":"HOOK_1"},{"type":"WAIT","time":0.1},{"type":"SET_PHASE","_skip":true,"phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]},"proxy":"targetProjectiles"},{"type":"WAIT","time":0.1}],"executionType":"RESTART_ACTION","req":[{"type":"VAR_CONDITION","condition":"$ent.owner.vars.targetShoot >= 1"},{"type":"IS_ENTITY","otherEntity":{"var":"ent.owner.vars.closestAdd"},"thisEntity":{"self":1}}],"type":"Auto"},"hit":{"action":[{"type":"COMBAT_IF","condition":[{"type":"IS_ENTITY","otherEntity":{"var":"ent.owner.vars.closestAdd"},"thisEntity":{"self":1}}],"_br":{"then":[{"type":"SET_VAR_ENTITY","varName":"ent.owner.vars.closestAdd"}]}},{"type":"SHOW_ANIMATION","animation":"damageOpen","wait":true},{"type":"WAIT","time":0.1}],"damageFactor":1,"executionType":"RESTART_ACTION","req":[{"type":"IMPACT_BREAK_LEVEL","impactBreakLevelType":"MEDIUM"}],"type":"Hit"}},"walkAnims":{"default":{"damage":"damageClosed2","damageRight":"damageClosed","die":"damageOpen","idle":"idle"}},"type":"Generic"},"targetProjectiles":{"attackInfo":{"damageFactor":0.8,"element":"NEUTRAL","hitType":"PIERCE","impact":"MEDIUM"},"figure":"FIG:weapon.projectiles#blob","flyStraight":{"adjustAngle":10,"zFlyVariance":0.1,"zVelAdjust":0.5},"fxHit":"FX:generic.projectile#redShotThinHit1","fxTrail":"FX:generic.projectile#redShotThinTrail","hitType":"ONCE","maxTime":4,"speed":17,"zGravityFactor":0,"type":"Projectile"},"atkSpikesBarrier":{"action":[{"type":"SPAWN_FX","_skip":true,"effect":"FX:interact.destruct#sandDig","target":{"ent":"owner"},"target2":{"ent":"self"},"wait":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"set","value":{"var":"ent.baseZPos"},"varName":"ent.vars.test"},{"type":"START_AIM_FX","aimFx":"Circle2","pos":"Z_BASE"},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"else":true,"_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":0.7,"varName":"ent.vars.fxDuration"}],"else":[{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.fxDuration"}]}},{"type":"SPAWN_FX","duration":{"var":"ent.vars.fxDuration"},"effect":"FX:generic.homing#groundRootFollow2","group":"move","target":{"ent":"self"},"target2":{"ent":"owner"},"wait":true},{"type":"SPAWN_FX","_skip":true,"effect":"FX:generic.charge#rootPreAttack","target":{"ent":"self","align":"CENTER"},"wait":true,"waitSkip":0.3},{"type":"WAIT","time":0.5},{"type":"SPAWN_FX","delay":0.016666666666666666,"effect":"FX:generic.charge#redGroundM","target":{"ent":"self","align":"Z_BASE","off":[0,0,-0.5]}},{"type":"END_AIM_FX","immediately":true},{"type":"SHOW_ANIMATION","animation":"out","followUp":"on"},{"type":"WAIT","time":0.1},{"type":"PLAY_SOUND","settings":{"behaviour":"SINGULAR_STEAL","playback":{},"type":"GAMEPLAY","volume":0.89},"sound":"media/audio/sfx/action/impact/terrain/impact-grass-hard.wav"},{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.8,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"HEAVY"},"duration":0.3,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":1.1,"radiusExpand":0.3,"target":{"ent":"self"},"zRange":2},{"type":"WAIT","time":0.3},{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.2,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"MEDIUM"},"duration":2.4,"expandSpline":"LINEAR","minRadius":0,"multiHit":0.4,"radius":1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT","time":1.9},{"type":"COMBAT_IF","condition":[{"type":"HP_BROKEN","count":2}],"_br":{"then":[{"type":"WAIT","time":1.1}]}},{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.2}],"config":{"groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"connect":"ACTION","defaultGroup":"attackRoots","destroyAction":[{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.2}],"figure":"FIG:enemy.common.nyx-fx#nyx-spikes1","fxSpawn":"FX:generic.fade#showInstant","randFlip":true,"walkAnims":{"default":{"idle":"ground"}},"type":"Generic"},"atkSpikeAttackFast":{"action":[{"type":"SPAWN_FX","_skip":true,"effect":"FX:interact.destruct#sandDig","target":{"ent":"owner"},"target2":{"ent":"self"},"wait":true},{"type":"SPAWN_FX","delay":0.016666666666666666,"effect":"FX:generic.charge#redGroundM","target":{"ent":"self","align":"Z_BASE","off":[0,0,-0.5]}},{"type":"SHOW_ANIMATION","animation":"out","followUp":"stay"},{"type":"WAIT","time":0.15},{"type":"PLAY_SOUND","settings":{"behaviour":"SINGULAR_STEAL","playback":{},"type":"GAMEPLAY","volume":0.73},"sound":"media/audio/sfx/action/impact/terrain/impact-grass-hard.wav"},{"type":"HIT_CIRCLE","attackInfo":{"element":"NEUTRAL","fly":"MASSIVE","fx":"LIGHT","hitType":"PIERCE","impact":"MASSIVE"},"duration":0.2,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":1.1,"radiusExpand":0.1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT","time":0.4},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"else":true,"_br":{"then":[{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.2,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"MEDIUM"},"duration":0.7,"expandSpline":"LINEAR","minRadius":0,"multiHit":0.4,"radius":1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT","time":0.6}],"else":[{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.2,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"MEDIUM"},"duration":1.1,"expandSpline":"LINEAR","minRadius":0,"multiHit":0.4,"radius":1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT","time":1}]}},{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.15}],"config":{"facingType":"FIXED","groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"defaultGroup":"attackRoots","destroyAction":[{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.1}],"figure":"FIG:enemy.common.nyx-fx#nyx-spikes1","fxDie":"FX:generic.fade#hidePink","fxSpawn":"FX:generic.fade#showInstant","randFlip":true,"walkAnims":{"default":{"idle":"ground"}},"type":"Generic"},"atkSpikePre":{"action":[{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.trail#underGroundDig2","faceRotate":"FIGURE_FACE","group":"move","target":{"ent":"self","align":"Z_BASE"}},{"type":"START_AIM_FX","aimFx":"Circle2","pos":"Z_BASE"},{"type":"TARGET_FOLLOW_DASH","forceCurrentFace":true,"rotateSpeed":123},{"type":"DASH_APPROACH","collideCancel":30,"distance":3,"duration":0.25},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"else":true,"_br":{"then":[{"type":"SET_SPEED","relative":0.9},{"type":"DASH_APPROACH","collideCancel":30,"distance":3,"duration":0.8,"rotateSpeed":90},{"type":"DASH_APPROACH","collideCancel":30,"distance":3,"duration":0.2,"rotateSpeed":130}],"else":[{"type":"DASH_APPROACH","collideCancel":30,"distance":3.5,"duration":1,"rotateSpeed":110},{"type":"DASH_APPROACH","collideCancel":30,"distance":3.5,"duration":0.5,"rotateSpeed":160}]}},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.charge#redCircleInSmalFast","group":"signal","target":{"ent":"self","align":"Z_BASE"}},{"type":"COMBAT_IF","condition":[{"type":"IS_ENEMY_ALT","alt":"elite1"}],"else":true,"_br":{"then":[{"type":"SET_SPEED","relative":0.7},{"type":"DASH_APPROACH","collideCancel":30,"duration":0.3,"missReactTime":0.1,"rotateSpeed":200}],"else":[{"type":"SET_SPEED","relative":0.8},{"type":"DASH_APPROACH","collideCancel":30,"duration":0.4,"missReactTime":0.1,"rotateSpeed":260}]}},{"type":"CLEAR_FX","group":"move"},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self","align":"Z_BASE"},"proxy":"atkSpikeAttackFast"},{"type":"WAIT","time":0.15}],"config":{"accelSpeed":0.4,"collType":"NONE","jumpingEnabled":false,"maxSpeed":11,"walkAnim":"default","weight":-1},"defaultGroup":"rootsPre","walkAnims":{},"type":"Generic"},"OLD-targetProxy":{"action":[{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.didShoot"},{"type":"LABEL","name":"start"},{"type":"COMBAT_IF","condition":[{"type":"TARGET_REACHABLE","_skip":true,"distance":16},{"type":"VAR_CONDITION","condition":"$ent.owner.vars.targetShoot >= 1"}],"_br":{"then":[{"type":"IF","condition":"!$ent.vars.didShoot","else":true,"_br":{"then":[{"type":"COMBAT_IF","condition":[{"type":"IS_ENTITY","otherEntity":{"var":"ent.owner.vars.closestAdd"},"thisEntity":{"self":1}}],"_br":{"then":[{"type":"LABEL","name":"shoot"},{"type":"VAR_NUMBER","changeType":"set","value":-1,"varName":"ent.owner.vars.targetShoot"},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.didShoot"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.9},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":15,"target":{"ent":"target","align":"CENTER"}},{"type":"START_AIM_FX","_skip":true,"aimFx":"ReflectProjectile","selfPos":{"align":"NONE","off":[0,0,1.625]}},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","faceRotate":"FIGURE_FACE","part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT","_skip":true,"time":0.2},{"type":"END_AIM_FX","_skip":true},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","_skip":true,"hook":"HOOK_1"},{"type":"WAIT","time":0.1},{"type":"SET_PHASE","_skip":true,"phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]},"proxy":"targetProjectiles"}]}}],"else":[{"type":"SET_VAR_NUMBER_PROXY_COUNT","groupName":"targetAdd","proxyOwner":{"owner":1},"varName":"ent.owner.vars.addCount"},{"type":"IF","condition":"$ent.owner.vars.addCount == 1","else":true,"_br":{"then":[{"type":"GOTO_LABEL","name":"shoot"}],"else":[{"type":"SET_VAR_ENTITY_PROXY","_skip":true,"closestTo":{"ent":"target"},"groupName":"targetAdd","position":1,"proxyOwner":{"owner":1},"varName":"ent.owner.vars.closestAdd"},{"type":"SET_VAR_ENTITY_POI","closestTo":{"ent":"target"},"poiTargets":{"conditions":[],"group":"targetAdd","proxyOwner":{"owner":1},"type":"PROXIES"},"position":1,"varName":"ent.owner.vars.closestAdd"}]}}]}}]}},{"type":"IF","condition":"$ent.vars.didShoot && $ent.owner.vars.targetShoot == 0","_br":{"then":[{"type":"CONSOLE_LOG","_skip":true,"text":"Unshoot"},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.didShoot"}]}},{"type":"WAIT","time":0.1},{"type":"GOTO_LABEL","name":"start"},{"type":"IF","condition":"$ent.owner.vars.fullBarrier","_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.owner.vars.fullBarrier"}]}}],"config":{"facingType":"TARGET","hitSound":"Organic","walkAnim":"default","weight":-1},"defaultGroup":"targetAdd","destroyAction":[{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"SPAWN_FX","_skip":true,"duration":0.5,"effect":"FX:generic.boom#redMedium-1","target":{"ent":"self"},"wait":true},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.owner.vars.extrasDead"}],"figure":"FIG:enemy.start.turret-guard-boss1#targetAdd","fxDie":"FX:generic.fade#hidePink","fxSpawn":"FX:generic.fade#showPink","proxyLife":{"aimRange":12,"lifeFactor":3,"spGainFactor":0.25},"reactions":{"reflectDmg":{"action":[],"damageFactor":5,"req":[{"type":"HIT_BY_OVERRIDE","ownProxy":true}],"type":"Hit"}},"walkAnims":{"default":{"damage":"damageClosed2","damageRight":"damageClosed","die":"weak","idle":"idle"}},"type":"Generic"},"OLD-targetProxy2":{"action":[{"type":"ADD_PLAYER_CAMERA_TARGET","align":"NONE","speed":"SLOW","zoomOut":0.8},{"type":"LABEL","name":"start"},{"type":"COMBAT_IF","condition":[{"type":"VAR_CONDITION","condition":"$ent.owner.vars.targetShoot >= 1"},{"type":"IS_ENTITY","otherEntity":{"var":"ent.owner.vars.closestAdd"},"thisEntity":{"self":1}}],"_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":-1,"varName":"ent.owner.vars.targetShoot"},{"type":"SET_PHASE","phase":"PRE_ATTACK","time":0.9},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":15,"target":{"ent":"target","align":"CENTER"}},{"type":"START_AIM_FX","_skip":true,"aimFx":"ReflectProjectile","selfPos":{"align":"NONE","off":[0,0,1.625]}},{"type":"SPAWN_FX","effect":"FX:combat.telegraphs#redEye","ignoreSlowMo":0,"part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"SHOW_ANIMATION","animation":"charge"},{"type":"SPAWN_FX","duration":{"var":"ent.phaseTime"},"effect":"FX:generic.charge#dirRedM","faceRotate":"FIGURE_FACE","ignoreSlowMo":0,"part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT_PHASE","subTime":0.2},{"type":"SPAWN_FX","effect":"FX:generic.discharge#redSpiral","faceRotate":"FIGURE_FACE","ignoreSlowMo":0,"part":"PART_3","target":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]}},{"type":"WAIT","_skip":true,"time":0.2},{"type":"END_AIM_FX","_skip":true},{"type":"SHOW_ANIMATION","animation":"shoot"},{"type":"WAIT_UNTIL_HOOK_READY","_skip":true,"hook":"HOOK_1"},{"type":"WAIT","time":0.1},{"type":"SET_PHASE","_skip":true,"phase":"ATTACK"},{"type":"SPAWN_FX","effect":"FX:generic.shoot#redSpikes","ignoreSlowMo":0,"target":{"ent":"self","align":"HOOK_1"}},{"type":"SHOOT_PROXY","aimType":"AUTO","pos":{"ent":"self","align":"BOTTOM","off":[0,0,1.5]},"proxy":"targetProjectiles"}]}},{"type":"WAIT","time":0.1},{"type":"GOTO_LABEL","name":"start"},{"type":"IF","condition":"$ent.owner.vars.fullBarrier","_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.owner.vars.fullBarrier"}]}}],"config":{"facingType":"TARGET","hitSound":"Organic","walkAnim":"default","weight":-1},"defaultGroup":"targetAdd","destroyAction":[{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"SPAWN_FX","_skip":true,"duration":0.5,"effect":"FX:generic.boom#redMedium-1","ignoreSlowMo":0,"target":{"ent":"self"},"wait":true},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.owner.vars.extrasDead"}],"figure":"FIG:enemy.start.turret-guard-boss1#targetAdd","fxDie":"FX:generic.fade#hidePink","fxSpawn":"FX:generic.fade#showPink","proxyLife":{"aimRange":12,"hitResist":[2,1,1],"lifeFactor":3},"walkAnims":{"default":{"damage":"damageClosed2","damageRight":"damageClosed","die":"weak","idle":"idle"}},"type":"Generic"},"OLD-atkRootPre":{"action":[{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.trail#underGroundDig2","group":"move","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"TARGET_FOLLOW_DASH","forceCurrentFace":true,"rotateSpeed":169},{"type":"DASH_APPROACH","collideCancel":30,"distance":3,"duration":0.7,"rotateSpeed":123},{"type":"DASH_APPROACH","collideCancel":30,"distance":2.2,"duration":1.2},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.charge#redCircleInSmalFast","group":"signal","ignoreSlowMo":0,"target":{"ent":"self","align":"Z_BASE"}},{"type":"SET_SPEED","_skip":true,"relative":0.7},{"type":"DASH_APPROACH","collideCancel":30,"distance":0.3,"duration":0.3,"forceMaxVel":true,"missReactTime":0,"rotateSpeed":180},{"type":"SET_FRICTION","groundFriction":0.9},{"type":"WAIT_UNTIL_FX_DONE","entity":{"self":1},"group":"signal","maxTime":0.5,"waitSkip":0.15},{"type":"CLEAR_FX","group":"move"},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self","align":"BOTTOM","off":[0,0,-1]},"proxy":"atkRootAttackFast"},{"type":"WAIT","time":0.2}],"config":{"accelSpeed":0.4,"collType":"NONE","jumpingEnabled":false,"maxSpeed":14,"walkAnim":"default","weight":-1},"walkAnims":{},"type":"Generic"},"OLD-atkSpikePre":{"action":[{"type":"DISABLE_REACTION"},{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.trail#underGroundDig2","group":"move","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"TARGET_FOLLOW_DASH","forceCurrentFace":true,"rotateSpeed":123},{"type":"DASH_APPROACH","collideCancel":30,"distance":3,"duration":0.25},{"type":"DASH_APPROACH","collideCancel":30,"distance":2.5,"duration":0.15,"rotateSpeed":142},{"type":"CLEAR_FOLLOW"},{"type":"TARGET_FOLLOW_DASH","forceCurrentFace":true,"rotateSpeed":199},{"type":"ENABLE_REACTION","reaction":"signal"},{"type":"LABEL","name":"repeat"},{"type":"DASH_APPROACH","collideCancel":30,"distance":0.5,"duration":2,"withBranches":"MISS","_br":{"hit":[{"type":"CLEAR_FOLLOW"},{"type":"TARGET_FOLLOW_JUMP","adjustSpeed":14},{"type":"POINT_APPROACH","collideCancel":30,"duration":[0,2]}],"missed":[]}},{"type":"COMBAT_IF","condition":[{"type":"HAS_FX_ACTIVE","group":"signal"}],"_br":{"then":[{"type":"GOTO_LABEL","name":"repeat"}]}},{"type":"DISABLE_REACTION","reaction":"signal"},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.charge#redCircleInSmalFast","group":"signal","ignoreSlowMo":0,"target":{"ent":"self","align":"Z_BASE"}},{"type":"ENABLE_REACTION","reaction":"signalDone"},{"type":"GOTO_LABEL","name":"repeat"}],"config":{"accelSpeed":0.4,"collType":"NONE","jumpingEnabled":false,"maxSpeed":13,"walkAnim":"default","weight":-1},"defaultGroup":"rootsPre","reactions":{"signal":{"action":[{"type":"DISABLE_REACTION","reaction":"signal"},{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.charge#redCircleInSmalFast","group":"signal","ignoreSlowMo":0,"target":{"ent":"self","align":"Z_BASE"}},{"type":"ENABLE_REACTION","reaction":"signalDone"}],"req":[{"type":"TARGET_REACHABLE","distance":1}],"type":"Auto"},"signalDone":{"action":[{"type":"DISABLE_REACTION","reaction":"signalDone"},{"type":"MOVE_FORWARD","maxTargetDistance":0,"time":0.05},{"type":"CLEAR_FX","group":"move"},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self","align":"BOTTOM"},"proxy":"atkSpikeAttackFast"},{"type":"WAIT","time":0.15}],"executionType":"END_PROXY","req":[{"type":"HAS_FX_ACTIVE","group":"signal","not":true,"waitSkip":0.1}],"type":"Auto"}},"walkAnims":{},"type":"Generic"},"rootBarrierTest":{"action":[{"type":"FORCE_MOVE_RELATIVE","duration":0.1,"offset":[3,0,0],"spline":"EASE_IN_OUT"},{"type":"WAIT_UNTIL","condition":"$ent.owner.vars.fullBarrier","maxTime":2},{"type":"IF","condition":"true","_br":{"then":[{"type":"MODIFY_GENERIC_PROXY","connect":"COMBATANT"},{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":0.3,"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"MASSIVE"},"duration":0.3,"expandSpline":"LINEAR","minRadius":0,"multiHit":0,"radius":0.6,"target":{"ent":"self"},"zRange":2},{"type":"SHOW_ANIMATION","animation":"turnOn","followUp":"on"},{"type":"WAIT","time":1},{"type":"SPAWN_FX","duration":-1,"effect":"FX:interact.destruct#fullShake","group":"shake","target":{"ent":"self"}},{"type":"WAIT","time":0.4},{"type":"SHOW_ANIMATION","animation":"turnOff","followUp":"off"},{"type":"CLEAR_FX","group":"shake"},{"type":"WAIT","time":0.2}]}}],"config":{"collType":"T_FENCE","facingType":"FIXED","groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"connect":"ACTION","defaultGroup":"barrier","figure":"FIG:weapon.barrier-proxies#rootBarrier1","fxDie":"FX:generic.fade#hidePink","fxSpawn":"FX:generic.fade#showPink","walkAnims":{"default":{"idle":"off"}},"type":"Generic"},"test":{"action":[{"type":"SPAWN_FX","duration":-1,"effect":"FX:interact.destruct#sandDig","group":"move","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"NAV_TO","target":{"ent":"target"}}],"autoReactions":[],"config":{"walkAnim":"default","weight":60},"hitReactions":[],"parryReactions":[],"walkAnims":{},"type":"Generic"}},"reactions":{"Break":{"fly":"HEAVY_BREAK","preAction":"weakStart","preSetState":"WEAK","type":"Break"},"BarrierGone":{"action":"targetProxyDead","dramaticZoom":"BREAK","preSetState":"COMBAT_BOSS","req":[{"type":"VAR_CONDITION","condition":"$ent.owner.vars.extrasGoal && ($ent.owner.vars.extrasDead >= $ent.owner.vars.extrasGoal)"}],"type":"AutoReaction"},"hpBreak":{"dmgWalkAnim":"weak","fly":"MASSIVE3","preAction":"hpBreak","preSetState":"WEAK","type":"HpBreak"}},"parts":{},"modes":{},"alts":{"elite1":{"exp":3.3,"figure":"FIG:enemy.start.turret-guard-elite1#default","freqWeightScale":1.7,"hp":3,"lvlAdd":2},"boss1":{"exp":18,"figure":"FIG:enemy.start.turret-guard-boss1#default","freqBaseScale":1.1,"freqWeightScale":4.35,"hp":12.3,"hpBreaks":[{"heal":0.2,"hp":0.75,"hpBarrier":0.7},{"heal":0.2,"hp":0.35,"hpBarrier":0.3}],"hudType":"BOSS","lvlAdd":2},"mega":{"hp":99}}}