Skip to content

Commit

Permalink
Charge for more egos in shops (tedric, minmay)
Browse files Browse the repository at this point in the history
Antimagic, archery, and spirit shield were not increasing the price of
shop items at all.  The numbers here are just a guess: adjust as
necessary.
  • Loading branch information
neilmoore committed Sep 5, 2015
1 parent cb1435c commit 0b8207c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crawl-ref/source/shopping.cc
Expand Up @@ -1146,6 +1146,7 @@ unsigned int item_value(item_def item, bool ident)

case SPWPN_SPEED:
case SPWPN_VAMPIRISM:
case SPWPN_ANTIMAGIC:
valued *= 30;
break;

Expand Down Expand Up @@ -1392,12 +1393,14 @@ unsigned int item_value(item_def item, bool ident)
case SPARM_INVISIBILITY:
case SPARM_MAGIC_RESISTANCE:
case SPARM_PROTECTION:
case SPARM_ARCHERY:
valued += 50;
break;

case SPARM_POSITIVE_ENERGY:
case SPARM_POISON_RESISTANCE:
case SPARM_REFLECTION:
case SPARM_SPIRIT_SHIELD:
valued += 20;
break;

Expand Down

0 comments on commit 0b8207c

Please sign in to comment.