{"base":{"defaultState":"INIT","figure":"FIG:interact.switches#hit-test-once","respawn":"MAP","targetHint":""},"states":{"INIT":{"anim":"off","fx":{"fx":"FX:interact.collectables#proto-drop","interval":0},"proxy":{"proxy":"spikesBarrierBase","spawnPos":"Z_BASE"},"reacts":[{"action":{"fx":{"fx":"FX:interact.collectables#proto-drop","target":{"ent":"self","align":"CENTER"}},"switchState":"DEAD"},"entityFilter":"PLAYER_DEFAULT","hits":1,"skewFactor":1,"type":"HIT"},{"action":{"fx":{"fx":"FX:interact.collectables#proto-drop","target":{"ent":"self","align":"CENTER"}},"proxy":{"proxy":"testNotif","spawnPos":"NONE"}},"hint":"testNotif","sourceVar":"ent.vars.testNotif","type":"NOTIFY"},{"action":{"destroy":true},"quota":1,"state":"DEAD","type":"GROUP_STATE"}]},"DEAD":{"anim":"on","collOverride":"DASHING","reacts":[{"action":{"destroy":true},"quota":1,"state":"DEAD","type":"GROUP_STATE"},{"action":{"switchState":"INIT"},"duration":3,"type":"TIME"}]}},"proxies":{"spikesBarrier":{"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","_skip":true,"aimFx":"Circle2","pos":"Z_BASE"},{"type":"SPAWN_FX","_skip":true,"effect":"FX:generic.charge#rootPreAttack","target":{"ent":"self","align":"CENTER"},"wait":true,"waitSkip":0.3},{"type":"WAIT","_skip":true,"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","_skip":true,"immediately":true},{"type":"PLAY_SOUND","settings":{"playback":{"delay":0.15},"type":"GAMEPLAY"},"sound":"media/audio/sfx/action/impact/terrain/impact-grass-hard.wav"},{"type":"SHOW_ANIMATION","animation":"out","followUp":"on"},{"type":"WAIT","time":0.1},{"type":"HIT_CIRCLE","attackInfo":{"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":-1,"expandSpline":"LINEAR","minRadius":0,"multiHit":0.4,"radius":1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT_UNTIL","condition":"false"},{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.2}],"config":{"groundConnect":"GLUED","jumpingEnabled":false,"maxSpeed":0,"walkAnim":"default","weight":-1},"destroyAction":[{"type":"SHOW_ANIMATION","animation":"in","followUp":"ground"},{"type":"WAIT","time":0.2}],"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"},"spikesBarrierBase":{"action":[{"type":"SPAWN_FX","_skip":true,"effect":"FX:interact.destruct#sandDig","ignoreSlowMo":0,"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","_skip":true,"aimFx":"Circle2","pos":"Z_BASE"},{"type":"SPAWN_FX","_skip":true,"effect":"FX:generic.charge#rootPreAttack","ignoreSlowMo":0,"target":{"ent":"self","align":"CENTER"},"wait":true,"waitSkip":0.3},{"type":"WAIT","_skip":true,"time":0.5},{"type":"SHOOT_PROXY_RANGE","angleRange":360,"angleVary":0,"count":4,"delay":0,"duration":0,"pos":{"ent":"self"},"startDist":2,"startDistCollide":"NONE","uniformDir":0,"proxy":"spikesBarrier"},{"type":"SPAWN_FX","delay":0.016666666666666666,"effect":"FX:generic.charge#redGroundM","ignoreSlowMo":0,"target":{"ent":"self","align":"Z_BASE","off":[0,0,-0.5]}},{"type":"END_AIM_FX","_skip":true,"immediately":true},{"type":"PLAY_SOUND","settings":{"playback":{"delay":0.15},"type":"GAMEPLAY"},"sound":"media/audio/sfx/action/impact/terrain/impact-grass-hard.wav"},{"type":"SHOW_ANIMATION","animation":"out","followUp":"on"},{"type":"WAIT","time":0.1},{"type":"HIT_CIRCLE","attackInfo":{"element":"NEUTRAL","fx":"LIGHT","hitType":"PIERCE","impact":"HEAVY"},"duration":0.3,"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":-1,"multiHit":0.4,"radius":1,"target":{"ent":"self"},"zRange":2},{"type":"WAIT_UNTIL","condition":"false"},{"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","destroyAction":[{"type":"KILL_PROXIES","proxyOwner":{"self":1},"treatAsDestroy":true},{"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"},"testNotif":{"action":[{"type":"WAIT","time":0.1},{"type":"CONSOLE_LOG","logColor":"ORANGE","text":"BAAAAAH!! {v:ent.owner.vars.testNotif}"},{"type":"IF","condition":"$ent.owner.vars.testNotif","_br":{"then":[{"type":"SPAWN_FX","detached":true,"effect":"FX:generic.boom#redSmall","target":{"ent":"var","key":"ent.owner.vars.testNotif"}}]}},{"type":"WAIT","time":0.1}],"config":{"walkAnim":"default","weight":-1},"walkAnims":{},"type":"Generic"}},"alts":{}}