Changeset 320
- Timestamp:
- 07/10/07 18:12:18 (2 years ago)
- Files:
-
- trunk/lib/edit/artifact.txt (modified) (69 diffs)
- trunk/lib/edit/object.txt (modified) (5 diffs)
- trunk/src/cmd6.c (modified) (2 diffs)
- trunk/src/defines.h (modified) (1 diff)
- trunk/src/effects.c (modified) (8 diffs)
- trunk/src/effects.h (modified) (1 diff)
- trunk/src/init1.c (modified) (12 diffs)
- trunk/src/load.c (modified) (3 diffs)
- trunk/src/obj-info.c (modified) (2 diffs)
- trunk/src/save.c (modified) (1 diff)
- trunk/src/types.h (modified) (2 diffs)
- trunk/src/use-obj.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/edit/artifact.txt
r305 r320 22 22 # P: base armor class : base damage : plus to-hit : plus to-dam : plus to-ac 23 23 # F: flag | flag | etc 24 # A: activation : recharge time : recharge time dice 24 # A: activation : recharge time 25 # M: message when activated 25 26 # D: description 26 27 … … 86 87 F:ACTIVATE | NO_FUEL | 87 88 F:INSTA_ART 88 A:ILLUMINATION:10:10 89 A:ILLUMINATION:10+d10 90 M:The phial wells with clear light... 89 91 D:A small crystal phial, with the light of Earendil's Star contained inside. 90 92 D:Its light is imperishable, and near it darkness cannot endure. … … 99 101 F:ACTIVATE | SEE_INVIS | NO_FUEL | 100 102 F:INSTA_ART 101 A:MAGIC_MAP:50:50 103 A:MAPPING:50+d50 104 M:The star shines brightly... 102 105 D:The shining Star of the West, a treasured heirloom of Elendil's house. 103 106 … … 110 113 F:ACTIVATE | SEE_INVIS | HOLD_LIFE | RES_LITE | RES_DARK | NO_FUEL | 111 114 F:INSTA_ART 112 A:DETECT:30:30 115 A:DETECT_ALL:30+d30 116 M:The Arkenstone forms an image in your mind... 113 117 D:A great globe seemingly filled with moonlight, the famed Heart of the 114 118 D:Mountain, which splinters the light that falls upon it into a thousand … … 124 128 F:ACTIVATE | RES_FIRE | 125 129 F:INSTA_ART 126 A:PROT_EVIL:225:225 130 A:PROTEVIL:225:+d225 131 M:The amulet lets out a shrill wail... 127 132 D:A fiery circle of bronze, with mighty spells to ward off and banish evil. 128 133 … … 137 142 F:RES_ACID | RES_COLD | RES_ELEC | 138 143 F:INSTA_ART 139 A:DISP_EVIL:50:50 144 A:DISP_EVIL:50+d50 145 M:The amulet floods the area with goodness... 140 146 D:The ancient heirloom of Ingwe, high lord of the Vanyar, against whom nothing 141 147 D:of evil could stand. … … 167 173 F:RES_CHAOS | RES_BLIND | AGGRAVATE | DRAIN_EXP | 168 174 F:INSTA_ART | HIDE_TYPE 169 A:CLAIRVOYANCE:50:50 175 A:CLAIRVOYANCE:50+d50 176 M:The palantir glows a deep green... 170 177 D:A great globe with a heart of fire, providing the wearer with sight 171 178 D:of far places - at a cost, for those espied upon are aware of it. … … 192 199 F:ACTIVATE | 193 200 F:INSTA_ART 194 A:HASTE2:150:150 201 A:HASTE2:150+d150 202 M:The ring glows brightly... 195 203 D:The treasure of Tulkas, most fleet and wrathful of the Valar. 196 204 … … 209 217 F:IM_FIRE | RES_FIRE | RES_NETHR | RES_FEAR | 210 218 F:INSTA_ART 211 A:FIRE3:20:20 219 A:FIRE3:20+d20 220 M:Narya glows deep red... 212 221 D:The Ring of Fire, set with a ruby that glows like flame. Narya is one 213 222 D:of the three Rings of Power created by the Elves and hidden by them from … … 228 237 F:IM_COLD | RES_COLD | RES_BLIND | TELEPATHY | 229 238 F:INSTA_ART 230 A:FROST5:20:20 239 A:FROST5:20+d20 240 M:Nenya glows bright white... 231 241 D:The Ring of Adamant, with a pure white stone as centerpiece. Nenya is one 232 242 D:of the three Rings of Power created by the Elves and hidden by them from … … 247 257 F:IM_ELEC | RES_ELEC | RES_POIS | RES_DISEN | 248 258 F:INSTA_ART 249 A:ELEC2:20:20 259 A:ELEC2:20+d20 260 M:Vilya glows deep blue... 250 261 D:The Ring of Sapphire, with clear blue gems that shine like stars, 251 262 D:glittering untouchable despite all that Morgoth ever wrought. Vilya is … … 269 280 F:SUST_INT | SUST_WIS | SUST_CHR | 270 281 F:INSTA_ART 271 A:BIZZARE:30:30 282 A:BIZARRE:30+d30 283 M:The One Ring glows intensely black... 272 284 D:"One Ring to rule them all, One Ring to find them, One Ring to bring 273 285 D:them all and in the darkness bind them." Made of massive gold, and … … 287 299 F:ACTIVATE | 288 300 F:INSTA_ART 289 A:HEAL1:200:0 301 A:HEAL1:200+d0 302 M:Your feel a warm tingling inside... 290 303 D:A green stone, imbued with the power of Elvendom and fit to be borne by 291 304 D:a true King of Men, one such as brings healing after victory in battle. … … 301 314 F:ACTIVATE | 302 315 F:INSTA_ART 303 A:RESTORE_LIFE:150:0 316 A:RESTORE_LIFE:150+d0 317 M:Your Cloak glows a deep red... 304 318 D:A plain white jewel, given by Queen Arwen to Frodo Baggins before his 305 319 D:return to the Shire. … … 322 336 F:LITE | SEE_INVIS | AGGRAVATE | 323 337 F:ACTIVATE 324 A:STAR_BALL:50:0 338 A:STAR_BALL:50 339 M:Your Dragon Scale Mail is surrounded by lightning! 325 340 D:A massive suit of heavy dragon scales deeply saturated with many colors. 326 341 D:It throbs with angry energies, and you feel the raw elemental might of … … 339 354 F:RES_SHARD | RES_NETHR | RES_NEXUS | RES_CHAOS | RES_DISEN | 340 355 F:ACTIVATE 341 A:RAGE_BLESS_RESIST:400:0 356 A:RAGE_BLESS_RESIST:400 357 M:Bladeturner glows many colors... 342 358 D:A suit of adamant, set with scales of every color, surrounded in a nimbus 343 359 D:of perfectly untramelled yet inextricably intermingled and utterly mastered … … 355 371 F:FREE_ACT | SLOW_DIGEST | REGEN | 356 372 F:ACTIVATE 357 A:STAR_BALL:50:0 373 A:STAR_BALL:50 374 M:Your Dragon Scale Male is surrounded by lightning! 358 375 D:A great suit of dragon hide, set with scales of many hues. Even the 359 376 D:mightiest wyrms of Law and Chaos fear the judgement of its wearer. … … 373 390 F:RES_CHAOS | RES_CONFU | RES_FEAR | 374 391 F:ACTIVATE 375 A:HEAL2:444:0 392 A:HEAL2:444 393 M:Soulkeeper glows a bright white... 376 394 D:A suit of imperishable adamant, with unconquerable strength to endure evil 377 395 D:and disruptive magics, that protects the life force of its wearer as … … 413 431 F:STEALTH | HIDE_TYPE | 414 432 F:RES_ACID | RES_ELEC | RES_FIRE | RES_COLD | RES_POIS | ACTIVATE 415 A:PHASE:2:0 433 A:TELE_PHASE:2 434 M:Belegennon twists space around you... 416 435 D:This wondrous suit of fine-linked chain shimmers as though of pure silver. 417 436 D:It stands untouched amidst the fury of the elements, and a power of … … 428 447 F:RES_ACID | RES_ELEC | RES_FIRE | RES_COLD | RES_DARK | 429 448 F:RES_DISEN | ACTIVATE 430 A:BANISHMENT:500:0 449 A:BANISHMENT:500 450 M:Your Mithril Plate Mail glows deep blue... 431 451 D:A shimmering suit of true-silver, forged long ago by dwarven smiths of 432 452 D:legend. It gleams with purest white as you gaze upon it, and mighty are … … 455 475 F:INT | WIS | CON | HIDE_TYPE | 456 476 F:RES_ACID | RES_POIS | RES_CONFU | ACTIVATE 457 A:TRAP_DOOR_DEST:10:0 477 A:DESTROY_TDOORS:10 478 M:Your Augmented Chain Mail glows bright red... 458 479 D:A hauberk, leggings, and sleeves of interlocking steel rings, strategically 459 480 D:reinforced at vital locations with a second layer of chain. Magics to … … 470 491 P:6:0d0:0:0:15 471 492 F:RES_CHAOS | RES_NETHR | RES_POIS | ACTIVATE 472 A:PROT_EVIL:100:100 493 A:PROTEVIL:100+d100 494 M:The armor lets out a shrill wail... 473 495 D:Contained within this studded cuirass of pliable leather is the memory of 474 496 D:unvanquished Himring, defiant fortress surrounded by the legions of Morgoth. … … 511 533 F:RES_ELEC | RES_ACID | RES_DISEN | RES_DARK | HIDE_TYPE | 512 534 F:SUST_WIS | SUST_DEX | SUST_CHR 513 A:STARLIGHT:100:0 535 A:STARLIGHT:100 536 M:Your Sheild of Deflection glows with the light of a thousand stars... 514 537 D:The legendary shield of Ereinion Gil-galad, who fought his way to the 515 538 D:gates of the Dark Tower, and with whom came light even to Gorgoroth. … … 655 678 F:INT | WIS | SEARCH | HIDE_TYPE | 656 679 F:RES_BLIND | RES_CONFU | SEE_INVIS | ACTIVATE 657 A:DETECT:55:55 680 A:DETECT_ALL:55+d55 681 M:Holhenneth forms an image in your mind... 658 682 D:A famous helm of forged iron granting extraordinary powers of mind and 659 683 D:awareness. … … 683 707 F:RES_CONFU | RES_SOUND | RES_CHAOS | 684 708 F:LITE | SEE_INVIS | REGEN | ACTIVATE 685 A:HEAL1:250:0 709 A:HEAL1:250 710 M:Your feel a warm tingling inside... 686 711 D:The shining winged circlet brought by Elendil from dying Numenor, emblem of 687 712 D:Gondor through an age of the world. … … 699 724 F:RES_SHARD | RES_SOUND | RES_COLD | 700 725 F:RES_LITE | RES_DARK | RES_BLIND | LITE 701 # A:ANALYZE:50 :0726 # A:ANALYZE:50 702 727 D:A crown of massive gold, set with wondrous jewels of thought and warding, 703 728 D:worn by the kings of ancient Numenor. … … 713 738 P:1:0d0:0:0:15 714 739 F:RES_ACID | RES_ELEC | RES_FIRE | RES_COLD | RES_POIS | ACTIVATE 715 A:RESIST:111:0 740 A:RESIST_ALL:111 741 M:Colluin glows many colours... 716 742 D:A cape worn by a hero from Valinor, a land utterly beyond the strife 717 743 D:of Elements. … … 726 752 F:INT | WIS | SPEED | STEALTH | HIDE_TYPE | 727 753 F:RES_ACID | ACTIVATE 728 A:SLEEP:55:0 754 A:SLEEPII:55 755 M:Holcolleth glows deep blue... 729 756 D:This elven-grey mantle possesses great powers of tranquility and of 730 757 D:concealment, and grants the wearer the knowledge and understanding of … … 740 767 F:DEX | CHR | HIDE_TYPE | 741 768 F:FREE_ACT | RES_ACID | RES_FIRE | RES_COLD | ACTIVATE 742 A:RECHARGE1:70:0 769 A:RECHARGE:70 770 M:Your Cloak glows bright yellow... 743 771 D:A cloak of translucent, pearly grey, with glowing elven-runes to restore 744 772 D:magic showing calm and clear as moonlight on still water. … … 764 792 F:STEALTH | SPEED | HIDE_TYPE | 765 793 F:RES_NEXUS | ACTIVATE 766 A:TELEPORT:45:0 794 A:TELE_LONG:45 795 M:Your Cloak twists space around you. 767 796 D:A crystal-blue cape of fine silk worn by a silent messenger of the forces 768 797 D:of Law. Seldom will the wearer be diverted from his mission. … … 777 806 F:INT | WIS | CHR | SPEED | STEALTH | HIDE_TYPE | 778 807 F:RES_ACID | RES_FIRE | RES_COLD | ACTIVATE 779 A:RESTORE_LIFE:250:0 808 A:RESTORE_LIFE:250 809 M:Your Cloak glows a deep red... 780 810 D:The opaque midnight folds of this cloak, inset with a multitude of tiny 781 811 D:diamonds, swirl around you and you feel a hint, a fragment of the … … 807 837 F:INT | FREE_ACT | FEATHER | RES_ELEC | RES_DARK | RES_POIS | AGGRAVATE 808 838 F:ACTIVATE 809 A:MANA_BOLT:30:30 839 A:MANA_BOLT:30+d30 840 M:Your Gauntlets glow white... 810 841 D:The iron-shod gauntlets of the Dark Elven smith Eol, tingling with magics 811 842 D:that he could channel in battle. … … 830 861 P:1:0d0:0:0:10 831 862 F:FREE_ACT | RES_LITE | SUST_CON | LITE | ACTIVATE 832 A:MISSILE:2:0 863 A:MISSILE:2 864 M:Cammithrim glows very brightly... 833 865 D:These gloves glow so brightly as to light the way for the player and cast 834 866 D:magical bolts with great frequency. … … 842 874 P:2:1d1:0:0:15 843 875 F:RES_FIRE | REGEN | ACTIVATE 844 A:FIRE1:8:8 876 A:FIRE1:8+d8 877 M:Your Gauntlets are covered in fire... 845 878 D:A set of gauntlets that smoulder with an unnatural heat. 846 879 … … 853 886 P:2:1d1:0:0:15 854 887 F:RES_COLD | SLOW_DIGEST | ACTIVATE 855 A:FROST1:7:7 888 A:FROST1:7+d7 889 M:Your Gauntlets are covered in frost... 856 890 D:A set of handgear, freezing with unnatural cold. 857 891 … … 864 898 P:2:1d1:0:0:15 865 899 F:RES_ELEC | LITE | ACTIVATE 866 A:LIGHTNING_BOLT:6:6 900 A:LIGHTNING_BOLT:6+d6 901 M:Your Gauntlets are covered in sparks... 867 902 D:A set of handgear with sparks that crackle across its knuckleguards. 868 903 … … 875 910 P:2:1d1:0:0:15 876 911 F:RES_ACID | FEATHER | ACTIVATE 877 A:ACID1:5:5 912 A:ACID1:5+d5 913 M:Your Gauntlets are covered in acid... 878 914 D:A set of gauntlets that gives off a foul, acrid odour yet remains untarnished. 879 915 … … 900 936 F:DEX | HIDE_TYPE | 901 937 F:FREE_ACT | RES_ACID | ACTIVATE | SHOW_MODS 902 A:ARROW:30:30 938 A:ARROW:30+d30 939 M:Your Cesti grow magical spikes... 903 940 D:The hand-sheathing of Fingolfin, warrior-king of Elves and Men, who dealt 904 941 D:Morgoth seven mighty wounds and pain that will last forever. … … 915 952 F:SPEED | HIDE_TYPE | 916 953 F:RES_NEXUS | ACTIVATE 917 A:HASTE1:200:0 954 A:HASTE1:200 955 M:Your Hard Leather Boots glow bright green... 918 956 D:This wondrous pair of leather boots once sped Feanor, creator of the 919 957 D:Silmarils and the mightiest of the Eldar, to fulfill his hero's challenge … … 932 970 F:ACTIVATE | FREE_ACT | 933 971 F:RES_NETHR | RES_CHAOS | RES_CONFU | SUST_CON 934 A:REM_FEAR_POIS:5:0 972 A:REM_FEAR_POIS:5 973 M:Your Soft Leather Boots glow deep blue... 935 974 D:A pair of high-laced shoes, strong against the powers of corruption and 936 975 D:withering, that grant the wearer extraordinary agility. … … 956 995 F:INT | DEX | STEALTH | SPEED | FEATHER | LIGHT_CURSE | HIDE_TYPE 957 996 F:ACTIVATE 958 A:PHASE:20:0 997 A:TELE_PHASE:20 998 M:Your Boots twist space around you. 959 999 D:A pair of running shoes once used by the treacherous Grima son of 960 1000 D:Galmod, the Wormtongue of Edoras. They are aptly suited for a … … 1000 1040 P:0:2d4:4:6:0 1001 1041 F:BRAND_FIRE | RES_FIRE | ACTIVATE | SHOW_MODS 1002 A:FIRE1:8:8 1042 A:FIRE1:8+d8 1043 M:Narthanc is covered in fire... 1003 1044 D:A flame, instead of a blade, seems to spring forth from this dagger's hilt. 1004 1045 … … 1011 1052 P:0:2d4:4:6:0 1012 1053 F:BRAND_COLD | RES_COLD | ACTIVATE | SHOW_MODS 1013 A:FROST1:7:7 1054 A:FROST1:7+d8 1055 M:Nimthanc is covered in frost... 1014 1056 D:From the hilt of this dagger springs not so much a blade as an icicle. 1015 1057 … … 1022 1064 P:0:2d4:4:6:0 1023 1065 F:BRAND_ELEC | RES_ELEC | ACTIVATE | SHOW_MODS 1024 A:LIGHTNING_BOLT:6:6 1066 A:LIGHTNING_BOLT:6+d6 1067 M:Dethanc is covered in sparks... 1025 1068 D:In this dagger is bound the very force of the lightning. 1026 1069 … … 1033 1076 P:0:2d4:4:3:0 1034 1077 F:SLAY_ORC | BRAND_POIS | RES_POIS | RES_DISEN | ACTIVATE | SHOW_MODS 1035 A:STINKING_CLOUD:4:4 1078 A:STINKING_CLOUD:4+d4 1079 M:The Dagger of Rilia throws deep green... 1036 1080 D:A large stiletto dagger that glistens with odorless poison, to which the 1037 1081 D:wearer seems oddly immune. … … 1047 1091 F:BRAND_COLD | RES_COLD | SEE_INVIS | SLOW_DIGEST | REGEN | ACTIVATE | 1048 1092 F:SHOW_MODS 1049 A:FROST2:5:5 1093 A:FROST2:5+d5 1094 M:Your Dagger is covered in frost... 1050 1095 D:A frosty dagger wreathed in a nimbus of ice with a hilt of elk horn and 1051 1096 D:an edge to wound the wind. … … 1076 1121 F:SLAY_DEMON | SLAY_ORC | FREE_ACT | RES_COLD | FEATHER | 1077 1122 F:SLOW_DIGEST | ACTIVATE | SHOW_MODS 1078 A:FROST4:50:0 1123 A:FROST4:50 1124 M:Arunuth glows a pale blue... 1079 1125 D:The beautiful sword of Thingol, justly named "King's Ire". It glistens 1080 1126 D:icy enough to freeze the hearts of demons, and you feel supple and … … 1217 1263 F:FREE_ACT | RES_COLD | RES_LITE | LITE | SEE_INVIS | SLOW_DIGEST | REGEN | 1218 1264 F:ACTIVATE | SHOW_MODS 1219 A:FROST3:40:0 1265 A:FROST3:40 1266 M:Ringil glows an intense blue... 1220 1267 D:The weapon of Fingolfin, High King of the Noldor; it shines like a column 1221 1268 D:of ice lit by light unquenchable. Morgoth came but unwillingly to meet it … … 1233 1280 F:RES_FIRE | RES_DISEN | 1234 1281 F:SUST_STR | SUST_DEX | SEE_INVIS | ACTIVATE | SHOW_MODS 1235 A:FIRE2:40:0 1282 A:FIRE2:40 1283 M:Anduril rages in fire... 1236 1284 D:The famed "Flame of the West", the Sword that was Broken and is forged 1237 1285 D:again. It glows with the essence of fire, its wearer is mighty in combat, … … 1366 1414 F:WIS | CON | HIDE_TYPE | 1367 1415 F:SLAY_DRAGON | TELEPATHY | SLOW_DIGEST | ACTIVATE | SHOW_MODS 1368 A:DRAIN_LIFE2:40:0 1416 A:DRAIN_LIFE2:40 1417 M:Your Beaked Axe glows black... 1369 1418 D:The narrow axe head of this weapon would pierce the armour of a very 1370 1419 D:Dragon, and the designs of your enemies stand naked and revealed. … … 1418 1467 F:BRAND_COLD | RES_COLD | SLAY_EVIL | SLAY_TROLL | SLAY_ORC | KILL_UNDEAD | 1419 1468 F:FREE_ACT | SLOW_DIGEST | ACTIVATE | BLESSED | SHOW_MODS 1420 A:FROST3:35:0 1469 A:FROST3:35 1470 M:Aeglos glows an intense blue... 1421 1471 D:The mighty spear of Gil-galad, famed as "Snow-point" in the songs of Elves, 1422 1472 D:against which all the foul corruptions of Sauron dashed in vain. … … 1433 1483 F:BRAND_FIRE | SLAY_GIANT | SLAY_ANIMAL | RES_FIRE | RES_LITE | 1434 1484 F:FEATHER | LITE | SEE_INVIS | ACTIVATE | BLESSED | SHOW_MODS 1435 A:STONE_TO_MUD:5:0 1485 A:STONE_TO_MUD:5 1486 M:Your Spear pulsates... 1436 1487 D:The thrusting spear of wise Orome the Vala, strong against giants of frost, 1437 1488 D:and able to pierce rock or flesh with ease. … … 1491 1542 F:SEE_INVIS | ACTIVATE | 1492 1543 F:BLESSED | SHOW_MODS 1493 A:MASS_BANISHMENT:1000:0 1544 A:LOSKILL:1000 1545 M:Your Greate Axe lets out a long, shrill note... 1494 1546 D:The axe of Eonwe, leader of the Hosts of the West before the gates of 1495 1547 D:Thangorodrim, strikes with icy wrath at the undead, disperses hosts of … … 1520 1572 F:STR | DEX | HIDE_TYPE | 1521 1573 F:SLAY_TROLL | SLAY_ORC | ACTIVATE | SHOW_MODS 1522 A:CURE_WOUNDS:3:3 1574 A:CW_SERIOUS:3+d3 1575 M:Your Battle Axe radiates deep purple... 1523 1576 D:A superbly crafted double-bladed axe once borne by Ceruthain, commander 1524 1577 D:of the Rangers of Arnor. … … 1576 1629 F:SEE_INVIS | SLOW_DIGEST | REGEN | ACTIVATE | 1577 1630 F:BLESSED | SHOW_MODS 1578 A:TELE_AWAY:50:0 1631 A:TELE_AWAY:50 1632 M:Your Trident glows deep red... 1579 1633 D:The awesome weapon of the Vala Ulmo, Lord of Waters. Mightest of all the 1580 1634 D:powers of good save Manwe himself, Ulmo laughs to scorn the dread powers … … 1591 1645 F:BRAND_COLD | BRAND_FIRE | FREE_ACT | RES_FIRE | RES_COLD | 1592 1646 F:RES_LITE | LITE | SEE_INVIS | ACTIVATE | SHOW_MODS 1593 A:WOR:200:0 1647 A:RECALL:200 1648 M:Avavir pulses a soft white. 1594 1649 D:Binding elemental powers whose struggles turn this weapon red and purest 1595 1650 D:white, this shining reaper bears within it a power of going forth and … … 1608 1663 F:BRAND_ACID | RES_ACID | RES_DARK | RES_FIRE | LITE | 1609 1664 F:SLAY_DRAGON | SLAY_TROLL | SHOW_MODS 1610 A:BERSERKER:80:80 1665 A:BERSERKER:80+d80 1666 M:The Beaked Axe of Hurin glows in anger! 1611 1667 D:Wielded by Hurin Thalion, last lord of Dor-Lomin at the Battle 1612 1668 D:of Tears Unnumbered. He stood alone, his friends and kinsmen … … 1641 1697 F:SLAY_EVIL | BRAND_FIRE | RES_FIRE | RES_CONFU | ACTIVATE | 1642 1698 F:SHOW_MODS 1643 A:CONFUSE:15:0 1699 A:CONFUSE2:15 1700 M:Tolita glows in scintillating colours... 1644 1701 D:A flail whose head befuddles those who stare as you whirl it round, and 1645 1702 D:becomes a fiery comet as you bring it down. … … 1680 1737 P:0:2d6:5:7:2 1681 1738 F:BRAND_FIRE | RES_FIRE | ACTIVATE | SHOW_MODS 1682 A:FIRE2:20:0 1683 D:A famed battle-lord of old with a ruddy head, coloured as embers are that 1684 D:can yet rise up in wrath. 1739 A:FIRE2:20 1740 M:Firestar rages in fire... 1741 D:A famed battle-lord of old with a ruddy head, coloured as embers are that 1742 D: can yet rise up in wrath. 1685 1743 1686 1744 … … 1693 1751 F:KILL_DRAGON | BRAND_ELEC | IM_ELEC | RES_ELEC | 1694 1752 F:ACTIVATE | SHOW_MODS 1695 A:HASTE1:100:100 1753 A:HASTE1:100+d100 1754 M:Taratol glows bright green... 1696 1755 D:A great ridged mace that surrounds you in a nimbus of living lightning; 1697 1756 D:you remain utterly untouched, even as fat sparks crackle around your … … 1735 1794 F:INT | WIS | HIDE_TYPE | 1736 1795 F:SLAY_EVIL | RES_LITE | LITE | SEE_INVIS | ACTIVATE | SHOW_MODS 1737 A:IDENTIFY:10:0 1796 A:IDENTIFY:10 1797 M:Your Quarterstaff glows yellow... 1738 1798 D:The radiant golden staff of an Istar of legend; this wizard's companion 1739 1799 D:grants keen sight and clear knowledge of many hidden things. … … 1749 1809 F:SLAY_EVIL | BRAND_FIRE | SLAY_TROLL | SLAY_ORC | 1750 1810 F:HOLD_LIFE | RES_FIRE | RES_NETHR | SEE_INVIS | ACTIVATE | SHOW_MODS 1751 A:PROBE:20:0 1811 A:PROBE:20 1812 M:The Quarterstaff of Olorin glows brightly... 1752 1813 D:A staff tall and sturdy, borne of old by Gandalf. Rough-hewn runes that 1753 1814 D:invoke the element of Earth stand bold upon its gnarled surface, and no … … 1783 1844 F:BRAND_COLD | SLAY_ORC | RES_COLD | RES_LITE | LITE | REGEN | 1784 1845 F:ACTIVATE | SHOW_MODS 1785 A:DRAIN_LIFE1:40:0 1846 A:DRAIN_LIFE1:40 1847 M:Turmil glows white... 1786 1848 D:Wielded by the High Priest of Meneltarma, this great mace gleams coldly as 1787 1849 D:though moonlit, and it can strike as mighty a blow spiritually as … … 1801 1863 F:SLAY_ANIMAL | KILL_DRAGON | SLAY_TROLL | SLAY_GIANT | 1802 1864 F:ACTIVATE | SHOW_MODS 1803 A:FIRE3:15:0 1865 A:FIRE3:15 1866 M:The whip glows deep red... 1804 1867 D:A great crackling Balrog's whip of flame, this weapon could bring 1805 1868 D:even Ungoliant to heel. … … 1840 1903 F:SPEED | HIDE_TYPE | 1841 1904 F:RES_FIRE | ACTIVATE | SHOW_MODS 1842 A:FIREBRAND:999:0 1905 A:FIREBRAND:999 1906 M:Cubragol glows a deep red... 1843 1907 D:A crossbow that grants fiery speed to he who finds it, and from which 1844 1908 D:shoot bolts that blaze with flame unquenchable. … … 1854 1918 F:RES_LITE | RES_DARK | RES_BLIND | RES_ELEC | 1855 1919 F:HIDE_TYPE | ACTIVATE | SHOW_MODS 1856 A:ARROW:20:20 1920 A:ARROW:20+d20 1921 M:Your Heavy Crossbow forms a magical arrow... 1857 1922 D:A great brazen arbalest with arms of gleaming steel shooting quarrels with 1858 1923 D:mighty power for those brave enough to risk betrayal. … … 1897 1962 F:RES_DARK | RES_DISEN | 1898 1963 F:ACTIVATE | 1899 A:STONE_TO_MUD:2:0 1964 A:STONE_TO_MUD:2 1965 M:Your Spear pulsates... 1900 1966 D:A mighty Dwarven mattock, as good for hewing orc-necks as for hewing 1901 1967 D:stone. Nain, King of the Iron Hills, brought his mattock-wielding … … 1929 1995 F:RES_FIRE | RES_ELEC | RES_NETHR | HOLD_LIFE | 1930 1996 F:ACTIVATE 1931 A:DISP_EVIL:100:100 1997 A:DISP_EVIL:100+d100 1998 M:The Ball-and-Chain floods the area will goodness... 1932 1999 D:The weapon of a mighty dwarven priest, whose shade is rumoured to 1933 2000 D:still haunt the halls of Angband itself. … … 1956 2023 F:STR | CON | SUST_STR | SUST_CON | HIDE_TYPE | 1957 2024 F:RES_FEAR | RES_BLIND | RES_POIS | AGGRAVATE 1958 A:BERSERKER:50:0 2025 A:BERSERKER:50 2026 M:Your Large Leather Shield glows in anger! 1959 2027 D:The painted shield of a chieftain of Far Harad, gaudy and barbaric. 1960 2028 D:Its wielder will fear nothing and fight with unnatural strength, but trunk/lib/edit/object.txt
r319 r320 21 21 # C: charges 22 22 # M: chance of being generated in a pile : dice for number of items 23 # E: effect when used : recharge time (if applicable) 23 24 # F: flag | flag | etc 24 25 # D: description … … 1244 1245 F:RES_FIRE | IGNORE_FIRE | 1245 1246 F:ACTIVATE 1246 E:RING_FLAMES 1247 E:RING_FLAMES:50+d50 1247 1248 1248 1249 N:147:Acid … … 1254 1255 F:RES_ACID | IGNORE_ACID | 1255 1256 F:ACTIVATE 1256 E:RING_ACID 1257 E:RING_ACID:50+d50 1257 1258 1258 1259 N:148:Ice … … 1264 1265 F:RES_COLD | IGNORE_COLD | 1265 1266 F:ACTIVATE 1266 E:RING_ICE 1267 E:RING_ICE:50+d50 1267 1268 1268 1269 N:149:Woe … … 3809 3810 A:50/2 3810 3811 F:RES_ELEC | IGNORE_ELEC | ACTIVATE 3811 E:RING_LIGHTNING 3812 E:RING_LIGHTNING:50+d50 3812 3813 3813 3814 ### Items 432-436 unused ### trunk/src/cmd6.c
r316 r320 119 119 case TV_WAND: msg = "use the wand"; what = "wand"; break; 120 120 case TV_STAFF: msg = "use the staff"; what = "staff"; break; 121 default: msg = "activ e it";break;121 default: msg = "activatee it"; break; 122 122 } 123 123 … … 264 264 floor_item_charges(0 - item); 265 265 } 266 else if (use == USE_TIMEOUT && o_ptr->tval == TV_ROD) 267 { 268 const object_kind *k_ptr = &k_info[o_ptr->k_idx]; 269 270 /* Drain the charge */ 271 o_ptr->timeout += k_ptr->pval; 266 else if (use == USE_TIMEOUT) 267 { 268 /* Artifacts use their own special field */ 269 if (o_ptr->name1) 270 { 271 const artifact_type *a_ptr = &a_info[o_ptr->name1]; 272 o_ptr->timeout = a_ptr->time_base + damroll(a_ptr->time_dice, a_ptr->time_sides); 273 } 274 else 275 { 276 const object_kind *k_ptr = &k_info[o_ptr->k_idx]; 277 o_ptr->timeout = k_ptr->time_base + damroll(k_ptr->time_dice, k_ptr->time_sides); 278 } 272 279 } 273 280 else if (use == USE_SINGLE) trunk/src/defines.h
r308 r320 59 59 * Version of random artifact code. 60 60 */ 61 #define RANDART_VERSION 6 261 #define RANDART_VERSION 63 62 62 63 63 trunk/src/effects.c
r319 r320 69 69 int px = p_ptr->px; 70 70 71 if (o_ptr->name1) 72 effect = a_info[o_ptr->name1].effect; 73 71 74 switch (effect) 72 75 { … … 203 206 { 204 207 if (hp_player(damroll(4, 8))) *ident = TRUE; 208 if (set_timed(TMD_CUT, (p_ptr->timed[TMD_CUT] / 2) - 50)) *ident = TRUE; 205 209 return TRUE; 206 210 } … … 530 534 } 531 535 536 case EF_ILLUMINATION: 537 { 538 if (lite_area(damroll(2, 15), 3)) *ident = TRUE; 539 return TRUE; 540 } 541 542 case EF_CLAIRVOYANCE: 543 { 544 *ident = TRUE; 545 wiz_lite(); 546 (void)detect_traps(); 547 (void)detect_doors(); 548 (void)detect_stairs(); 549 return TRUE; 550 } 551 552 case EF_DISP_EVIL: 553 { 554 *ident = TRUE; 555 dispel_evil(p_ptr->lev * 5); 556 return TRUE; 557 } 558 559 case EF_HASTE2: 560 { 561 *ident = TRUE; 562 if (!p_ptr->timed[TMD_FAST]) 563 (void)set_timed(TMD_FAST, randint(75) + 75); 564 else 565 (void)inc_timed(TMD_FAST, 5); 566 return TRUE; 567 } 568 569 case EF_FIRE3: 570 { 571 *ident = TRUE; 572 fire_ball(GF_FIRE, dir, 120, 3); 573 return TRUE; 574 } 575 576 case EF_FROST5: 577 { 578 *ident = TRUE; 579 fire_ball(GF_COLD, dir, 200, 3); 580 return TRUE; 581 } 582 583 case EF_ELEC2: 584 { 585 *ident = TRUE; 586 fire_ball(GF_ELEC, dir, 250, 3); 587 return TRUE; 588 } 589 590 case EF_BIZARRE: 591 { 592 *ident = TRUE; 593 ring_of_power(dir); 594 return TRUE; 595 } 596 597 598 case EF_STAR_BALL: 599 { 600 int i; 601 *ident = TRUE; 602 for (i = 0; i < 8; i++) fire_ball(GF_ELEC, ddd[i], 150, 3); 603 return TRUE; 604 } 605 606 case EF_RAGE_BLESS_RESIST: 607 { 608 *ident = TRUE; 609 (void)hp_player(30); 610 (void)clear_timed(TMD_AFRAID); 611 (void)inc_timed(TMD_SHERO, randint(50) + 50); 612 (void)inc_timed(TMD_BLESSED, randint(50) + 50); 613 (void)inc_timed(TMD_OPP_ACID, randint(50) + 50); 614 (void)inc_timed(TMD_OPP_ELEC, randint(50) + 50); 615 (void)inc_timed(TMD_OPP_FIRE, randint(50) + 50); 616 (void)inc_timed(TMD_OPP_COLD, randint(50) + 50); 617 (void)inc_timed(TMD_OPP_POIS, randint(50) + 50); 618 return TRUE; 619 } 620 621 case EF_HEAL2: 622 { 623 *ident = TRUE; 624 (void)hp_player(1000); 625 (void)clear_timed(TMD_CUT); 626 return TRUE; 627 } 628 629 case EF_DETECT_ALL: 630 { 631 *ident = TRUE; 632 detect_all(); 633 return TRUE; 634 } 635 636 case EF_HEAL1: 637 { 638 *ident = TRUE; 639 (void)hp_player(500); 640 (void)clear_timed(TMD_CUT); 641 return TRUE; 642 } 643 644 case EF_RESIST_ALL: 645 { 646 if (inc_timed(TMD_OPP_ACID, randint(20) + 20)) *ident = TRUE; 647 if (inc_timed(TMD_OPP_ELEC, randint(20) + 20)) *ident = TRUE; 648 if (inc_timed(TMD_OPP_FIRE, randint(20) + 20)) *ident = TRUE; 649 if (inc_timed(TMD_OPP_COLD, randint(20) + 20)) *ident = TRUE; 650 if (inc_timed(TMD_OPP_POIS, randint(20) + 20)) *ident = TRUE; 651 return TRUE; 652 } 653 654 case EF_SLEEPII: 655 { 656 *ident = TRUE; 657 sleep_monsters_touch(); 658 return TRUE; 659 } 660 661 case EF_RESTORE_LIFE: 662 { 663 *ident = TRUE; 664 restore_level(); 665 return TRUE; 666 } 667 668 case EF_MISSILE: 669 { 670 *ident = TRUE; 671 fire_bolt(GF_MISSILE, dir, damroll(2, 6)); 672 return TRUE; 673 } 674 675 case EF_FIRE1: 676 { 677 *ident = TRUE; 678 fire_bolt(GF_FIRE, dir, damroll(9, 8)); 679 return TRUE; 680 } 681 682 case EF_FROST1: 683 { 684 *ident = TRUE; 685 fire_bolt(GF_COLD, dir, damroll(6, 8)); 686 return TRUE; 687 } 688 689 case EF_LIGHTNING_BOLT: 690 { 691 *ident = TRUE; 692 fire_bolt(GF_ELEC, dir, damroll(4, 8)); 693 return TRUE; 694 } 695 696 case EF_ACID1: 697 { 698 *ident = TRUE; 699 fire_bolt(GF_ACID, dir, damroll(5, 8)); 700 return TRUE; 701 } 702 703 case EF_ARROW: 704 { 705 *ident = TRUE; 706 fire_bolt(GF_ARROW, dir, 150); 707 return TRUE; 708 } 709 710 case EF_HASTE1: 711 { 712 *ident = TRUE; 713 if (!p_ptr->timed[TMD_FAST]) 714 (void)set_timed(TMD_FAST, randint(20) + 20); 715 else 716 (void)inc_timed(TMD_FAST, 5); 717 return TRUE; 718 } 719 720 case EF_REM_FEAR_POIS: 721 { 722 *ident = TRUE; 723 (void)clear_timed(TMD_AFRAID); 724 (void)clear_timed(TMD_POISONED); 725 return TRUE; 726 } 727 728 case EF_STINKING_CLOUD: 729 { 730 *ident = TRUE; 731 fire_ball(GF_POIS, dir, 12, 3); 732 return TRUE; 733 } 734 735 case EF_FROST2: 736 { 737 *ident = TRUE; 738 fire_ball(GF_COLD, dir, 48, 2); 739 return TRUE; 740 } 741 742 case EF_FROST4: 743 { 744 *ident = TRUE; 745 fire_bolt(GF_COLD, dir, damroll(12, 8)); 746 return TRUE; 747 } 748 749 case EF_FROST3: 750 { 751 *ident = TRUE; 752 fire_ball(GF_COLD, dir, 100, 2); 753 return TRUE; 754 } 755 756 case EF_FIRE2: 757 { 758 *ident = TRUE; 759 fire_ball(GF_FIRE, dir, 72, 2); 760 return TRUE; 761 } 762 763 case EF_DRAIN_LIFE2: 764 { 765 *ident = TRUE; 766 drain_life(dir, 120); 767 return TRUE; 768 } 769 770 case EF_STONE_TO_MUD: 771 { 772 *ident = TRUE; 773 wall_to_mud(dir); 774 return TRUE; 775 } 776 777 case EF_TELE_AWAY: 778 { 779 *ident = TRUE; 780 teleport_monster(dir); 781 return TRUE; 782 } 783 784 case EF_CONFUSE2: 785 { 786 *ident = TRUE; 787 confuse_monster(dir, 20); 788 return TRUE; 789 } 790 791 case EF_PROBE: 792 { 793 *ident = TRUE; 794 probing(); 795 return TRUE; 796 } 797 798 case EF_DRAIN_LIFE1: 799 { 800 *ident = TRUE; 801 drain_life(dir, 90); 802 return TRUE; 803 } 804 805 case EF_FIREBRAND: 806 { 807 *ident = TRUE; 808 if (!brand_bolts()) return FALSE; 809 return TRUE; 810 } 811 812 case EF_STARLIGHT: 813 { 814 int k; 815 for (k = 0; k < 8; k++) strong_lite_line(ddd[k]); 816 *ident = TRUE; 817 return TRUE; 818 } 819 820 case EF_MANA_BOLT: 821 { 822 fire_bolt(GF_MANA, dir, damroll(12, 8)); 823 *ident = TRUE; 824 return TRUE; 825 } 826 827 case EF_BERSERKER: 828 { 829 if (inc_timed(TMD_SHERO, randint(50) + 50)) *ident = TRUE; 830 return TRUE; 831 } 532 832 533 833 … … 550 850 case EF_RING_ACID: 551 851 { 852 *ident = TRUE; 552 853
