Class: Monster

Monster

new Monster()

All Monsters have these properties
Properties:
Name Type Description
hp number health points
max_hp number maximum health points
xp number Experience awarded for killing this monster
name string entity name (for monsters it is null)
angle number angle the character is looking at.
direction number direction in which the character is looking (0:down,1:left,2:right;3:up)
real_x number x position on map
real_y number y position on map
id string the Monster id, All Monsters in entities are listed by there id.
in string the Map name on which map the monster is
from_x number | undefined the last movement starting x position of the character
from_y number | undefined the last movement starting y position of the character
going_x number | undefined the last target x position of the character
going_y number | undefined the last target y position of the character
dead boolean is the monster dead
died Date when did the Monster die
attack number the Average attack damage the monster does
speed number the Normal walking speed of the monster. After aggroing
type string the type of the Entity, for monsters this is always "monster"
c ChannelingConditions channelling conditions
s StatusConditions status conditions
Source:

Extends