global.unitdata = {}; enum AI { AFK, KILLER, WAITER, ESCAPER, } var mydata = { name: "chara", desc: "the first fallen human", skills: ["SKILLS.LUNA"], idle: s_momiji, up: s_momijiup, down: s_momijidown, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(92), st.str.add(20), st.def.add(10), st.spd.add(5), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "kris", desc: "totally kris", skills: ["SKILLS.LUNA"], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(110), st.str.add(20), st.def.add(10), st.spd.add(5), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "momiji", desc: "", skills: [], idle: s_momiji, up: s_momijiup, down: s_momijidown, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(30), st.str.add(12), st.def.add(8), st.spd.add(10), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "nitori", desc: "", skills: [], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(34), st.str.add(10), st.def.add(6), st.spd.add(6), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "bunny", desc: "", skills: [], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(25), st.str.add(9), st.def.add(7), st.spd.add(7), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "bunnyguard", desc: "", skills: [], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, aitype: AI.WAITER, } nu unit(mydata, mydata, [st.hp.add(20), st.str.add(8), st.def.add(8), st.spd.add(10), st.mov.add(0), st.hit.add(0), st.rng.add(1)]); mydata = { name: "bunnythief", desc: "", skills: [], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, aitype: AI.ESCAPER, } nu unit(mydata, mydata, [st.hp.add(20), st.str.add(6), st.def.add(4), st.spd.add(15), st.mov.add(3), st.hit.add(0), st.rng.add(1)]); mydata = { name: "rei'sen", desc: "", skills: [], idle: s_reisen, up: s_reisenup, down: s_reisendown, aitype: AI.WAITER, } nu unit(mydata, mydata, [st.hp.add(40), st.str.add(14), st.def.add(10), st.spd.add(13), st.mov.add(2), st.hit.add(0), st.rng.add(1)]);