|
|
@@ -4,28 +4,28 @@ define([ |
|
|
|
events |
|
|
|
) { |
|
|
|
var classes = { |
|
|
|
list: ['warrior', 'wizard', 'thief'], |
|
|
|
list: ['bear', 'owl', 'lynx'], |
|
|
|
portraits: { |
|
|
|
warrior: { |
|
|
|
bear: { |
|
|
|
x: 0, |
|
|
|
y: 0 |
|
|
|
}, |
|
|
|
wizard: { |
|
|
|
owl: { |
|
|
|
x: 2, |
|
|
|
y: 0 |
|
|
|
}, |
|
|
|
thief: { |
|
|
|
lynx: { |
|
|
|
x: 3, |
|
|
|
y: 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
spells: { |
|
|
|
wizard: ['magic missile', 'ice spear'], |
|
|
|
warrior: ['slash', 'charge'], |
|
|
|
thief: ['flurry', 'smokebomb'] |
|
|
|
owl: ['magic missile', 'ice spear'], |
|
|
|
bear: ['slash', 'charge'], |
|
|
|
lynx: ['flurry', 'smokebomb'] |
|
|
|
}, |
|
|
|
stats: { |
|
|
|
wizard: { |
|
|
|
owl: { |
|
|
|
values: { |
|
|
|
hpMax: 50 |
|
|
|
}, |
|
|
@@ -34,7 +34,7 @@ define([ |
|
|
|
int: 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
warrior: { |
|
|
|
bear: { |
|
|
|
values: { |
|
|
|
hpMax: 80 |
|
|
|
}, |
|
|
@@ -43,7 +43,7 @@ define([ |
|
|
|
str: 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
thief: { |
|
|
|
lynx: { |
|
|
|
values: { |
|
|
|
hpMax: 70 |
|
|
|
}, |
|
|
@@ -54,9 +54,9 @@ define([ |
|
|
|
} |
|
|
|
}, |
|
|
|
weapons: { |
|
|
|
wizard: 'Gnarled Staff', |
|
|
|
thief: 'Dagger', |
|
|
|
warrior: 'Sword' |
|
|
|
owl: 'Gnarled Staff', |
|
|
|
lynx: 'Dagger', |
|
|
|
bear: 'Sword' |
|
|
|
}, |
|
|
|
|
|
|
|
getSpritesheet: function (className) { |
|
|
|