Updated Setting up the waves (markdown)

garbagemule 2014-07-30 16:01:18 -07:00
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: **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: upgrades:
all: potion:8197:1 all: potion:8197:1
Archer: arrow:64 Archer: arrow:64
Oddjob: tnt:2, netherrack Oddjob: tnt:2, netherrack
give-all-items: false 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: **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: classes:
Knight: Knight:
armor: iron_helmet, iron_chestplate, iron_leggings, iron_boots armor: iron_helmet, iron_chestplate, iron_leggings, iron_boots
items: diamond_sword items: diamond_sword
... ...
upgrades: arenas:
Archer: arrow:64 ...
Knight: waves:
...
upgrades:
Archer: arrow:64
Knight:
armor: diamond_chestplate armor: diamond_chestplate
items: diamond_sword 16:2 items: diamond_sword 16:2
Wizard: Wizard:
permissions: permissions:
- magicspells.cast.forcepush - 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. 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.