[Crossfire-wiki] [Crossfire DokuWiki] page added: dev_todo:experience_rewarder

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Sep 17 19:24:56 CDT 2006


A page in your DokuWiki was added or changed. Here are the details:



Date        : 2006/09/17 19:24

User        : mwedel

Edit Summary: created



Add exp rewarder type object.  It's basic properties:

    1) amount of exp to reward the player (stats.exp)

    2) Skill to award the exp to (skill field)

    3) Flag to denote we should teach the player this skill if they don't

        have it (can_use_skill flag?)  In this way, rewarders could grant

        skills to the player.

    4) Different ways to be activated (walk on/fly on, as well as it being

        activated from something that 'pushes' it (aka, magic mouth, butto
n,

        etc)).  In the case of another object activating it, the player

        would still need to be on the space the object is on.

    5) Use the 'slaying' field to denote that if the player has a force in

        his inventory by the same name, he doesn't get the reward, and if

        they don't have such a force, we add one to the player (so you can
't

        get the same reward repeatedly).  Use something like 'value' or

        other field to denote how many ticks the force lasts for.  If valu
e

        is zero, then force never expires

    6) Use nrof to denote how many times the reward works.  Eg, if nrof

        is 1, then once a player uses it, no one else can get that reward

        until the map resets.





IP-Address  : 209.204.178.229

Old Revision: none

New Revision: http://wiki.metalforge.net/doku.php/dev_todo:experience_rewa
rder



-- 

This mail was generated by DokuWiki at

http://wiki.metalforge.net/





More information about the crossfire-wiki mailing list