feat(event): Valentine's cards

This commit is contained in:
Sabe Jones 2015-02-10 20:30:20 -06:00
parent bf54bde207
commit 6a6a4a0e57
2 changed files with 6 additions and 1 deletions

View file

@ -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);

View file

@ -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')