classes spritesmith #37 remove chin outlines from helms so they won't

cover beards. move head_warrior_0 to head_0 so it doesn't add
extra chin outline. We'll need to figure out how to handle class_0 for
each class
This commit is contained in:
Tyler Renelle 2013-12-05 10:32:14 -07:00
parent 9ce88004cb
commit ee4777d5e8
35 changed files with 33 additions and 25 deletions

View file

@ -10826,7 +10826,7 @@ try {
notes: "Ice forms of the party's tasks, slowing them down and opening them up to more attacks. Your party gains a buff to xp.", notes: "Ice forms of the party's tasks, slowing them down and opening them up to more attacks. Your party gains a buff to xp.",
cast: function(user, target) { cast: function(user, target) {
return _.each(target, function(member) { return _.each(target, function(member) {
return member.stats.buffs.exp = user.stats.int; return member.stats.buffs.int = user.stats.int;
}); });
} }
}, },
@ -10838,7 +10838,7 @@ try {
notes: "Unearthly shadows form and wisp around your party, concealing their presence. Under the shroud, your party can sneak up on tasks, dealing more critical hits.", notes: "Unearthly shadows form and wisp around your party, concealing their presence. Under the shroud, your party can sneak up on tasks, dealing more critical hits.",
cast: function(user, target) { cast: function(user, target) {
return _.each(target, function(member) { return _.each(target, function(member) {
return member.stats.buffs.crit = user.stats.per; return member.stats.buffs.per = user.stats.per;
}); });
} }
} }
@ -10907,8 +10907,11 @@ try {
target: 'task', target: 'task',
notes: "Without a sound, you sweep behind a task and stab it in the back. You deal higher damage to the stat, with a higher chance of a critical hit.", notes: "Without a sound, you sweep behind a task and stab it in the back. You deal higher damage to the stat, with a higher chance of a critical hit.",
cast: function(user, target) { cast: function(user, target) {
var _crit;
_crit = crit(user);
target.value -= user.stats.str; target.value -= user.stats.str;
return crit += user.stats.per * 2; user.stats.exp += _crit;
return user.stats.gp += _crit;
} }
}, },
stealth: { stealth: {
@ -10919,7 +10922,7 @@ try {
notes: "You share your thievery tools with the party to aid them in 'acquiring' more gold. The party's gold bonus for tasks is buffed for a day.", notes: "You share your thievery tools with the party to aid them in 'acquiring' more gold. The party's gold bonus for tasks is buffed for a day.",
cast: function(user, target) { cast: function(user, target) {
return _.each(target, function(member) { return _.each(target, function(member) {
return member.stats.buffs.gp = user.stats.per; return member.stats.buffs.per = user.stats.per / 2;
}); });
} }
}, },
@ -10944,7 +10947,7 @@ try {
target: 'self', target: 'self',
notes: 'Light covers your body, healing your wounds. You gain a boost to your health.', notes: 'Light covers your body, healing your wounds. You gain a boost to your health.',
cast: function(user, target) { cast: function(user, target) {
return target.stats.hp += user.stats.con; return user.stats.hp += user.stats.con + user.stats.int;
} }
}, },
brightness: { brightness: {
@ -10954,7 +10957,9 @@ try {
target: 'self', target: 'self',
notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced", notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced",
cast: function(user, target) { cast: function(user, target) {
return target.value -= user.stats.int; return _.each(user.tasks, function(target) {
return target.value -= user.stats.int;
});
} }
}, },
protectAura: { protectAura: {

File diff suppressed because one or more lines are too long

24
dist/spritesmith.css vendored
View file

@ -868,73 +868,73 @@
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_healer_1 { .head_0 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -720px -1050px; background-position: -720px -1050px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_healer_2 { .head_healer_1 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -810px -1050px; background-position: -810px -1050px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_healer_3 { .head_healer_2 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -900px -1050px; background-position: -900px -1050px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_healer_4 { .head_healer_3 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -990px -1050px; background-position: -990px -1050px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_healer_5 { .head_healer_4 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1080px -1050px; background-position: -1080px -1050px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_rogue_1 { .head_healer_5 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px 0px; background-position: -1188px 0px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_rogue_2 { .head_rogue_1 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -90px; background-position: -1188px -90px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_rogue_3 { .head_rogue_2 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -180px; background-position: -1188px -180px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_rogue_4 { .head_rogue_3 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -270px; background-position: -1188px -270px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_rogue_5 { .head_rogue_4 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -360px; background-position: -1188px -360px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_special_unknown { .head_rogue_5 {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -450px; background-position: -1188px -450px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.head_warrior_0 { .head_special_unknown {
background-image: url(spritesmith.png); background-image: url(spritesmith.png);
background-position: -1188px -540px; background-position: -1188px -540px;
width: 90px; width: 90px;

BIN
dist/spritesmith.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

After

Width:  |  Height:  |  Size: 271 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -216,7 +216,7 @@ items.spells =
cast: (user, target) -> cast: (user, target) ->
## lasts for 24 hours ## ## lasts for 24 hours ##
_.each target, (member) -> _.each target, (member) ->
member.stats.buffs.exp = user.stats.int member.stats.buffs.int = user.stats.int
darkness: darkness:
text: 'Shroud of Darkness' text: 'Shroud of Darkness'
mana: 30 mana: 30
@ -226,7 +226,7 @@ items.spells =
cast: (user, target) -> cast: (user, target) ->
## lasts for 24 hours ## ## lasts for 24 hours ##
_.each target, (member) -> _.each target, (member) ->
member.stats.buffs.crit = user.stats.per member.stats.buffs.per = user.stats.per
warrior: warrior:
smash: smash:
@ -283,8 +283,10 @@ items.spells =
target: 'task' target: 'task'
notes: "Without a sound, you sweep behind a task and stab it in the back. You deal higher damage to the stat, with a higher chance of a critical hit." notes: "Without a sound, you sweep behind a task and stab it in the back. You deal higher damage to the stat, with a higher chance of a critical hit."
cast: (user, target) -> cast: (user, target) ->
_crit = crit(user)
target.value -= user.stats.str target.value -= user.stats.str
crit += user.stats.per*2 user.stats.exp += _crit
user.stats.gp += _crit
stealth: stealth:
text: 'Tools of the Trade' text: 'Tools of the Trade'
mana: 20 mana: 20
@ -294,7 +296,7 @@ items.spells =
cast: (user, target) -> cast: (user, target) ->
## lasts 24 hours ## ## lasts 24 hours ##
_.each target, (member) -> _.each target, (member) ->
member.stats.buffs.gp = user.stats.per member.stats.buffs.per = user.stats.per/2
speedburst: speedburst:
text: 'Burst of Speed' text: 'Burst of Speed'
mana: 25 mana: 25
@ -316,7 +318,7 @@ items.spells =
target: 'self' target: 'self'
notes: 'Light covers your body, healing your wounds. You gain a boost to your health.' notes: 'Light covers your body, healing your wounds. You gain a boost to your health.'
cast: (user, target) -> cast: (user, target) ->
target.stats.hp += user.stats.con user.stats.hp += user.stats.con + user.stats.int
brightness: brightness:
text: 'Searing Brightness' text: 'Searing Brightness'
mana: 15 mana: 15
@ -324,7 +326,8 @@ items.spells =
target: 'self' target: 'self'
notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced" notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced"
cast: (user, target) -> cast: (user, target) ->
target.value -= user.stats.int _.each user.tasks, (target) ->
target.value -= user.stats.int
protectAura: protectAura:
text: 'Protective Aura' text: 'Protective Aura'
mana: 30 mana: 30