Items
ActiveMobs
Players
Quests
Skills
Mechanics
Command: getmythicitems (filter:<filter>) (strict:<boolean>
Description: Grabs a list of MythicItems.
Optionally specify a filter.
Optionally set strict to true to return the item defined in filter.
Tags:
<entry[saveName].mythicitems>
returns a dList of all returned MythicItems. If strict is not used.
<entry[saveName].mythicitem>
returns the dMythicItem object if strict is true.
Command: mmapplymythic [entity:<entity>] [mobtype:<element>] (level:<#>)
Description: Transforms an entity into an ActiveMob recognized by MythicMobs.
"mobtype
" specifies the internal name of the MythicMob that the entity is to be transformed into.
Tags: <entry[saveName].activemob>
returns the dActiveMob of the transformed entity.
Example:
In Denizen:
example_script:
type: world
events:
on player right clicks entity:
- if !<context.entity.isactivemob> {
- mmapplymythic entity:<context.entity> mobtype:MythicEntity level:1 save:result
- mmtrigger activemob:<entry[result].activemob> trigger:SPAWN entity:<context.entity>
- narrate "Applied MythicMob of MythicEntity to <context.entity>!"
}
else {
- mmremovemythic activemob:<context.entity.activemob>
- narrate "Removed MythicMob of MythicEntity from <context.entity>!"
}
In MythicMobs:
MythicEntity:
Type: zombie
Skills:
- message{msg="Me a MythicMobs mob now!"} @world ~onSpawn
Command: mmremovemythic [activemob:<ActiveMob>]
Description: Transforms an active MythicMob into its vanilla counterpart.
Tags: <entry[saveName].entity>
returns the dEntity of the transformed ActiveMob.
Command: mmspawnmob [mobtype:<element>] [<location>] (world:<string>) (level:<#>)
Description: Spawns a MythicMob at a location.
"mobtype
" specifies the internal name of the MythicMob to be spawned.
Tags: <entry[saveName].activemob>
returns a dActiveMob of the spawned MythicMob.
DEPRECATED use dMythicSkill or castmythicskill instead
Command: mmcastmob [caster:<ActiveMob>] [target:<entity>/<location>] [skill:<element>] (trigger:<entity>) (power:<#.#>)
Description: Forces an ActiveMob to cast a skill onto a target entity or location.
"skill
" should be a valid MythicMobs skill.
Optionally specify a trigger entity and power level of the skill. The trigger entity defaults to the caster. The power defaults to "1".
Tags: none
DEPRECATED use dMythicSkill or castmythicskill instead
Command: mmskillcast [caster:<entity>] [target:<entity>/<location>] [skill:<element>] (trigger:<entity>) (power:<#.#>) (repeat:<#>) (delay:<#>)
Description: Forces an entity (caster) to cast a skill onto a target entity or location.
"skill
" should be a valid MythicMobs skill.
Optionally specify a trigger entity and power level of the skill. The trigger entity defaults to the caster. The power defaults to "1".
Optionally specify the amount of times the skill should repeat, with an optional delay between each iteration. The delay is in ticks.
Tags: none
Command: mmsignal [activemob:<ActiveMob>] [singal:<element>] (trigger:<entity>)
Description: Sends a signal to an active MythicMob.
Optionally specify a trigger entity. The trigger entity defaults to the MythicMob receiving the signal.
Tags: none
Command: mmtrigger [activemob:<ActiveMob>] [trigger:<element>] [entity:<entity>]
Description: Triggers an active MythicMob's trigger, where "entity" is the entity triggering the active MythicMob.
Valid triggers are:
DEFAULT, ATTACK, BOW_HIT, BLOCK, COMBAT,
CROUCH, UNCROUCH, DAMAGED, DROPCOMBAT,
DEATH, ENTERCOMBAT, EXPLODE, INTERACT, KILL,
KILLPLAYER, PLAYERDEATH, SHOOT, SIGNAL,
SPAWN, SPLASH_POTION, SWING, TARGETCHANGE,
TELEPORT, TIMER, USE, READY
Tags: none
Example:
In Denizen:
example_script:
type: world
events:
on entity damaged by projectile:
- if <context.entity.isactivemob> && <context.projectile.name> == "arrow" {
- mmtrigger activemob:<context.entity.activemob> trigger:BOW_HIT entity:<context.damager>
}
In MythicMobs:
Monkey:
Type: zombie
Display: "MythicMobs Monkey"
Health: 40
Armor: 10
Skills:
- message{msg="Ouch! Stop shooting arrows at me!"} @trigger ~onBowHit 1
DEPRECATED use dMythicSkill or castmythicskill instead
Command: mmcastplayer [caster:<entity>] [skill:<element>] [target:<entity>/<location>] (trigger:<entity>) (repeat:<#>) (delay:<#>)
Description: Forces a player to use a MythicMobs skill.
Optionally specify a trigger entity. The trigger entity defaults to the caster.
Optionally specify the amount of times the skill should repeat, with an optional delay between each iteration. The delay is in ticks.
Tags: none
Example:
In Denizen:
example_script:
type: world
events:
on player clicks:
- if <player.target||null> != null {
- mmcastplayer caster:<player.entity> skill:Damage target:<player.target>
}
else {
- mmcastplayer caster:<player.entity> skill:Heal target:<player.entity> repeat:4 delay:20
}
In MythicMobs:
Heal:
Skills:
- effect:particles{particle=heart;amount=8;vSpread=0.5;hSpread=0.5;Spped=0.01;yoffset=1} @self
- heal{a=2;overheal=false} @self
Damage:
TargetConditions:
- lineofsight true
- distance{d=<10} true
- distance{d=>3} true
Skills:
- effect:particleline{particle=lava;amount=20;vSpread=0.10;hSpread=0.10;Speed=0.2;yoffset=1;ystartoffset=0;distancebetween=1} @target
- damage @target
Command: getmythicskills (filter:<regex>) (strict:<boolean>)
Description: Returns a list of all registered MythicMobs skills.
Optionally specify a filter to limit the output.
Optionally specify strict true to get a single skill. This requires filter to be set to the skillname!
Tags: <entry.[saveName].skills>
A list of skills (if strict=false)
<entry.[saveName].skill>
a dMythicSkill object (if strict=true)
Command: castmythicskill [skill:string||dMythicSkill] [data:dMythicMeta]||[caster:dEntity] (cause:string) (trigger:dEntity) (origin:dLocation) (power:float) (targets:dList)
Description: Cast the given skill by using the the metadata or replace the meta stored in dmythicskill or creates a new meta with all the given arguments.
Command: getmythicmechanic [name:<string>] [line:<string>] (data:<dMythicMeta>)
Description: Returns the dMythicMechanic.
Define the arguments inside the line argument.
Optionally, specify a dMythicMeta objects.
Tags: <entry.[saveName].mechanic>
the dMythicMechanic object.
Command: firecustomobjective (action:String[FAIL||COMPLETE||INCREMENT]) (quester:<dPlayer>) (type:String[QUESTS OBJECTIVE TYPE])
Description: Fires the quests denizen custom objective.
Use type to filter the denizen objective.
Use action to FAIL, COMPLETE or INCREMENT the objective.
Use quester to define the player.