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
17
dist/habitrpg-shared.js
vendored
|
|
@ -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.",
|
||||
cast: function(user, target) {
|
||||
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.",
|
||||
cast: function(user, target) {
|
||||
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',
|
||||
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) {
|
||||
var _crit;
|
||||
_crit = crit(user);
|
||||
target.value -= user.stats.str;
|
||||
return crit += user.stats.per * 2;
|
||||
user.stats.exp += _crit;
|
||||
return user.stats.gp += _crit;
|
||||
}
|
||||
},
|
||||
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.",
|
||||
cast: function(user, target) {
|
||||
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',
|
||||
notes: 'Light covers your body, healing your wounds. You gain a boost to your health.',
|
||||
cast: function(user, target) {
|
||||
return target.stats.hp += user.stats.con;
|
||||
return user.stats.hp += user.stats.con + user.stats.int;
|
||||
}
|
||||
},
|
||||
brightness: {
|
||||
|
|
@ -10954,7 +10957,9 @@ try {
|
|||
target: 'self',
|
||||
notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced",
|
||||
cast: function(user, target) {
|
||||
return target.value -= user.stats.int;
|
||||
return _.each(user.tasks, function(target) {
|
||||
return target.value -= user.stats.int;
|
||||
});
|
||||
}
|
||||
},
|
||||
protectAura: {
|
||||
|
|
|
|||
2
dist/spritesheets.css
vendored
24
dist/spritesmith.css
vendored
|
|
@ -868,73 +868,73 @@
|
|||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_healer_1 {
|
||||
.head_0 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -720px -1050px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_healer_2 {
|
||||
.head_healer_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -810px -1050px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_healer_3 {
|
||||
.head_healer_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -900px -1050px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_healer_4 {
|
||||
.head_healer_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -990px -1050px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_healer_5 {
|
||||
.head_healer_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1080px -1050px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_rogue_1 {
|
||||
.head_healer_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px 0px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_rogue_2 {
|
||||
.head_rogue_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -90px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_rogue_3 {
|
||||
.head_rogue_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -180px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_rogue_4 {
|
||||
.head_rogue_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -270px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_rogue_5 {
|
||||
.head_rogue_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -360px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_special_unknown {
|
||||
.head_rogue_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -450px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_warrior_0 {
|
||||
.head_special_unknown {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1188px -540px;
|
||||
width: 90px;
|
||||
|
|
|
|||
BIN
dist/spritesmith.png
vendored
|
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
BIN
img/sprites/spritesmith/head/head_warrior_1.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
img/sprites/spritesmith/head/head_warrior_4.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/sprites/spritesmith/head/head_warrior_5.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/sprites/spritesmith/head/head_wizard_1.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/sprites/spritesmith/head/head_wizard_2.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
img/sprites/spritesmith/head/head_wizard_3.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/sprites/spritesmith/head/head_wizard_4.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/sprites/spritesmith/head/head_wizard_5.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
|
@ -216,7 +216,7 @@ items.spells =
|
|||
cast: (user, target) ->
|
||||
## lasts for 24 hours ##
|
||||
_.each target, (member) ->
|
||||
member.stats.buffs.exp = user.stats.int
|
||||
member.stats.buffs.int = user.stats.int
|
||||
darkness:
|
||||
text: 'Shroud of Darkness'
|
||||
mana: 30
|
||||
|
|
@ -226,7 +226,7 @@ items.spells =
|
|||
cast: (user, target) ->
|
||||
## lasts for 24 hours ##
|
||||
_.each target, (member) ->
|
||||
member.stats.buffs.crit = user.stats.per
|
||||
member.stats.buffs.per = user.stats.per
|
||||
|
||||
warrior:
|
||||
smash:
|
||||
|
|
@ -283,8 +283,10 @@ items.spells =
|
|||
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."
|
||||
cast: (user, target) ->
|
||||
_crit = crit(user)
|
||||
target.value -= user.stats.str
|
||||
crit += user.stats.per*2
|
||||
user.stats.exp += _crit
|
||||
user.stats.gp += _crit
|
||||
stealth:
|
||||
text: 'Tools of the Trade'
|
||||
mana: 20
|
||||
|
|
@ -294,7 +296,7 @@ items.spells =
|
|||
cast: (user, target) ->
|
||||
## lasts 24 hours ##
|
||||
_.each target, (member) ->
|
||||
member.stats.buffs.gp = user.stats.per
|
||||
member.stats.buffs.per = user.stats.per/2
|
||||
speedburst:
|
||||
text: 'Burst of Speed'
|
||||
mana: 25
|
||||
|
|
@ -316,7 +318,7 @@ items.spells =
|
|||
target: 'self'
|
||||
notes: 'Light covers your body, healing your wounds. You gain a boost to your health.'
|
||||
cast: (user, target) ->
|
||||
target.stats.hp += user.stats.con
|
||||
user.stats.hp += user.stats.con + user.stats.int
|
||||
brightness:
|
||||
text: 'Searing Brightness'
|
||||
mana: 15
|
||||
|
|
@ -324,7 +326,8 @@ items.spells =
|
|||
target: 'self'
|
||||
notes: "You cast a burst of light that blinds all of your tasks. The redness of your tasks is reduced"
|
||||
cast: (user, target) ->
|
||||
target.value -= user.stats.int
|
||||
_.each user.tasks, (target) ->
|
||||
target.value -= user.stats.int
|
||||
protectAura:
|
||||
text: 'Protective Aura'
|
||||
mana: 30
|
||||
|
|
|
|||