feat(event): Valentine's cards
This commit is contained in:
@@ -389,7 +389,7 @@ api.cast = function(req, res, next) {
|
||||
series.push(function(cb2){found.save(cb2)});
|
||||
}
|
||||
|
||||
if (group) {
|
||||
if (group && !spell.silent) {
|
||||
series.push(function(cb2){
|
||||
var message = '`'+user.profile.name+' casts '+spell.text() + (targetType=='user' ? ' on '+found.profile.name : ' for the party')+'.`';
|
||||
group.sendChat(message);
|
||||
|
||||
@@ -244,3 +244,8 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
||||
p
|
||||
| 20
|
||||
span.shop_gold
|
||||
div
|
||||
button.customize-option(popover='{{::Content.spells.special.valentine.notes()}}', popover-title='{{::Content.spells.special.valentine.text()}}', popover-trigger='mouseenter', popover-placement='right', popover-append-to-body='true', ng-click='castStart(Content.spells.special.valentine)', class='inventory_special_valentine')
|
||||
p
|
||||
| {{Content.spells.special.valentine.value}}
|
||||
span(class='shop_gold')
|
||||
Reference in New Issue
Block a user