remove reroll from items.coffee
This commit is contained in:
Vendored
+2
-13
@@ -10781,8 +10781,7 @@ try {
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
Potion & Re-roll
|
||||
TODO rename / remove re-roll?
|
||||
Potion
|
||||
---------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@@ -10795,13 +10794,6 @@ try {
|
||||
key: 'potion'
|
||||
};
|
||||
|
||||
items.reroll = {
|
||||
type: 'reroll',
|
||||
text: "Re-Roll",
|
||||
notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.",
|
||||
value: 0
|
||||
};
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
Spells
|
||||
@@ -11261,7 +11253,6 @@ try {
|
||||
}
|
||||
}));
|
||||
changes.push(items.potion);
|
||||
changes.push(items.reroll);
|
||||
return _.sortBy(changes, function(item) {
|
||||
switch (item.type) {
|
||||
case 'weapon':
|
||||
@@ -11274,10 +11265,8 @@ try {
|
||||
return 4;
|
||||
case 'potion':
|
||||
return 5;
|
||||
case 'reroll':
|
||||
return 6;
|
||||
default:
|
||||
return 7;
|
||||
return 6;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+779
-587
File diff suppressed because it is too large
Load Diff
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 277 KiB After Width: | Height: | Size: 285 KiB |
+2
-6
@@ -172,13 +172,11 @@ _.each ['weapon', 'armor', 'head', 'shield'], (type) ->
|
||||
|
||||
###
|
||||
---------------------------------------------------------------
|
||||
Potion & Re-roll
|
||||
TODO rename / remove re-roll?
|
||||
Potion
|
||||
---------------------------------------------------------------
|
||||
###
|
||||
|
||||
items.potion = type: 'potion', text: "Health Potion", notes: "Recover 15 Health (Instant Use)", value: 25, key: 'potion'
|
||||
items.reroll = type: 'reroll', text: "Re-Roll", notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.", value:0
|
||||
|
||||
###
|
||||
---------------------------------------------------------------
|
||||
@@ -471,7 +469,6 @@ module.exports.updateStore = (user) ->
|
||||
m.push v if v.canOwn?(user) && !user.items.gear.owned[v.key]
|
||||
|
||||
changes.push items.potion
|
||||
changes.push items.reroll
|
||||
|
||||
# Return sorted store (array)
|
||||
_.sortBy changes, (item) ->
|
||||
@@ -481,8 +478,7 @@ module.exports.updateStore = (user) ->
|
||||
when 'head' then 3
|
||||
when 'shield' then 4
|
||||
when 'potion' then 5
|
||||
when 'reroll' then 6
|
||||
else 7
|
||||
else 6
|
||||
|
||||
###
|
||||
Gets an item, and caps max to the last item in its array
|
||||
|
||||
Reference in New Issue
Block a user