Prog Appendix 5

From Immwiki
Revision as of 19:54, 7 August 2004 by 24.43.226.xxx (Talk) (Added Nightfears)

Jump to: navigation, search

Appendix 5: Addaffect Notes

In this section we will specify the proper bitvectors to use for addaffects that are not straightforward in nature, usually because of some code trickery done by Aeolis.

99. 'nightfears': In order to properly put the nightfears affect on a player, the "modifier" field of the affect must start out as either "100", "200", or "300", depending on which nightmare they are to have. As well, if you want nightfears to keep them asleep, you will also need to manually add a second affect with the AFF_SLEEP bit set, but that one must have the modifier of 0.