Avendar:Prog Appendix 5

Revision as of 03:09, 19 January 2025 by Elanthe (talk | contribs) (Created page with "= 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. <b><i>99.</i> nightfears</b>: 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 asle...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.