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
-
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:Script
Executes this script.- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on 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
-