mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-25 20:15:50 +01:00
Updated Setting up the waves (markdown)
parent
637ef261d9
commit
71bba25031
@ -124,30 +124,34 @@ These waves don't spawn any monsters, but will give or upgrade items. The class
|
||||
|
||||
**Legacy setup**: In the following example, all players get a healing potion, and on top of that, all Archers get 64 arrows, and all Oddjobs get either 2 TNT or a Netherrack:
|
||||
|
||||
upgrades:
|
||||
all: potion:8197:1
|
||||
Archer: arrow:64
|
||||
Oddjob: tnt:2, netherrack
|
||||
give-all-items: false
|
||||
upgrades:
|
||||
all: potion:8197:1
|
||||
Archer: arrow:64
|
||||
Oddjob: tnt:2, netherrack
|
||||
give-all-items: false
|
||||
|
||||
**Advanced setup**: Since MobArena v0.95, the Upgrade Waves can be set up to upgrade/replace certain weapons and armor, as well as add/remove permissions. The setup follows the setup of the classes-section. In the following example, the Knight class gets its diamond sword enchanted and its iron chestplate replaced with a diamond chestplate. The Archer just gets some more arrows (legacy setup) while the Wizard class gets the permission to cast the Forcepush spell from MagicSpells:
|
||||
|
||||
classes:
|
||||
Knight:
|
||||
armor: iron_helmet, iron_chestplate, iron_leggings, iron_boots
|
||||
items: diamond_sword
|
||||
Knight:
|
||||
armor: iron_helmet, iron_chestplate, iron_leggings, iron_boots
|
||||
items: diamond_sword
|
||||
|
||||
...
|
||||
...
|
||||
|
||||
upgrades:
|
||||
Archer: arrow:64
|
||||
Knight:
|
||||
arenas:
|
||||
...
|
||||
waves:
|
||||
...
|
||||
upgrades:
|
||||
Archer: arrow:64
|
||||
Knight:
|
||||
armor: diamond_chestplate
|
||||
items: diamond_sword 16:2
|
||||
Wizard:
|
||||
Wizard:
|
||||
permissions:
|
||||
- magicspells.cast.forcepush
|
||||
give-all-items: true
|
||||
give-all-items: true
|
||||
|
||||
Explanation: Items listed in the `armor` node will be considered armor, and (if valid) will replace any item currently in the armor slots of the players. Items in the `items` node will be checked if they are weapons or not; if they are weapons, then MobArena will search through the players' inventories for weapons with the same ID, and then replace the first weapon that matches it (automatic upgrades). If no weapon is found, it will default to a generic item, which will just be added to the inventory.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user