LesserSnare
Extends:
Prevents target from using movement abilities for a duration
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
use(dungeon: *, creature: *, optionalTargetTile: *, isFree: *) Targetted creature will be unable to move or use movement abilities for the duration |
Inherited Summary
From class Ability | ||
public |
For targetted abilities, tells whether or not the target can be the tile the creature is standing on. |
|
public abstract |
A short description of the ability |
|
public abstract |
Gets the amount of mana deducted from the user upon use. |
|
public |
Gets a formatted name for the ability |
|
public |
For targetted abilities, tells how far away the ability can target. |
|
public |
getReasonIllegal(dungeon: Dungeon, creature: Creature, optionalTargetTile: Tile, isFree: boolean): String Gives a reason the ability cannot be performed by the given creature, if any exists. |
|
public |
Tells whether the ability can cause the creature to move. |
|
public abstract |
For a targetted ability, tells whether the ability requires the target tile to contain a creature. |
|
public abstract |
Tells whether the ability targets a tile. |
|
public |
For targetted abilities, tells whether or not the target must be visible to the creature. |
|
public |
Generic toString method |
|
public |
Causes the given creature to perform the ability, modifying the game state |
Public Methods
public use(dungeon: *, creature: *, optionalTargetTile: *, isFree: *) source
Targetted creature will be unable to move or use movement abilities for the duration
Override:
Ability#useParams:
Name | Type | Attribute | Description |
dungeon | * | ||
creature | * | ||
optionalTargetTile | * | ||
isFree | * |