diff options
author | wushin <pasekei@gmail.com> | 2016-03-09 21:10:45 -0600 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-03-30 11:22:53 -0400 |
commit | aee89bdbe04ad0aed06622052244bf6b7d3c1d23 (patch) | |
tree | ce0b368cd6c6e2a92f9e0e8baaf7af0ab6f63a3d /world/map/npc/doc | |
parent | 778cd71d3933ac6172b09654fdf2b4b317d18398 (diff) | |
download | serverdata-aee89bdbe04ad0aed06622052244bf6b7d3c1d23.tar.gz serverdata-aee89bdbe04ad0aed06622052244bf6b7d3c1d23.tar.bz2 serverdata-aee89bdbe04ad0aed06622052244bf6b7d3c1d23.tar.xz serverdata-aee89bdbe04ad0aed06622052244bf6b7d3c1d23.zip |
Fix invocations
Diffstat (limited to 'world/map/npc/doc')
-rw-r--r-- | world/map/npc/doc/magic | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/world/map/npc/doc/magic b/world/map/npc/doc/magic new file mode 100644 index 00000000..8a2b84e1 --- /dev/null +++ b/world/map/npc/doc/magic @@ -0,0 +1,23 @@ +Nibble use: +--------------- +== QUEST_MAGIC + N0, N1: Auldsbel + N2: druid tree quest, mouboo quest (shared) + N3: Sagatha unhappiness counter + N4, N5: Sagatha + N6, N7: Swords +== QUEST_MAGIC2 + N0: Evil Earth Spirit + N1: Elanore + N2: Wyara + N3: Elanore subquests (Cure Kadiya) + N4-N7: may be messy at this point + +The various magic scripts pack their status into these variables. +Locally, they use `@Q_status' to maintain the state, and use a function +`S_update_var' to update it. This is all re-using the same code, setting +the `@Q_MASK' and `@Q_SHIFT' variables appropriately. + + There are a few exceptions (such as the Kadiya quest) wherein +a separate helper function sets a dedicated local variable, or some hackery +in Auldsbel wherein we read stati directly, merely to enable certain options. |