summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
commitd54cf73f7ca82bdfd4949d7987e90fa14c23833b (patch)
treea7b392b3e57b73122054bc53ff773a8b35bb142e /doc
parent997bac8c9963354d53d467208e09c24d57055c1d (diff)
downloadtmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.gz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.bz2
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.xz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.zip
Add functionality for healer XP handling
Diffstat (limited to 'doc')
-rw-r--r--doc/spell-language12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/spell-language b/doc/spell-language
index 0d00e9f..ff13c1d 100644
--- a/doc/spell-language
+++ b/doc/spell-language
@@ -555,6 +555,11 @@ The following functions are available:
+ is_dead : entity -> bool
Determines whether the specified entity is no longer alive.
+ + extract_healer_experience : entity -> int
+ Extracts `healer experience points' from the specified entity.
+ Non-PCs always have an empty pool of healer exprerience points.
+ PCs gain such experience points by killing/completing quests,
+ though this `healer experience point pool' slowly drains itself.
Operations:
-----------
@@ -701,6 +706,13 @@ This section documents the operations API.
can only be picked up by `owner' for the next `delay'
milliseconds, modulo pickup rules (spousal pickup, out-of-range).
+ + gain_experience : entity * int * int * int -> ()
+ gain_experience(player, base_xp, job_xp, reason) gives expereince
+ points to `player'. If reason is 0, they are handed out normally,
+ but if reason is 1, then those experience points are NOT added to
+ the pool of experience points that healers can draw from `player'.
+
+
Script API updates:
-------------------
Two new script API functions are available: