JS-ELEMENT
Characters, Objs, Rooms, and Auras are all derivatives of Elements and implement all of the following methods:
hasBehavior( n ) | Returns true if this has the specified behavior. |
| behaviorPercentFor( n ) | Returns the trigger percent for the specified behavior. If the behavior is not present, this returns 0. |
addAura(n,d,a) | Adds the specified aura to this aura. 'n' is the name of the aura. 'd' is the duration, either a a number of mud hours or 'permanent'. 'a' is a list of arguments for the aura. For example: obj.addAura( 'stat', 'permanent', 'hitroll', 2, 'damroll', 3 ) adds a permanent aura to the obj which will increase its "hitroll" bonus by 2 and its "damroll" bonus by 3. |
removeAura(n) | Removes the specified aura from this aura. |
addAuraCat(p,n,d,a) | This performs like addAura() except that all of the aura category stacking rules will be applied. p should be set to whatever is applying the aura to the target. This method returns true if the aura was successfully added. |
removeAuraCat(p,n,l) | This performs like removeAura() except that it removes a category of auras. p should be set to whatever is removing the aura from the target. l is the level at which auras should be removed at ... only auras at l level or lower will be removed. |
They also have id, uid, zone, zid and is( address ): see JS-NAMES.