… | |
… | |
462 | This field has some special meaning in potions, currently the |
462 | This field has some special meaning in potions, currently the |
463 | bits for AT_DEPLETE and AT_GODPOWER control whethere this is a |
463 | bits for AT_DEPLETE and AT_GODPOWER control whethere this is a |
464 | restoration potion or improvement potion. |
464 | restoration potion or improvement potion. |
465 | See include/attackinc.h for the bits of these types. |
465 | See include/attackinc.h for the bits of these types. |
466 | |
466 | |
467 | If AT_DEPLETE is set the player will be restored and the ARCH_DEPLETION |
467 | If AT_DEPLETE is set the player will be restored and the "depletion" |
468 | will be removed from him. If the potion has FLAG_CURSED or FLAG_DAMNED |
468 | will be removed from him. If the potion has FLAG_CURSED or FLAG_DAMNED |
469 | set the player will be drained a random stat by inserting an ARCH_DEPLETION |
469 | set the player will be drained a random stat by inserting an "depletion" |
470 | into him. |
470 | into him. |
471 | |
471 | |
472 | If AT_GODPOWER is enabled the player will gain +1 maxvalue in his hp, sp or grace stat. |
472 | If AT_GODPOWER is enabled the player will gain +1 maxvalue in his hp, sp or grace stat. |
473 | When the potion has FLAG_CURSED or FLAG_DAMNED set he will loose one in one of these stats. |
473 | When the potion has FLAG_CURSED or FLAG_DAMNED set he will loose one in one of these stats. |
474 | |
474 | |