range marking
This commit is contained in:
parent
d8e6a82fdb
commit
26eabf966d
58 changed files with 774 additions and 76 deletions
|
@ -6,15 +6,7 @@ enum ARMY {
|
|||
THEM,
|
||||
}
|
||||
//exit;
|
||||
global.unitdata = {};
|
||||
var mydata = {
|
||||
name: "chara",
|
||||
desc: "the first fallen human",
|
||||
skills: ["SKILLS.LUNA"],
|
||||
idle: s_momiji,
|
||||
up: s_momijiup,
|
||||
down: s_momijidown,
|
||||
}
|
||||
|
||||
|
||||
function unit(personaldata_, classdata_, stats_) constructor {
|
||||
name = personaldata_.name;
|
||||
|
@ -29,17 +21,7 @@ function unit(personaldata_, classdata_, stats_) constructor {
|
|||
global.unitdata[$name] = self;
|
||||
}
|
||||
|
||||
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_guy2,
|
||||
up: s_guy2,
|
||||
down: s_guy2,
|
||||
}
|
||||
nu unit(mydata, mydata, [st.hp.add(110), st.str.add(20), st.def.add(10), st.spd.add(5), st.mov.add(6), st.hit.add(0)]);
|
||||
|
||||
function archetypedata() constructor {
|
||||
//PERSONALDATA AND CLASSDATA ARE THE SAME THINGS
|
||||
|
@ -48,10 +30,8 @@ function archetypedata() constructor {
|
|||
function c_addunit(unit, alignment) {
|
||||
//log(5);
|
||||
//log(global.units);
|
||||
array_push(global.units[alignment], unit);
|
||||
unit.alignment = alignment;
|
||||
log(global.units[alignment]);
|
||||
|
||||
}
|
||||
|
||||
c_addunit(un.chara, ARMY.US);
|
||||
//c_addunit(un.chara, ARMY.US);
|
||||
#macro un global.unitdata
|
Loading…
Add table
Add a link
Reference in a new issue