unit sprites and a buncha other stuff
This commit is contained in:
parent
e45eb49492
commit
a537ea5cf2
37 changed files with 516 additions and 17 deletions
|
@ -11,12 +11,16 @@ var mydata = {
|
|||
name: "chara",
|
||||
desc: "the first fallen human",
|
||||
skills: ["SKILLS.LUNA"],
|
||||
sprite: s_guy,
|
||||
idle: s_momiji,
|
||||
up: s_momijiup,
|
||||
down: s_momijidown,
|
||||
}
|
||||
|
||||
function unit(personaldata_, classdata_, stats_) constructor {
|
||||
name = personaldata_.name;
|
||||
sprite = personaldata_.sprite;
|
||||
idle = personaldata_.idle;
|
||||
up = personaldata_.up;
|
||||
down = personaldata_.down;
|
||||
alignment = noone;
|
||||
var i;
|
||||
for (i=0; i<array_length(stats_); i++) {
|
||||
|
@ -31,7 +35,9 @@ mydata = {
|
|||
name: "kris",
|
||||
desc: "totally kris",
|
||||
skills: ["SKILLS.LUNA"],
|
||||
sprite: s_guy2,
|
||||
idle: s_guy2,
|
||||
up: s_guy2,
|
||||
down: s_guy2,
|
||||
}
|
||||
nu unit(mydata, mydata, [st.hp.add(92), st.str.add(20), st.def.add(20), st.spd.add(5)]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue