Changeset 979
- Timestamp:
- 07/05/08 11:20:34 (2 months ago)
- Files:
-
- trunk/lib/edit/object.txt (modified) (1 diff)
- trunk/src/defines.h (modified) (1 diff)
- trunk/src/effects.c (modified) (2 diffs)
- trunk/src/list-effects.h (modified) (2 diffs)
- trunk/src/obj-make.c (modified) (1 diff)
- trunk/src/xtra1.c (modified) (1 diff)
- trunk/src/xtra2.c (modified) (2 diffs)
- trunk/src/xtra3.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/edit/object.txt
r967 r979 2358 2358 E:DRINK_SALT 2359 2359 2360 2361 ### Weird one ### 2362 2363 N:363:Dragon Breath 2364 G:!:d 2365 I:75:58:0 2366 W:0:0:4:0 2367 M:100:1d2 2368 A:10:40 to 100 2369 F:EASY_KNOW 2370 E:DRINK_BREATH 2360 2371 2361 2372 trunk/src/defines.h
r969 r979 441 441 TMD_SINFRA, TMD_OPP_ACID, TMD_OPP_ELEC, TMD_OPP_FIRE, TMD_OPP_COLD, 442 442 TMD_OPP_POIS, TMD_OPP_CONF, TMD_AMNESIA, TMD_TELEPATHY, TMD_STONESKIN, 443 TMD_TERROR, 443 TMD_TERROR, TMD_SPRINT, 444 444 445 445 TMD_MAX trunk/src/effects.c
r953 r979 1552 1552 } 1553 1553 1554 case EF_DRINK_BREATH E:1554 case EF_DRINK_BREATH: 1555 1555 { 1556 1556 const int breath_types[] = … … 1674 1674 } 1675 1675 1676 #if 01677 1676 case EF_SHROOM_SPRINTING: 1678 1677 { 1679 /* 1680 +10 speed boost. 1681 if player already fast, double current duration and add bad effect 1682 otherwise 2*!Speed duration, then bad effect 1683 */ 1684 return TRUE; 1685 } 1686 #endif 1678 if (inc_timed(TMD_SPRINT, 100)) *ident = TRUE; 1679 return TRUE; 1680 } 1687 1681 1688 1682 case EF_SHROOM_PURGING: trunk/src/list-effects.h
r953 r979 209 209 210 210 EFFECT(WONDER, TRUE, "creates random and unpredictable effects") 211 EFFECT(MUTATIONS, TRUE, "swaps your stats around randomly")212 211 213 212 EFFECT(WAND_BREATH, TRUE, "shoots a large ball of one of the base elements for 120-200 damage") … … 215 214 EFFECT(STAFF_HOLY, FALSE, "inflicts damage on evil creatures you can see, cures 50 hit points, heals all temporary effects and grants you protection from evil") 216 215 EFFECT(DRINK_GOOD, FALSE, NULL) 217 EFFECT(DRINK_BREATH E,TRUE, "causes you to breathe either cold or flames for 80 damage")216 EFFECT(DRINK_BREATH, TRUE, "causes you to breathe either cold or flames for 80 damage") 218 217 EFFECT(DRINK_SALT, FALSE, "induces vomiting and paralysis for 4 turns, resulting in severe hunger but also curing poison") 219 218 EFFECT(DRINK_DEATH, FALSE, "inflicts 5000 points of damage") trunk/src/obj-make.c
r938 r979 1370 1370 bool make_object(object_type *j_ptr, int lev, bool good, bool great) 1371 1371 { 1372 int k_idx, i; 1372 int k_idx = 0; 1373 int i; 1373 1374 int tries = 1; 1374 1375 trunk/src/xtra1.c
r930 r979 1133 1133 1134 1134 /* Temporary "fast" */ 1135 if (p_ptr->timed[TMD_FAST] )1135 if (p_ptr->timed[TMD_FAST] || p_ptr->timed[TMD_SPRINT]) 1136 1136 p_ptr->pspeed += 10; 1137 1137 trunk/src/xtra2.c
r942 r979 75 75 { "Your skin turns to stone.", "A fleshy shade returns to your skin.", 0, PU_BONUS, MSG_GENERIC }, 76 76 { "You feel the need to run away, and fast!", "The urge to run dissipates.", 0, PU_BONUS, MSG_AFRAID }, 77 { "You start sprinting.", "You suddenly stop sprinting.", 0, PU_BONUS, MSG_SPEED }, 77 78 }; 78 79 … … 118 119 message(MSG_RECOVER, 0, effect->on_end); 119 120 notice = TRUE; 120 } 121 } 121 122 if (idx == TMD_SPRINT) 123 inc_timed(TMD_SLOW, 100); 124 } 125 } 126 122 127 123 128 /* Use the value */ trunk/src/xtra3.c
r926 r979 655 655 { TMD_POISONED, S("Poisoned"), TERM_ORANGE }, 656 656 { TMD_PROTEVIL, S("ProtEvil"), TERM_L_GREEN }, 657 { TMD_SPRINT, S("Sprint"), TERM_L_GREEN }, 657 658 { TMD_TELEPATHY, S("ESP"), TERM_L_BLUE }, 658 659 { TMD_INVULN, S("Invuln"), TERM_L_GREEN },
