{"base":{"aimPos":"CENTER","aimRadius":0,"args":[{"info":"Start (top left) point of the area where fish can do their jump","name":"areaStart","type":"Position"},{"info":"End (bottom right) point of the area where fish can do their jump","name":"areaEnd","type":"Position"}],"defaultState":"IDLE","figure":"FIG:props.nature.south-stones#tiny-5","hp":1,"hudPos":"NONE","hudType":"NONE","initAction":"init","skewFactor":0,"freqBase":0.5,"freqGrowth":0,"freqWeight":0,"walkAnims":{"default":{"dmgFall":"dmgFall"},"weak":{}},"config":{"collType":"NONE","dmgFactor":0,"fallDmg":0,"harmless":true,"hitStable":"MASSIVE","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0}},"trackers":{"hit":{},"shields":{},"time":{"move":{"altTrackers":[],"duration":1.5,"resetRandom":0.15}}},"states":{"IDLE":{"choices":[{"action":"idle"}],"reactions":[],"config":{"walkAnim":"default"}},"MINIGAME":{"choices":[],"reactions":[],"config":{"walkAnim":"default"}}},"actions":{"init":[],"idle":[{"type":"SET_FACE_STYLE"},{"type":"WAIT","time":0.2}],"intro":[{"type":"SHOW_ANIMATION","animation":"startDrive"},{"type":"FORCE_Z_MOVE","duration":0,"newZPos":16,"relative":true,"spline":"EASE_IN_OUT"},{"type":"SET_Z_VEL","zValue":-90},{"type":"WAIT","time":0.11666666666666667},{"type":"SHOW_ANIMATION","animation":"startDriveEnd","followUp":"idle"},{"type":"WAIT","time":0.2},{"type":"SCREEN_SHAKE","dir":"RANDOM","duration":0.1,"power":"STRONGEST","speed":"FAST"},{"type":"CLEAR_FX","delay":0.2,"entity":{"self":1}},{"type":"WAIT","time":1.5}],"bossDefeatBoom":[{"type":"SET_ENEMY_MODE","active":false,"mode":"weak"},{"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":"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"}],"fishingStart":[{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.scoreSpawnedTotal"},{"type":"VAR_NUMBER","changeType":"set","value":0,"varName":"ent.vars.scoreTarget"}],"spawnFishRows":[{"type":"VAR_NUMBER","_skip":true,"changeType":"set","value":0.9,"varName":"tmp.fishInitialDistMult"},{"type":"VAR_VEC3","_skip":true,"changeType":"set","value":[-4,-4,0],"varName":"ent.vars.spawnPosChange"},{"type":"VAR_NUMBER","changeType":"mul","min":2,"value":1,"varName":"ent.vars.spawnGoal"},{"type":"VAR_NUMBER","changeType":"set","value":{"var":"ent.vars.tempNum1"},"varName":"tmp.fishPlayerShotPos"},{"type":"VAR_NUMBER","_skip":true,"changeType":"sub","value":2,"varName":"tmp.tempNum1"},{"type":"VAR_STRING","changeType":"prepend","value":{"var":"ent.vars.tempNum1"},"varName":"ent.vars.tempPosString"},{"type":"VAR_STRING","changeType":"prepend","value":"fishTargetSpot","varName":"ent.vars.tempPosString"},{"type":"VAR_VEC3_FROM_POS","position":{"ent":"var","key":"ent.vars.tempPosString"},"varName":"ent.vars.tempPos1"},{"type":"VAR_VEC3","changeType":"set","value":{"var":"ent.vars.startPosRandOffset"},"varName":"ent.vars.tempVec3-1"},{"type":"IF","condition":"$ent.vars.tempNum1 > 1","else":true,"_br":{"then":[{"type":"VAR_VEC3","changeType":"mul","value":[2,2,1],"varName":"ent.vars.tempVec3-1"},{"type":"VAR_VEC3","changeType":"mul","value":[-1,-1,1],"varName":"ent.vars.startPosRandOffset"}],"else":[{"type":"VAR_VEC3","changeType":"set","value":[0,0,0],"varName":"ent.vars.startPosRandOffset"},{"type":"CONSOLE_LOG","logColor":"RED","text":"DO NOT RANDOM!"}]}},{"type":"VAR_VEC3","changeType":"add","randomRange":{"var":"ent.vars.tempVec3-1"},"value":{"var":"ent.vars.startPosRandOffset"},"varName":"ent.vars.tempPos1"},{"type":"VAR_NUMBER_FROM_DISTANCE","calcMoveTime":{"distOffset":-3,"maxSpeed":11,"relSpeed":0.7},"changeType":"set","ignoreZ":true,"pos1":{"ent":"self"},"pos2":{"var":"ent.vars.tempPos1"},"varName":"ent.vars.tempNum1"},{"type":"VAR_NUMBER","changeType":"sub","value":2.5,"varName":"ent.vars.tempNum1"},{"type":"IF","condition":"$ent.vars.tempNum1 < 0","else":true,"_br":{"then":[{"type":"VAR_NUMBER","changeType":"mul","value":-1,"varName":"ent.vars.tempNum1"}],"else":[{"type":"VAR_NUMBER","changeType":"set","value":0.01,"varName":"ent.vars.tempNum1"}]}},{"type":"CONSOLE_LOG","logColor":"PURPLE","text":"POS {v:ent.vars.tempPosString}: {v:ent.vars.tempPos1}\nTime {v:ent.vars.tempNum1}"},{"type":"WAIT","time":{"var":"ent.vars.tempNum1"}},{"type":"CALL_ENEMY_ACTION","action":"spawnFishType"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.spawnCount"},{"type":"LABEL","name":"spawn"},{"type":"WAIT","time":{"var":"ent.vars.spawnWaits"}},{"type":"VAR_VEC3","changeType":"add","value":{"var":"ent.vars.spawnPosChange"},"varName":"ent.vars.tempPos1"},{"type":"CONSOLE_LOG","_skip":true,"logColor":"GREEN","text":"POS: {v:ent.vars.tempPos1}"},{"type":"CALL_ENEMY_ACTION","action":"spawnFishType"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.spawnCount"},{"type":"IF","condition":"$ent.vars.spawnCount < $ent.vars.spawnGoal","_br":{"then":[{"type":"GOTO_LABEL","name":"spawn"}]}},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.wavesSpawned"}],"spawnFishType":[{"type":"SWITCH","entries":[{"cond":"$ent.vars.spawnType == 1"},{"cond":"$ent.vars.spawnType == 2"},{"cond":"$ent.vars.spawnType == 3"},{"cond":"$ent.vars.spawnType == 4"},{}],"select":"FIRST","_br":{"0":[{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"var":"ent.vars.tempPos1"},"proxy":"fish1Vertical"}],"1":[{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"var":"ent.vars.tempPos1"},"proxy":"fish2Long"}],"2":[{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"var":"ent.vars.tempPos1"},"proxy":"fish3Tanky"}],"3":[{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"var":"ent.vars.tempPos1"},"proxy":"fish4TankyUltra"}],"4":[{"type":"CONSOLE_LOG","isError":true,"text":"CALL_ENEMY_ACTION spawnFishType: '$ent.vars.spawnType' is {v:ent.vars.spawnType}, which is not a valid value (1-4)!"}]}}],"getRandomPos":[{"type":"VAR_VEC3_FROM_RECTANGLE","target1":{"var":"ent.vars.spawn.areaStart"},"target2":{"var":"ent.vars.spawn.areaEnd"},"varName":"ent.vars.tempPos1"},{"type":"CONSOLE_LOG","_skip":true,"logColor":"ORANGE","text":"getRandomPos:\n{v:ent.vars.tempPos1}"}],"getScoreTarget":[{"type":"VAR_NUMBER","changeType":"add","value":0,"varName":"ent.vars.scoreSpawnedTotal"},{"type":"VAR_NUMBER","changeType":"add","value":50,"varName":"ent.vars.scoreTarget"},{"type":"VAR_NUMBER","changeType":"set","value":{"var":"ent.vars.scoreTarget"},"varName":"ent.vars.scoreBalance"},{"type":"VAR_NUMBER","changeType":"sub","value":{"var":"ent.vars.scoreSpawnedTotal"},"varName":"ent.vars.scoreBalance"},{"type":"CONSOLE_LOG","logColor":"ORANGE","text":"! NEW LOOP !\nPoint account {v:ent.vars.scoreSpawnedTotal} / {v:ent.vars.scoreTarget}\nBalance: {v:ent.vars.scoreBalance}"}],"OLDfishingSpawnFish":[{"type":"CONSOLE_LOG","text":"UNUSED!"},{"type":"SIDE_TALK","_skip":true,"char":"CHA:main#Cabbage>surprised","message":{"en_US":"ZOMFG!!!11","langID":3}},{"type":"SHOOT_PROXY_RANGE","autoRetarget":1,"angleRange":90,"count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"BOTTOM","off":[0,0,-1]},"startDist":1,"startDistCollide":"NONE","uniformDir":0,"proxy":"fish0Template"},{"type":"WAIT","time":0.5},{"type":"VAR_BOOL","_skip":true,"changeType":"set","value":false,"varName":"tmp.fishingWavePause"}],"OLDfishingGetCapture":[{"type":"CONSOLE_LOG","text":"UNUSED!"},{"type":"SET_COMBATANT_DEAD"},{"type":"KILL_PROXIES","proxyOwner":{"self":1}},{"type":"WAIT","time":0.6},{"type":"CONSOLE_LOG","isError":true,"text":"SPAWNER DEAD?!"},{"type":"DO_MANUAL_KILL"}],"aggroTest":[{"type":"SET_SPEED","relative":0.5},{"type":"SPAWN_FX","duration":-1,"effect":"FX:generic.aura#aggroAura1","target":{"ent":"self","align":"NODE_HEAD","rel":true,"off":[0,0,0.25]}},{"type":"SET_SPEED","relative":2},{"type":"WAIT","time":1},{"type":"NAV_TO_RANGE","maxTime":0.5,"moveDist":5,"target":{"ent":"target"},"targetDist":6},{"type":"NAV_TO_RANGE","keepDir":true,"maxTime":0.5,"moveDist":5,"target":{"ent":"target"},"targetDist":6},{"type":"WAIT","time":1},{"type":"NAV_TO_RANGE","keepDir":true,"maxTime":0.5,"moveDist":5,"target":{"ent":"target"},"targetDist":6},{"type":"NAV_TO_RANGE","keepDir":true,"maxTime":0.5,"moveDist":5,"target":{"ent":"target"},"targetDist":6},{"type":"WAIT","time":1}],"fishingSpawnFish":[{"type":"CONSOLE_LOG","text":"UNUSED!"},{"type":"SIDE_TALK","_skip":true,"char":"CHA:main#Cabbage>surprised","message":{"en_US":"ZOMFG!!!11","langID":1}},{"type":"SHOOT_PROXY_RANGE","angleRange":90,"count":1,"delay":0,"duration":0,"pos":{"ent":"self","align":"BOTTOM","off":[0,0,-1]},"startDist":1,"startDistCollide":"NONE","uniformDir":0,"proxy":"fish0Template"},{"type":"WAIT","time":0.5},{"type":"VAR_BOOL","_skip":true,"changeType":"set","value":false,"varName":"tmp.fishingWavePause"}],"fishingMoveLine":[{"type":"CONSOLE_LOG","text":"UNUSED!"}],"fishingGetCapture":[{"type":"CONSOLE_LOG","text":"UNUSED!"},{"type":"SET_COMBATANT_DEAD"},{"type":"KILL_PROXIES","proxyOwner":{"self":1}},{"type":"WAIT","time":0.6},{"type":"CONSOLE_LOG","isError":true,"text":"SPAWNER DEAD?!"},{"type":"DO_MANUAL_KILL"}]},"proxies":{"fish0Template":{"action":[{"type":"CONSOLE_LOG","_skip":true,"text":"Template Proxy, to reference shared fish actions.\n\nDon't spawn this directly!"},{"type":"VAR_NUMBER","changeType":"add","value":{"var":"ent.vars.scoreValue"},"varName":"ent.owner.vars.scoreSpawnedTotal"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"DISABLE_REACTION"},{"type":"GROUP","name":"Start Preparation","_br":{"then":[{"type":"IF","condition":"!$ent.vars.targetNumber","_br":{"then":[{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishWaveSpawned"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishSpawnedTotal"},{"type":"VAR_NUMBER","changeType":"add","value":{"var":"tmp.fishInitialWaitAdd"},"varName":"tmp.fishInitialWait"},{"type":"VAR_NUMBER","changeType":"set","value":{"var":"tmp.fishInitialWait"},"varName":"ent.vars.initialWait"},{"type":"VAR_NUMBER","changeType":"set","value":{"var":"tmp.currentTargetCount"},"varName":"ent.vars.currentTargetCount"},{"type":"VAR_VEC3_FROM_POS","position":{"ent":"self"},"varName":"ent.vars.currentTarget"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetNumber"},{"type":"LABEL","name":"prepareLoop"},{"type":"SET_COLL","collType":"NONE"},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self"},"proxy":"jumpTarget"},{"type":"SET_VAR_ENTITY","_skip":true,"entity":{"childProxyLast":"jumpTarget"},"varName":"ent.vars.targetProxy"},{"type":"SET_ENTITY_POSITION","target":{"ent":"owner"}},{"type":"WAIT","time":{"var":"ent.vars.initialWait"}},{"type":"NAV_TO_LINE","failTeleport":"OFF","precise":true,"randomDist":2,"target1":{"ent":"named","key":"fishLineSpotHighStart"},"target2":{"ent":"named","key":"fishLineSpotLowStart"}},{"type":"SET_COLL","collType":"ACTOR"},{"type":"SPAWN_FX","_skip":true,"effect":"FX:generic.boom#redSmall","target":{"ent":"self"}}]}}]}},{"type":"LABEL","name":"a"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"SET_SPEED","relative":0.7},{"type":"WAIT","_skip":true,"time":0.2},{"type":"IF","condition":"$ent.vars.targetNumber <= $ent.vars.currentTargetCount","else":true,"_br":{"then":[{"type":"ENABLE_REACTION","reaction":"findJumpTarget"},{"type":"NAV_TO","precise":true,"target":{"ent":"childProxyLast","key":"jumpTarget"}},{"type":"NAV_TO","_skip":true,"precise":true,"target":{"var":"ent.vars.tmpVec"}},{"type":"NAV_TO","_skip":true,"precise":true,"target":{"ent":"[var]","key":"ent.vars.tmpVarstring1"}},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"SHOOT_PROXY","_skip":true,"immediateShot":true,"pos":{"ent":"player"},"proxy":{"global":"explodeMedium"}},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"else":[{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"GOTO_LABEL","_skip":true,"name":"a"}]}},{"type":"DISABLE_REACTION"},{"type":"NAV_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishWaveGone"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"RED","text":"FISH GONE!\n{v:tmp.fishWaveGone} > {v:tmp.fishWaveGoal} ?\n"},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-2,"flyMaxSpeed":100,"flyVariance":0,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"IF","condition":"$game.weltmeister && !$ent.vars.scoreValue","_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":670069,"varName":"ent.vars.scoreValue"}]}},{"type":"PLAY_SOUND","settings":{"playback":{},"speed":1.2,"speedVariance":0.1,"type":"GAMEPLAY","volume":0.8},"sound":"media/audio/sfx/puzzle/terra-switch-signal.wav"},{"type":"SHOW_SCORE_NUMBER","align":"TOP","critStyle":"SCORE","moveZ":1,"number":{"var":"ent.vars.scoreValue"},"style":"SCORE"},{"type":"SHOW_CHARGE_GUI","_skip":true,"align":"TOP","detached":true,"duration":2,"text":{"en_US":"{c:3}+{v:ent.vars.scoreValue}{c}","langID":2}},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishingCount"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishingKilled"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishingKilledNew"},{"type":"VAR_NUMBER","changeType":"add","value":{"var":"ent.vars.scoreValue"},"varName":"tmp.fishingScoreNew"},{"type":"CONSOLE_LOG","_skip":true,"logColor":"GREEN","text":"FISH SCORE: {v:ent.vars.scoreValue}\nNEW TEMP SCORE: {v:tmp.fishingScoreTemp} -> {v:tmp.fishingScoreNew}\nVel: {v:ent.vel.z}"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishWaveGone"},{"type":"CONSOLE_LOG","_skip":true,"logColor":"RED","text":"FISH GONE!\n{v:tmp.fishWaveGone} > {v:tmp.fishWaveGoal} ?\n"},{"type":"SET_COLL","collType":"PASSIVE"},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":1},{"type":"SPAWN_FX","effect":"FX:combat.defeat#defeatHitNature","target":{"ent":"self"}},{"type":"IF","condition":"$ent.vel.z > 5","_br":{"then":[{"type":"CONSOLE_LOG","_skip":true,"logColor":"ORANGE","text":"zVel: {v:ent.vel.z}; minijump"},{"type":"SET_Z_VEL","zValue":5}]}},{"type":"FACE_TO_DIR","direction":"EAST","instant":true},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.016666666666666666},{"type":"SET_FRICTION","airFriction":0.1},{"type":"SET_FACE_STYLE","facingType":"FIXED"},{"type":"SHOW_WALK_ANIMATION","animation":"idle"},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"SET_FRICTION","airFriction":1},{"type":"WAIT","time":0.1},{"type":"FACE_TO_DIR","direction":"NORTH"},{"type":"SET_SPEED","relative":0.3},{"type":"NAV_TO_LINE","failTeleport":"OFF","randomDist":2,"target1":{"ent":"named","key":"fishLineSpotHighEnd"},"target2":{"ent":"named","key":"fishLineSpotLowEnd"}},{"type":"SET_FRICTION","airFriction":0.01},{"type":"WAIT","time":0.1}],"figure":"FIG:fauna.south#rainbowfish","fxDestroyed":"FX:generic.fade#hideWhite","fxSpawn":"FX:generic.fade#hideInstant","proxyLife":{"aimAlign":"CENTER","aimRange":22,"lifeFactor":0.1,"spGainFactor":0,"proxyHud":{"hudAlign":{"align":"TOP","off":[0,0,1]},"hudType":"SMALL"}},"reactions":{"findJumpTarget":{"action":[{"type":"CALL_PROXY_ACTION","altActionType":{"reactionAction":{"reactionName":"jumpTargetStart"}},"proxy":"fish0Template"},{"type":"SET_WEIGHT_GRAVITY","weight":-1,"zGravityFactor":0.5},{"type":"SET_Z_VEL","blockFly":5,"zValue":17},{"type":"SHOW_ANIMATION","animation":"jump-start"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"WAIT","time":0.1},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"SET_FRICTION","airFriction":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":3},{"type":"SET_FRICTION","airFriction":0.2},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.5},{"type":"SET_Z_VEL","_skip":true,"zValue":25},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"RESET_FLY_PROPS"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"FACE_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"SET_SPEED","relative":0.3},{"type":"SET_FRICTION","airFriction":1},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"SET_SPEED","relative":0.5},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"MODIFY_GENERIC_PROXY","modProxyLife":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":8,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"},"jumpTargetStart":{"action":[{"type":"DISABLE_REACTION","reaction":"findJumpTarget"},{"type":"IF","condition":"$ent.owner.vars.spawnDelay && $ent.vars.spawnDelayer","_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.owner.vars.spawnDelay"},{"type":"VAR_BOOL","changeType":"set","value":false,"varName":"ent.vars.spawnDelayer"}]}},{"type":"STOP_XY","_skip":true},{"type":"MOVE_TO","_skip":true,"target":{"ent":"lastPoI"}},{"type":"SET_TARGET","targetEntity":{"lastPoI":1}},{"type":"SPAWN_FX","_skip":true,"duration":-1,"effect":"FX:combat.targeting#pointLine0","group":"aim","target":{"ent":"self"},"target2":{"ent":"target"}},{"type":"SPAWN_FX","_skip":true,"duration":-1,"effect":"FX:combat.targeting#pointLine0","group":"aim","target":{"ent":"self"},"target2":{"ent":"target"}},{"type":"SET_SPEED","relative":0.7},{"type":"NAV_TO","distance":1.5,"slowDist":3,"target":{"ent":"lastPoI"}},{"type":"SET_Z_VEL","blockFly":0.35,"zValue":-2.5},{"type":"NAV_TO","slowDist":2,"target":{"ent":"lastPoI"}},{"type":"WAIT","_skip":true,"time":0.4},{"type":"SET_Z_VEL","_skip":true,"zValue":-11},{"type":"WAIT","time":0.3},{"type":"SET_SPEED","_skip":true,"relative":0.3},{"type":"CLEAR_FX","group":"aim"}],"hint":"never","type":"Notify"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"},"fish1Vertical":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":4,"varName":"ent.vars.scoreValue"},{"type":"CALL_PROXY_ACTION","proxy":"fish0Template"}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-3,"flyMaxSpeed":100,"flyVariance":0.1,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"VAR_NUMBER","changeType":"add","value":{"var":"tmp.fishingComboTimerAddDef"},"varName":"tmp.fishingComboTimerAdd"},{"type":"CALL_PROXY_ACTION","altActionType":{"destroyAction":{}},"proxy":"fish0Template"}],"figure":"FIG:fauna.south#rainbowfish-S","fxDestroyed":"FX:generic.fade#hideWhite","fxSpawn":"FX:generic.fade#hideInstant","proxyLife":{"aimAlign":"NODE_CENTER","aimRange":22,"lifeFactor":0.1,"spGainFactor":0,"proxyHud":{"hudAlign":{"align":"TOP","off":[0,0,1]},"hudType":"SMALL"}},"reactions":{"findJumpTarget":{"action":[{"type":"CALL_PROXY_ACTION","altActionType":{"reactionAction":{"reactionName":"jumpTargetStart"}},"proxy":"fish0Template"},{"type":"SET_WEIGHT_GRAVITY","weight":-1,"zGravityFactor":0.5},{"type":"SET_Z_VEL","blockFly":5,"zValue":12},{"type":"SHOW_ANIMATION","animation":"jump-start"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"WAIT","time":0.1},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"SET_FRICTION","airFriction":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":3.5},{"type":"SET_FRICTION","airFriction":0.25},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.15},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":-1},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.5},{"type":"SET_Z_VEL","_skip":true,"zValue":25},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"RESET_FLY_PROPS"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"FACE_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"SET_SPEED","relative":0.3},{"type":"SET_FRICTION","airFriction":1},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"CLEAR_ANIMATION"},{"type":"WAIT","time":0.016666666666666666},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"SET_SPEED","relative":0.5},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"MODIFY_GENERIC_PROXY","modProxyLife":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":6,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"},"fish2Long":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":6,"varName":"ent.vars.scoreValue"},{"type":"VAR_VEC3","changeType":"set","value":{"var":"tmp.currentTarget1"},"varName":"ent.vars.jumpTarget1"},{"type":"CALL_PROXY_ACTION","proxy":"fish0Template"}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-3,"flyMaxSpeed":100,"flyVariance":0.1,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"VAR_NUMBER","changeType":"add","value":{"var":"tmp.fishingComboTimerAddDef"},"varName":"tmp.fishingComboTimerAdd"},{"type":"CALL_PROXY_ACTION","altActionType":{"destroyAction":{}},"proxy":"fish0Template"}],"figure":"FIG:fauna.south#rainbowfish","fxDestroyed":"FX:generic.fade#hideWhite","fxSpawn":"FX:generic.fade#hideInstant","proxyLife":{"aimAlign":"NODE_CENTER","aimRange":22,"lifeFactor":0.1,"spGainFactor":0,"proxyHud":{"hudAlign":{"align":"TOP","off":[0,0,1]},"hudType":"SMALL"}},"reactions":{"findJumpTarget":{"action":[{"type":"CALL_PROXY_ACTION","_skip":true,"altActionType":{"reactionAction":{"reactionName":"findJumpTarget"}},"proxy":"fish1"},{"type":"CALL_PROXY_ACTION","altActionType":{"reactionAction":{"reactionName":"jumpTargetStart"}},"proxy":"fish0Template"},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.25},{"type":"SET_SPEED","_skip":true,"relative":0.7},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"SPAWN_FX","duration":-1,"effect":"FX:combat.targeting#pointLine0","group":"aim","target":{"ent":"self"},"target2":{"var":"ent.vars.jumpTarget1"}},{"type":"SHOW_ANIMATION","animation":"fly-start","followUp":"flyLoop"},{"type":"JUMP_TO","forceHeight":5,"forceTime":2.5,"precise":true,"target":{"var":"ent.vars.jumpTarget1"},"useTerrainZ":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"JUMPED!"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"SET_SPEED","_skip":true,"relative":0.7},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.15},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"CLEAR_ANIMATION"},{"type":"WAIT","time":0.016666666666666666},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"FACE_TO","instant":true,"target":{"ent":"named","key":"fishEndSpot1"}},{"type":"RESET_FLY_PROPS"},{"type":"SET_SPEED","relative":0.7},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.25},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"MODIFY_GENERIC_PROXY","modProxyLife":true},{"type":"SET_SPEED","relative":0.5},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":6,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"}},"walkAnims":{"default":{"idle":"idle","jump":"flyLoop","walk":"hop"}},"type":"Generic"},"fish3Tanky":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":16,"varName":"ent.vars.scoreValue"},{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"VAR_VEC3","_skip":true,"changeType":"set","value":{"var":"tmp.currentTarget1"},"varName":"ent.vars.jumpTarget1"},{"type":"CALL_PROXY_ACTION","proxy":"fish0Template"}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-3,"flyMaxSpeed":100,"flyVariance":0.1,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"tmp.fishingComboTimerAdd"},{"type":"CALL_PROXY_ACTION","altActionType":{"destroyAction":{}},"proxy":"fish0Template"}],"figure":"FIG:fauna.south#rainbowfish-L","fxDestroyed":"FX:generic.fade#hideWhite","fxSpawn":"FX:generic.fade#hideInstant","proxyLife":{"aimAlign":"NODE_CENTER","aimRange":22,"lifeFactor":1.9,"spGainFactor":0,"proxyHud":{"hudAlign":{"align":"TOP","off":[0,0,1]},"hudType":"DEFAULT"}},"reactions":{"findJumpTarget":{"action":[{"type":"CALL_PROXY_ACTION","altActionType":{"reactionAction":{"reactionName":"jumpTargetStart"}},"proxy":"fish0Template"},{"type":"SET_WEIGHT_GRAVITY","weight":-1,"zGravityFactor":0.5},{"type":"SET_Z_VEL","blockFly":5,"zValue":14},{"type":"SHOW_ANIMATION","animation":"jump-start"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"WAIT","time":0.1},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"ENABLE_REACTION","reaction":"hitCounter"},{"type":"SET_FRICTION","airFriction":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":4},{"type":"SET_FRICTION","airFriction":0.25},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":-2},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.5},{"type":"SET_Z_VEL","_skip":true,"zValue":25},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"RESET_FLY_PROPS"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"FACE_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"SET_SPEED","relative":0.3},{"type":"SET_FRICTION","airFriction":1},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"CLEAR_ANIMATION"},{"type":"WAIT","time":0.016666666666666666},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"DISABLE_REACTION","_skip":true,"reaction":"hitCounter"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"SET_SPEED","relative":0.5},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"MODIFY_GENERIC_PROXY","modProxyLife":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":6,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"},"hitCounter":{"action":[{"type":"VAR_NUMBER","changeType":"add","value":0.25,"varName":"tmp.fishingComboTimerAdd"},{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"SET_TARGET","_skip":true,"targetEntity":{"var":"ent.target.owner"}},{"type":"SHOOT_PROXY","_skip":true,"group":"hitCounter","immediateShot":true,"pos":{"ent":"self"},"proxy":"counterSpawner1"}],"damageFactor":1,"type":"Hit"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"},"fish4TankyUltra":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":50,"varName":"ent.vars.scoreValue"},{"type":"VAR_VEC3","changeType":"set","value":{"var":"tmp.currentTarget1"},"varName":"ent.vars.jumpTarget1"},{"type":"IF","condition":"$ent.owner.vars.spawnDelay","_br":{"then":[{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"ent.vars.spawnDelayer"}]}},{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"VAR_VEC3","_skip":true,"changeType":"set","value":{"var":"tmp.currentTarget1"},"varName":"ent.vars.jumpTarget1"},{"type":"CALL_PROXY_ACTION","proxy":"fish0Template"}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-3,"flyMaxSpeed":100,"flyVariance":0.1,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":0.5,"varName":"tmp.fishingComboTimerAdd"},{"type":"VAR_NUMBER","changeType":"add","value":1.5,"varName":"tmp.fishingComboTimerAdd"},{"type":"CALL_PROXY_ACTION","altActionType":{"destroyAction":{}},"proxy":"fish0Template"}],"figure":"FIG:fauna.motoyaki#default","fxDestroyed":"FX:generic.fade#hideWhite","fxSpawn":"FX:generic.fade#hideInstant","proxyLife":{"aimAlign":"NODE_HEAD","aimRange":22,"lifeFactor":4.4,"spGainFactor":0,"proxyHud":{"hudAlign":{"align":"TOP","off":[0,0,1]},"hudType":"BIG"}},"reactions":{"findJumpTarget":{"action":[{"type":"CALL_PROXY_ACTION","altActionType":{"reactionAction":{"reactionName":"jumpTargetStart"}},"proxy":"fish0Template"},{"type":"SET_WEIGHT_GRAVITY","weight":-1,"zGravityFactor":0.5},{"type":"SET_Z_VEL","blockFly":5,"zValue":14},{"type":"SHOW_ANIMATION","animation":"jump-start"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"WAIT","time":0.1},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"ENABLE_REACTION","reaction":"hitCounter"},{"type":"SET_FRICTION","airFriction":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":5},{"type":"SET_FRICTION","airFriction":0.25},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":-2},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.5},{"type":"SET_Z_VEL","_skip":true,"zValue":25},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"RESET_FLY_PROPS"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"FACE_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"SET_SPEED","relative":0.3},{"type":"SET_FRICTION","airFriction":1},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"DISABLE_REACTION","reaction":"hitCounter"},{"type":"CLEAR_ANIMATION"},{"type":"WAIT","time":0.016666666666666666},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"SET_SPEED","relative":0.5},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"MODIFY_GENERIC_PROXY","modProxyLife":true},{"type":"CONSOLE_LOG","_skip":true,"logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":11,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"},"hitCounter":{"action":[{"type":"VAR_NUMBER","changeType":"add","value":0.25,"varName":"tmp.fishingComboTimerAdd"},{"type":"SET_TARGET","targetEntity":{"var":"ent.target.owner"}},{"type":"SWITCH","entries":[{},{}],"saveExecuted":"ent.vars.shootDir","_br":{"0":[{"type":"SHOOT_PROXY_RANGE","angleStart":50,"angleVary":20,"count":1,"delay":0.05,"dirAtTarget":true,"duration":0,"group":"","immediateShot":true,"pos":{"ent":"self"},"startDist":0.2,"startDistCollide":"NONE","uniformDir":0,"proxy":"counterSpawner1"}],"1":[{"type":"SHOOT_PROXY_RANGE","angleStart":-50,"angleVary":20,"count":1,"delay":0.05,"dirAtTarget":true,"duration":0,"group":"","immediateShot":true,"pos":{"ent":"self"},"startDist":0.2,"startDistCollide":"NONE","uniformDir":0,"proxy":"counterShot1"}]}},{"type":"COMBAT_IF","_skip":true,"condition":[{"type":"HAS_PROXY","groupName":"hitCounter","not":true,"reqCount":1}],"_br":{"then":[{"type":"SHOOT_PROXY","group":"hitCounter","immediateShot":true,"pos":{"ent":"self"},"proxy":"counterSpawner1"}]}}],"damageFactor":1,"req":[{"type":"HAS_PROXY","groupName":"hitCounter","not":true,"reqCount":1}],"setAtkAsTarget":true,"type":"Hit"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"},"counterSpawner1":{"action":[{"type":"FACE_TO","_skip":true,"instant":true,"target":{"ent":"target"}},{"type":"SET_ON_HIT_PROXY","onGuardSpawn":"ON_NOT_PERFECT_GUARD","proxy":"playerHitEffect"},{"type":"WAIT","time":0.05},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"ent":"self"},"proxy":"counterShot1"},{"type":"SWITCH","_skip":true,"entries":[{},{}],"_br":{"0":[{"type":"SHOOT_PROXY_RANGE","angleStart":50,"angleVary":20,"count":1,"delay":0.05,"duration":0,"pos":{"ent":"self"},"startDist":0.7,"startDistCollide":"NONE","uniformDir":0,"proxy":"counterShot1"}],"1":[{"type":"SHOOT_PROXY_RANGE","angleStart":-50,"angleVary":20,"count":1,"delay":0.05,"duration":0,"pos":{"ent":"self"},"startDist":0.7,"startDistCollide":"NONE","uniformDir":0,"proxy":"counterShot1"}]}},{"type":"WAIT","time":0.55}],"config":{"collType":"NONE","facingType":"FIXED","jumpingEnabled":false,"maxSpeed":0,"maxZSpeed":0,"walkAnim":"default","weight":-1,"zGravityFactor":0},"defaultGroup":"hitCounter","walkAnims":{},"type":"Generic"},"counterShot1":{"attackInfo":{"damageFactor":0,"element":"NEUTRAL","fly":"HEAVY_FAR","fx":"MEDIUM","hitType":"BLUNT","impact":"HEAVY","triggerFactor":0},"connect":"NONE","defaultGroup":"counterShot","figure":"FIG:fauna.south#turtleShell","flyStraight":{"adjustAngle":110,"loseAdjust":{"distance":7.5,"maxAngle":10,"timeForceLose":1.4},"start":{"adjustAngle":5,"angleTransTime":0.3,"duration":0.1,"speed":15,"transTime":0.2},"zVelAdjust":1},"fxTrail":"FX:generic.trail#eyeThinRed","fxWall":"FX:generic.shoot#simple","hitType":"ONCE","maxTime":5,"projectileLife":{"aimAlign":"NODE_CENTER","aimRange":8,"lifeFactor":0.1,"passThroughOnHit":true,"spGainFactor":0},"speed":9,"zGravityFactor":0.01,"type":"Projectile"},"playerHitEffect":{"action":[{"type":"CONSOLE_LOG","_skip":true,"logColor":"RED","text":"PLAYER HIT!\nGive Score penalty and interrupt combo multiplier!!!"},{"type":"VAR_BOOL","changeType":"set","value":true,"varName":"tmp.comboReset"},{"type":"WAIT","time":0.016666666666666666}],"config":{"facingType":"FIXED","walkAnim":"default","weight":-1},"connect":"NONE","walkAnims":{},"type":"Generic"},"jumpTarget":{"action":[{"type":"CONSOLE_LOG","_skip":true,"text":"Marks target to jump at. Stay alive until parent proxy (the fish) dies."},{"type":"WAIT_UNTIL_COMBAT","condition":[{"type":"IS_ENTITY","thisEntity":{"parent":1}}],"not":true}],"config":{"actorDust":"None","actorSound":"Silent","collType":"NONE","jumpingEnabled":false,"maxSpeed":0,"maxZSpeed":0,"walkAnim":"","weight":-1,"zGravityFactor":0},"defaultGroup":"jumpTarget","walkAnims":{},"type":"Generic"},"TESTfishComplex1":{"action":[{"type":"DISABLE_REACTION","_skip":true},{"type":"GROUP","name":"Start Preparation","_br":{"then":[{"type":"IF","condition":"!$ent.vars.targetNumber","_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":{"var":"tmp.currentTargetCount"},"varName":"ent.vars.currentTargetCount"},{"type":"VAR_VEC3_FROM_POS","_skip":true,"position":{"var":"tmp.currentTarget1"},"varName":"ent.vars.target"},{"type":"VAR_VEC3_FROM_POS","_skip":true,"position":{"ent":"named","key":"fishTargetSpot2"},"varName":"ent.vars.target2"},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetNumber"},{"type":"LABEL","name":"prepareLoop"},{"type":"IF","condition":"$ent.vars.targetNumber <= $ent.vars.currentTargetCount","_br":{"then":[{"type":"VAR_STRING","changeType":"set","value":"ent.vars.target","varName":"ent.vars.tmpVarstring1"},{"type":"VAR_STRING","changeType":"append","value":{"var":"ent.vars.targetNumber"},"varName":"ent.vars.tmpVarstring1"},{"type":"VAR_STRING","changeType":"set","value":"tmp.currentTarget","varName":"ent.vars.tmpVarstring2"},{"type":"VAR_STRING","changeType":"append","value":{"var":"ent.vars.targetNumber"},"varName":"ent.vars.tmpVarstring2"},{"type":"VAR_VEC3","changeType":"set","value":{"ind":"ent.vars.tmpVarstring2"},"varName":{"var":"ent.vars.tmpVarstring1"}},{"type":"VAR_VEC3_FROM_POS","_skip":true,"position":{"ent":"[var]","key":"ent.vars.tmpVarstring2"},"varName":{"var":"ent.vars.tmpVarstring1"}},{"type":"CONSOLE_LOG","logColor":"GREEN","text":"PREPARE {v:ent.vars.tmpVarstring1} {v:ent.vars.tmpVarstring2}"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"GOTO_LABEL","name":"prepareLoop"}]}},{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetNumber"},{"type":"SET_COLL","collType":"NONE"},{"type":"NAV_TO_LINE","failTeleport":"OFF","precise":true,"randomDist":2,"target1":{"ent":"named","key":"fishLineSpotHighStart"},"target2":{"ent":"named","key":"fishLineSpotLowStart"}},{"type":"SET_COLL","collType":"ACTOR"},{"type":"SPAWN_FX","effect":"FX:generic.boom#redSmall","target":{"ent":"self"}}]}}]}},{"type":"LABEL","name":"a"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"SET_SPEED","relative":0.7},{"type":"WAIT","_skip":true,"time":0.2},{"type":"IF","condition":"$ent.vars.targetNumber <= $ent.vars.currentTargetCount","else":true,"_br":{"then":[{"type":"VAR_STRING","changeType":"set","value":"ent.vars.target","varName":"ent.vars.tmpVarstring1"},{"type":"VAR_STRING","changeType":"append","value":{"var":"ent.vars.targetNumber"},"varName":"ent.vars.tmpVarstring1"},{"type":"VAR_VEC3","changeType":"set","value":{"ind":"ent.vars.tmpVarstring1"},"varName":"ent.vars.targetVec"},{"type":"CONSOLE_LOG","logColor":"ORANGE","text":"GOAL {v:tmp.currentTarget1} =\n{v:ent.vars.tmpVarstring1} {v:ent.vars.targetNumber}: {v:ent.vars.target1} : {v:ent.vars.target2}\n{v:ent.vars.targetVec}"},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"SHOOT_PROXY","immediateShot":true,"pos":{"var":"ent.vars.targetVec"},"proxy":"jumpTarget"},{"type":"ENABLE_REACTION","reaction":"findJumpTarget"},{"type":"NAV_TO","precise":true,"target":{"ent":"childProxyLast","key":"jumpTarget"}},{"type":"NAV_TO","_skip":true,"precise":true,"target":{"var":"ent.vars.tmpVec"}},{"type":"NAV_TO","_skip":true,"precise":true,"target":{"ent":"[var]","key":"ent.vars.tmpVarstring1"}},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"SHOOT_PROXY","_skip":true,"immediateShot":true,"pos":{"ent":"player"},"proxy":{"global":"explodeMedium"}},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"else":[{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"GOTO_LABEL","_skip":true,"name":"a"}]}},{"type":"DISABLE_REACTION"},{"type":"NAV_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"CONSOLE_LOG","logColor":"RED","text":"FISH GONE!"},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}}],"config":{"accelSpeed":0.5,"actorDust":"ActorL","flyAccel":1,"flyHeight":-2,"flyMaxSpeed":100,"flyVariance":0,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"destroyAction":[{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"tmp.fishingCount"},{"type":"KILL_PROXIES","groupName":"jumpTarget","proxyOwner":{"self":1}},{"type":"FACE_TO_DIR","direction":"NORTH"},{"type":"SET_FACE_STYLE","facingType":"FIXED"},{"type":"SHOW_ANIMATION","animation":"idle"},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"WAIT","time":0.1},{"type":"SET_SPEED","relative":0.3},{"type":"NAV_TO_LINE","failTeleport":"OFF","precise":true,"randomDist":2,"target1":{"ent":"named","key":"fishLineSpotHighEnd"},"target2":{"ent":"named","key":"fishLineSpotLowEnd"}},{"type":"WAIT","time":0.1}],"figure":"FIG:fauna.south#rainbowfish","fxDestroyed":"FX:combat.defeat#fade","proxyLife":{"aimAlign":"TOP","aimRange":11,"elementResist":[1,0.2,1,0.2],"lifeFactor":1,"spGainFactor":1},"reactions":{"findJumpTarget":{"action":[{"type":"DISABLE_REACTION","reaction":"findJumpTarget"},{"type":"STOP_XY","_skip":true},{"type":"MOVE_TO","_skip":true,"target":{"ent":"lastPoI"}},{"type":"NAV_TO","distance":1.5,"slowDist":3,"target":{"ent":"lastPoI"}},{"type":"SET_Z_VEL","blockFly":0.35,"zValue":-2},{"type":"NAV_TO","slowDist":2,"target":{"ent":"lastPoI"}},{"type":"WAIT","_skip":true,"time":0.4},{"type":"SET_Z_VEL","_skip":true,"zValue":-11},{"type":"WAIT","time":0.3},{"type":"SET_SPEED","relative":0.3},{"type":"SET_WEIGHT_GRAVITY","weight":-1,"zGravityFactor":0.5},{"type":"SET_Z_VEL","blockFly":5,"zValue":17},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"SET_PROXY_LIFE","hitInvincible":false},{"type":"SET_FRICTION","airFriction":0.1},{"type":"WAIT_UNTIL_Z_ZENITH","zVelGoal":3},{"type":"SET_FRICTION","airFriction":0.2},{"type":"SET_WEIGHT_GRAVITY","zGravityFactor":0.5},{"type":"SET_Z_VEL","_skip":true,"zValue":25},{"type":"WAIT_UNTIL_ON_GROUND","useTerrainZ":true,"zPosTolerance":-1},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"RESET_FLY_PROPS"},{"type":"RESET_WEIGHT","alsoFriction":true,"alsoZGravity":true},{"type":"FACE_TO","target":{"ent":"named","key":"fishEndSpot1"}},{"type":"SET_SPEED","relative":0.3},{"type":"SET_FRICTION","airFriction":1},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.1},{"type":"SET_SPEED","relative":0.5},{"type":"MOVE_FORWARD","collideCancel":0,"maxTargetDistance":0,"time":0.2},{"type":"CONSOLE_LOG","logColor":"BLUE","text":"wotah! {v:ent.posZ}"},{"type":"WAIT","_skip":true,"time":0.2},{"type":"RESET_WEIGHT","alsoZGravity":true},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"VAR_NUMBER","_skip":true,"changeType":"add","value":1,"varName":"tmp.fishingCount"}],"executionType":"RESTART_ACTION","req":[{"type":"POI_IS_CLOSE","distance":4,"poiFilter":{"conditions":[],"group":"jumpTarget","proxyOwner":{"self":1},"type":"PROXIES"}}],"type":"Auto"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"},"TESTfishFreeswim1":{"action":[{"type":"DISABLE_REACTION"},{"type":"SET_PROXY_LIFE","hitInvincible":true},{"type":"IF","condition":"!$ent.vars.targetNumber","_br":{"then":[{"type":"VAR_NUMBER","changeType":"set","value":1,"varName":"ent.vars.targetNumber"}]}},{"type":"LABEL","name":"a"},{"type":"SET_SPEED","relative":0.7},{"type":"WAIT","_skip":true,"time":0.2},{"type":"VAR_STRING","changeType":"set","value":"fishLineSpotHigh","varName":"ent.vars.tmpVarstring"},{"type":"VAR_STRING","changeType":"append","value":{"var":"ent.vars.targetNumber"},"varName":"ent.vars.tmpVarstring"},{"type":"SET_VAR_ENTITY","entity":{"var":"ent.vars.tmpVarstring"},"varName":"ent.vars.tmpEnt"},{"type":"CONSOLE_LOG","_skip":true,"infoEnt":{"[var]":"ent.vars.tmpEnt"},"logColor":"ORANGE","text":"EntHigh: {v:ent.vars.tmpVarstring}"},{"type":"VAR_VEC3_FROM_POS","position":{"ent":"var","key":"ent.vars.tmpEnt"},"varName":"ent.vars.higherPos"},{"type":"VAR_STRING","changeType":"set","value":"fishLineSpotLow","varName":"ent.vars.tmpVarstring"},{"type":"VAR_STRING","changeType":"append","value":{"var":"ent.vars.targetNumber"},"varName":"ent.vars.tmpVarstring"},{"type":"SET_VAR_ENTITY","entity":{"var":"ent.vars.tmpVarstring"},"varName":"ent.vars.tmpEnt"},{"type":"CONSOLE_LOG","_skip":true,"infoEnt":{"[var]":"ent.vars.tmpEnt"},"logColor":"ORANGE","text":"EntLow: {v:ent.vars.tmpVarstring}"},{"type":"VAR_VEC3_FROM_POS","position":{"ent":"var","key":"ent.vars.tmpEnt"},"varName":"ent.vars.lowerPos"},{"type":"CONSOLE_LOG","_skip":true,"logColor":"GREEN","text":"High: {v:ent.vars.higherPos}\nLow: {v:ent.vars.lowerPos}"},{"type":"MOVE_TO_LINE","distance":0.1,"randomDist":6,"target1":{"var":"ent.vars.higherPos"},"target2":{"var":"ent.vars.lowerPos"}},{"type":"IF","condition":"$ent.vars.targetNumber >= $tmp.fishingPointsAmount","else":true,"_br":{"then":[{"type":"SHOOT_PROXY","_skip":true,"immediateShot":true,"pos":{"ent":"player"},"proxy":{"global":"explodeMedium"}},{"type":"CONSOLE_LOG","logColor":"RED","text":"FISH GONE!"}],"else":[{"type":"VAR_NUMBER","changeType":"add","value":1,"varName":"ent.vars.targetNumber"},{"type":"GOTO_LABEL","name":"a"}]}}],"config":{"actorDust":"ActorL","flyAccel":1,"flyHeight":-0.5,"flyMaxSpeed":100,"flyVariance":0,"hitSound":"Organic","jumpingEnabled":false,"walkAnim":"default","weight":-1,"zGravityFactor":0.5},"figure":"FIG:fauna.south#rainbowfish","fxDestroyed":"FX:generic.boom#redSmall-2","proxyLife":{"aimAlign":"TOP","aimRange":11,"elementResist":[1,0.2,1,0.2],"lifeFactor":1,"spGainFactor":1},"reactions":{"stun":{"action":[{"type":"SPAWN_FX","effect":"FX:element.physis#rockHit","target":{"ent":"self"}},{"type":"WAIT","time":1.3}],"damageFactor":1,"executionType":"RESTART_ACTION","req":[{"type":"ELEMENT_HIT_TYPE","element":"AETHER"}],"type":"Hit"},"slow":{"action":[{"type":"SPAWN_FX","effect":"FX:interact.aether-bulb#barrierHit","target":{"ent":"self"}},{"type":"CONSOLE_LOG","text":"Potentially set temporary movement influencer?!"},{"type":"SET_SPEED","relative":0.5}],"damageFactor":1,"req":[{"type":"ELEMENT_HIT_TYPE","element":"AETHER"}],"type":"Hit"}},"walkAnims":{"default":{"idle":"idle","jump":"jump-start","walk":"move"}},"type":"Generic"}},"reactions":{},"parts":{},"modes":{"noAim":{"blockAim":true,"parts":[],"resist":{"global":0.1,"trigger":0},"temporary":true}},"alts":{}}