From d54cf73f7ca82bdfd4949d7987e90fa14c23833b Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 31 Jan 2009 11:20:59 -0700 Subject: Add functionality for healer XP handling --- doc/spell-language | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/spell-language') 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: -- cgit v1.2.3-60-g2f50