Returns monster armor.
Returns monster armor.
API Tags:
| Return: | Armor rate. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns list of monster attacks.
Returns list of monster attacks.
API Tags:
| Return: | List of attafck effects. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns monster defense rate.
Returns monster defense rate.
API Tags:
| Return: | Defense rate. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns list of special defenses.
Returns list of special defenses.
API Tags:
| Return: | List of defense effects. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns amount of experience for killing this monster.
Returns amount of experience for killing this monster.
API Tags:
| Return: | Experience points. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
int|bool getFlag(
string
$flag
)
|
|
Returns specified flag value.
Returns specified flag value.
Parameters:
API Tags:
| Return: | Flag value (false if not set). |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns all monster flags (in format flagname => value).
Returns all monster flags (in format flagname => value).
API Tags:
| Return: | Flags. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns monster HP.
Returns monster HP.
API Tags:
| Return: | Hit points. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns all monster immunities.
Returns all monster immunities.
API Tags:
| Return: | Immunities. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns all possible loot.
Returns all possible loot.
In order to use this method you have to have global items list loaded.
API Tags:
| Return: | List of item types. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Throws: | E_OTS_NotLoaded When there is no items list available in global POT instance. |
| Since: | 0.0.6 |
| Since: | 0.1.0 |
API Tags:
| Return: | List of item IDs. |
| Deprecated: | 0.1.0 Use getItems(). |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Since: | 0.0.6 |
Returns amount of mana required to summon this monster.
Returns amount of mana required to summon this monster.
API Tags:
| Return: | Mana required (false if not possible). |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns monster name.
Returns monster name.
API Tags:
| Return: | Name. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns monster race.
Returns monster race.
API Tags:
| Return: | Race. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns monster speed.
Returns monster speed.
API Tags:
| Return: | Speed. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
Returns voices that monster can sound.
Returns voices that monster can sound.
API Tags:
| Return: | List of voices. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
bool hasImmunity(
string
$name
)
|
|
Checks if monster has given immunity.
Checks if monster has given immunity.
Parameters:
|
string |
$name: |
Immunity to check. |
API Tags:
| Return: | Immunity state. |
| Access: | public |
Information Tags:
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.0.6 |
mixed __get(
string
$name
)
|
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:
|
string |
$name: |
Property name. |
API Tags:
| Return: | Property value. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Version: | 0.0.6 |
| Throws: | DOMException On DOM operation error. |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.0.6 |
| Since: | 0.1.0 |
Returns string representation of XML.
Returns string representation of XML.
If any display driver is currently loaded then it uses it's method. Otherwise just returns monster XML content.
API Tags:
| Return: | String representation of object. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
| Since: | 0.1.0 |