global.unitdata = {}; var mydata = { name: "chara", desc: "the first fallen human", skills: ["SKILLS.LUNA"], idle: s_momiji, up: s_momijiup, down: s_momijidown, } 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)]); mydata = { name: "kris", desc: "totally kris", skills: ["SKILLS.LUNA"], idle: s_bunny, up: s_bunnyup, down: s_bunnydown, } 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)]); mydata = { name: "", desc: "", skills: [], idle: s_null, up: s_null, down: s_null, }