{"base":{"args":[{"defaultValue":0.2,"info":"Time to wait before the flaming rhythm starts","name":"initialWait","type":"Number"},{"defaultValue":3,"info":"How long the flame will stay active; includes 1.1sec telegraphing, so it should be at least 1.3!","name":"attackDuration","type":"Number"},{"defaultValue":2,"info":"How long the wait time between flame activation is","name":"waitDuration","type":"Number"},{"info":"If defined and true: will pause","name":"pauseCondition","optional":true,"type":"VarCondition"},{"defaultValue":false,"info":"Uses hitDirFace to align hit-knockback with this faceDirection","name":"faceKnockback","type":"Boolean"}],"collType":"NONE","defaultState":"INIT","dynamicCollUpdate":true,"figure":"FIG:interact.prototype.switch-test#floor-test","respawn":"MAP","targetHint":""},"states":{"INIT":{"anim":"off","reacts":[{"action":{"fx":{"fx":"FX:interact.hazards#nyxFlameOff","target":{"ent":"self"}},"switchState":"PAUSE_VAR"},"condition":[{"type":"VAR_CONDITION","condition":{"var":"ent.vars.spawn.pauseCondition"}}],"type":"AUTO"},{"action":{"switchState":"FLAME"},"duration":{"var":"ent.vars.spawn.initialWait"},"random":0,"type":"TIME"},{"action":{"switchState":"PAUSE_NOTIFY"},"hint":"pause","type":"NOTIFY"}]},"WAIT":{"anim":"off","reacts":[{"action":{"fx":{"fx":"FX:interact.hazards#nyxFlameOff","target":{"ent":"self"}},"switchState":"PAUSE_VAR"},"condition":[{"type":"VAR_CONDITION","condition":{"var":"ent.vars.spawn.pauseCondition"}}],"type":"AUTO"},{"action":{"switchState":"FLAME"},"duration":{"var":"ent.vars.spawn.waitDuration"},"random":0,"type":"TIME"},{"action":{"switchState":"PAUSE_NOTIFY"},"hint":"pause","type":"NOTIFY"}]},"FLAME":{"anim":"on","proxy":{"proxy":"flame","spawnPos":"BOTTOM"},"reacts":[{"action":{"fx":{"fx":"FX:interact.hazards#nyxFlameOff","target":{"ent":"self"}},"switchState":"PAUSE_VAR"},"condition":[{"type":"VAR_CONDITION","condition":{"var":"ent.vars.spawn.pauseCondition"}}],"type":"AUTO"},{"action":{"switchState":"WAIT"},"duration":{"var":"ent.vars.spawn.attackDuration"},"random":0,"type":"TIME"},{"action":{"switchState":"PAUSE_NOTIFY"},"hint":"pause","type":"NOTIFY"}]},"PAUSE_VAR":{"reacts":[{"action":{"switchState":"INIT"},"condition":[{"type":"VAR_CONDITION","condition":{"var":"ent.vars.spawn.pauseCondition"},"not":true}],"type":"AUTO"}]},"PAUSE_NOTIFY":{"reacts":[{"action":{"switchState":"INIT"},"hint":"unpause","type":"NOTIFY"},{"action":{"switchState":"FLAME"},"hint":"unpauseFast","type":"NOTIFY"}]}},"proxies":{"flame":{"action":[{"type":"VAR_NUMBER","changeType":"set","value":{"var":"ent.owner.vars.spawn.attackDuration"},"varName":"ent.vars.duration"},{"type":"VAR_NUMBER","changeType":"sub","value":0.3,"varName":"ent.vars.duration"},{"type":"SPAWN_FX","duration":-1,"effect":"FX:nature.dust#jump-up","group":"pre","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"WAIT","time":0.8},{"type":"CLEAR_FX","group":"pre"},{"type":"SPAWN_FX","duration":-1,"effect":"FX:test.combat.elements.fire#fire-loop-1","ignoreSlowMo":0,"target":{"ent":"self"}},{"type":"WAIT","time":0.3},{"type":"SET_DMG_CEILING","maxTotalDmg":1.2},{"type":"IF","condition":"$ent.owner.vars.spawn.faceKnockback","else":true,"_br":{"then":[{"type":"HIT_CIRCLE","attackInfo":{"attackType":"MELEE","damageFactor":0.4,"element":"NEUTRAL","hints":["DESTROY_ORB"],"hitType":"PIERCE","hitsInvincibles":true,"impact":"MEDIUM"},"duration":-1,"expandSpline":"LINEAR","hitDirFace":1,"minRadius":0,"multiHit":0.3,"radius":0.6,"target":{"ent":"self"},"zRange":2}],"else":[{"type":"HIT_CIRCLE","attackInfo":{"attackType":"MELEE","damageFactor":0.4,"element":"NEUTRAL","hints":["DESTROY_ORB"],"hitType":"PIERCE","hitsInvincibles":true,"impact":"MEDIUM"},"duration":-1,"expandSpline":"LINEAR","minRadius":0,"multiHit":0.3,"radius":0.6,"target":{"ent":"self"},"zRange":2}]}},{"type":"WAIT","time":{"var":"ent.vars.duration"}},{"type":"CLEAR_FX"},{"type":"STOP_COMBAT_ACTS","onlyRepeating":false},{"type":"WAIT","time":0.1}],"config":{"walkAnim":"default","weight":60},"walkAnims":{},"type":"Generic"},"boom":{"action":[{"type":"HIT_CIRCLE","attackInfo":{"damageFactor":3.5,"element":"NEUTRAL","fly":"MASSIVE2","hitType":"BLUNT","impact":"HEAVY"},"duration":0.2,"minRadius":0,"multiHit":0,"radius":2.5,"radiusExpand":0.5,"target":{"ent":"self"}},{"type":"SPAWN_FX","effect":"FX:generic.boom#webEggBoom","ignoreSlowMo":0,"target":{"ent":"self"},"wait":true}],"config":{"walkAnim":"default","weight":60},"connect":"NONE","walkAnims":{},"type":"Generic"}},"alts":{}}