global.unitdata = {}; enum AI { AFK, KILLER, WAITER, ESCAPER, } mydata = { name: "Momiji", desc: "", skills: [], idle: s_momiji, up: s_momijiup, down: s_momijidown, face: s_momijitalk, aitype: AI.KILLER, } //nu unit(mydata, mydata, [st.hp.add(30), st.str.add(99), st.def.add(8), st.spd.add(10), st.mov.add(99), st.hit.add(0), st.rng.add(1)]); nu unit(mydata, mydata, [st.hp.add(30), st.str.add(13), 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_nitori, up: s_nitoriup, down: s_nitoridown, face: s_nitoritalk, 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: "Aya", desc: "", skills: [], idle: s_aya, up: s_ayaup, down: s_ayadown, face: s_ayatalk, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(35), st.str.add(13), st.def.add(3), st.spd.add(13), st.mov.add(5), st.hit.add(0), st.rng.add(1)]); mydata = { name: "Takane", desc: "", skills: [], idle: s_takane, up: s_takaneup, down: s_takanedown, face: s_talkane, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(27), st.str.add(7), st.def.add(6), st.spd.add(6), st.mov.add(4), st.hit.add(0), st.rng.add(1)]); mydata = { name: "Kotohime", desc: "", skills: [], idle: s_takane, up: s_takaneup, down: s_takanedown, face: s_talkane, aitype: AI.KILLER, } nu unit(mydata, mydata, [st.hp.add(20), st.str.add(4), st.def.add(2), st.spd.add(11), st.mov.add(5), st.hit.add(0), st.rng.add(1)]);