fix(beastmaster): fixes #2557, adds opacity to previously-owned pets

after they're mounted. You can earn them back again
This commit is contained in:
Tyler Renelle 2014-01-26 17:24:48 -08:00
parent 47bcaf83e7
commit 5caaff1cea

View file

@ -58,6 +58,8 @@ script(type='text/ng-template', id='partials/options.inventory.pets.html')
.bar(style="width: {{user.items.pets[pet]/.5}}%;")
button(class="pet-button pet-not-owned", ng-if='!user.items.pets[pet]')
.PixelPaw
button(class="pet-button Pet-{{pet}}" ng-if='user.items.pets[pet]<0',style='opacity:0.1;filter:alpha(opacity=10)')
//if this could be changed to the opacity talked about? can't figure it out
h4=env.t('rarePets')
menu