Package games.stendhal.server.script
Class CreateRaid
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.CreateRaid
- All Implemented Interfaces:
Script
- Direct Known Subclasses:
AngelRaid,AnimalRaid,BarbarianRaid,BeholderRaid,BlordroughRaid,ChaosRaid,DragonRaid,DrowRaid,DwarfRaid,ElementalRaid,ElfRaid,FairyRaid,FarmRaid,FrogmanSheepmanRaid,GnomeRaid,ImperialRaid,KoboldRaid,LichRaid,OniRaid,OrcRaid,ZombieRaid
Base class for creating small raids of creatures from other lists
Picks randomly from the list and summons raid creatures within a radius of the admin.
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
CreateRaid
public CreateRaid()
-
-
Method Details
-
createArmy
-
execute
Description copied from interface:ScriptExecutes this script.- Specified by:
executein interfaceScript- Overrides:
executein classScriptImpl- Parameters:
admin- the admin who load it ornullon server start.args- the arguments the admin specified ornullon server start.
-
getInfo
contains info to help raid makers decide if this special raid script is applicable for the given users or other usefull info.- Returns:
- the info to simplify life of raid maker
-