diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-11-03 00:04:22 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-11-03 00:04:31 -0800 |
commit | dec3c687da2a010a11c16cc0b19cacafe2ed49dd (patch) | |
tree | c1c5046c137a8dd5a62eb80ab943611a889a4724 /crawl-ref/source/artefact.cc | |
parent | ec56a2051c1562c03a0a7715510e8da5c7a19925 (diff) | |
download | crawl-ref-dec3c687da2a010a11c16cc0b19cacafe2ed49dd.tar.gz crawl-ref-dec3c687da2a010a11c16cc0b19cacafe2ed49dd.zip |
Remove +Tele as a randart property
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r-- | crawl-ref/source/artefact.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index 2ce6e13e99..4653872a55 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -1059,15 +1059,6 @@ void static _get_randart_properties(const item_def &item, power_level++; } - // teleport - if (!done_powers - && one_chance_in(10) - && (aclass != OBJ_JEWELLERY || atype != RING_TELEPORTATION)) - { - proprt[ARTP_CAN_TELEPORT] = 1; - power_level++; - } - // go berserk if (!done_powers && one_chance_in(10) @@ -1114,7 +1105,6 @@ void static _get_randart_properties(const item_def &item, if (aclass == OBJ_JEWELLERY && atype == RING_TELEPORT_CONTROL) break; // already is a ring of tport ctrl proprt[ARTP_BLINK] = 0; - proprt[ARTP_CAN_TELEPORT] = 0; proprt[ARTP_PREVENT_TELEPORTATION] = 1; break; case 4: // berserk on attack @@ -1782,8 +1772,7 @@ static bool _randart_is_redundant( const item_def &item, break; case RING_TELEPORTATION: - provides = ARTP_CAN_TELEPORT; - provides2 = ARTP_CAUSE_TELEPORTATION; + provides = ARTP_CAUSE_TELEPORTATION; break; case RING_EVASION: |