summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 04:56:38 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 04:56:38 +0000
commitd5f262eb187ed2a96b0216103210c8ba8057d59c (patch)
tree09a1c4a988f7f515d2c35a1092ba427784b20cc6 /crawl-ref/source/abl-show.cc
parenteff7b910f0081718d468b2158cbc18f4ede83ddb (diff)
downloadcrawl-ref-d5f262eb187ed2a96b0216103210c8ba8057d59c.tar.gz
crawl-ref-d5f262eb187ed2a96b0216103210c8ba8057d59c.zip
Since fixed artefacts are going to be folded into unrandarts, and unrandarts
have already become almost identical to randarts, change "randart" to "artefact" everywhere except for things that deal exclusively with randarts. Artefact related files will be renamed later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9921 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 207523fd19..30d4e972b5 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -2227,18 +2227,18 @@ std::vector<talent> your_talents(bool check_confused)
_add_talent(talents, ABIL_DELAYED_FIREBALL, check_confused);
// Evocations from items.
- if (scan_randarts(RAP_BLINK))
+ if (scan_artefacts(ARTP_BLINK))
_add_talent(talents, ABIL_EVOKE_BLINK, check_confused);
- if (wearing_amulet(AMU_RAGE) || scan_randarts(RAP_BERSERK))
+ if (wearing_amulet(AMU_RAGE) || scan_artefacts(ARTP_BERSERK))
_add_talent(talents, ABIL_EVOKE_BERSERK, check_confused);
- if (scan_randarts( RAP_MAPPING ))
+ if (scan_artefacts( ARTP_MAPPING ))
_add_talent(talents, ABIL_EVOKE_MAPPING, check_confused);
if (player_equip( EQ_RINGS, RING_INVISIBILITY )
|| player_equip_ego_type( EQ_ALL_ARMOUR, SPARM_DARKNESS )
- || scan_randarts( RAP_INVISIBLE ))
+ || scan_artefacts( ARTP_INVISIBLE ))
{
// Now you can only turn invisibility off if you have an
// activatable item. Wands and potions will have to time
@@ -2252,7 +2252,7 @@ std::vector<talent> your_talents(bool check_confused)
// Note: This ability only applies to this counter.
if (player_equip( EQ_RINGS, RING_LEVITATION )
|| player_equip_ego_type( EQ_BOOTS, SPARM_LEVITATION )
- || scan_randarts( RAP_LEVITATE ))
+ || scan_artefacts( ARTP_LEVITATE ))
{
// Has no effect on permanently flying Kenku.
if (!you.permanent_flight())
@@ -2268,7 +2268,7 @@ std::vector<talent> your_talents(bool check_confused)
}
if (player_equip( EQ_RINGS, RING_TELEPORTATION )
- || scan_randarts( RAP_CAN_TELEPORT ))
+ || scan_artefacts( ARTP_CAN_TELEPORT ))
{
_add_talent(talents, ABIL_EVOKE_TELEPORTATION, check_confused);
}