builders:potion
This is an old revision of the document!
Class 203 Potion
Potions offer a “Drink” menu when clicked on.
Fields:
| charges | Number of uses. 0 = Empty, -1 = unlimited |
| potionType | Specific activity, see below. |
| potionDuration | Duration or delat; see individual activity |
Potion types
Explosion - waits potionDuration seconds, then sends an explostion. Avatar is temporarily coloried grey. If defined, health is reduced by server constant “POTIONEXPLOSIONHEALTHDEDUCTION”
Nourish - health is restored by potionDuration percentage points (to a max of 100%)
scriptnn - Action depends on ActionScript specified by the number. Properties “potionDrinkSelf” and “potionDrinkOthers” determine the message sent to the user/others in the same region on drinking.
builders/potion.1760982341.txt.gz · Last modified: by amanda
