mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
feat(critical-hammer): add Critical Hammer of Bug-Crushing
This commit is contained in:
parent
9eb5f2667d
commit
6a5df319ed
6 changed files with 25 additions and 2 deletions
|
|
@ -93,6 +93,7 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks('grunt-browserify');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['clean', 'sprite', 'cssmin', 'browserify']);
|
||||
grunt.registerTask('default', ['cssmin', 'browserify']);
|
||||
grunt.registerTask('full', ['clean', 'sprite', 'cssmin', 'browserify']);
|
||||
|
||||
};
|
||||
|
|
@ -12,6 +12,15 @@
|
|||
height: 90px;
|
||||
}
|
||||
|
||||
/* Critical */
|
||||
.weapon_special_critical {
|
||||
background: url("../img/sprites/backer-only/weapon_special_critical.gif") no-repeat;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
margin-left:-12px;
|
||||
margin-top:12px;
|
||||
}
|
||||
|
||||
/* This is oversized until a move to 105 avatar box happens*/
|
||||
.weapon_special_1 {
|
||||
height: 105px;
|
||||
|
|
|
|||
2
dist/habitrpg-shared.css
vendored
2
dist/habitrpg-shared.css
vendored
File diff suppressed because one or more lines are too long
12
dist/habitrpg-shared.js
vendored
12
dist/habitrpg-shared.js
vendored
|
|
@ -9449,6 +9449,18 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
|
|||
return +((_ref = u.backer) != null ? _ref.tier : void 0) >= 300;
|
||||
})
|
||||
},
|
||||
critical: {
|
||||
text: "Critical Hammer of Bug-Crushing",
|
||||
notes: "This champion slew a critical Github foe where many warriors fell. Fashioned from the bones of Bug, this hammer deals a mighty critical hit. Increases STR and PER by 40 each.",
|
||||
str: 40,
|
||||
per: 40,
|
||||
value: 200,
|
||||
canOwn: (function(u) {
|
||||
var _ref;
|
||||
|
||||
return !!((_ref = u.contributor) != null ? _ref.critical : void 0);
|
||||
})
|
||||
},
|
||||
yeti: {
|
||||
event: events.winter,
|
||||
canOwn: (function(u) {
|
||||
|
|
|
|||
BIN
img/sprites/backer-only/weapon_special_critical.gif
Normal file
BIN
img/sprites/backer-only/weapon_special_critical.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 759 B |
|
|
@ -65,6 +65,7 @@ gear =
|
|||
1: text: "Crystal Blade", notes:'Its glittering facets tell the tale of a hero. Increases all attributes by 6.', str: 6, per: 6, con: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 4)
|
||||
2: text: "Stephen Weber's Shaft of the Dragon", notes:'Feel the potency of the dragon surge from within! Increases STR and PER by 25 each.', str: 25, per: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300)
|
||||
3: text: "Mustaine's Milestone Mashing Morning Star", notes:"Meetings, monsters, malaise: managed! Mash! Increases STR, INT, and CON by 17 each.", str: 17, int: 17, con: 17, value:200, canOwn: ((u)-> +u.backer?.tier >= 300)
|
||||
critical: text: "Critical Hammer of Bug-Crushing", notes:"This champion slew a critical Github foe where many warriors fell. Fashioned from the bones of Bug, this hammer deals a mighty critical hit. Increases STR and PER by 40 each.", str: 40, per: 40, value:200, canOwn: ((u)-> !!u.contributor?.critical)
|
||||
|
||||
# Winter event gear
|
||||
yeti: event: events.winter, canOwn: ((u)->u.stats.class is 'warrior' ), text: "Yeti-Tamer Spear", notes:'Limited Edition 2013 Winter Gear! This spear allows its user to command any yeti. Increases STR by 15.', str: 15, value:90
|
||||
|
|
|
|||
Loading…
Reference in a new issue