From 0d615a5abed8aef78f20ec8164538c0b680bd21a Mon Sep 17 00:00:00 2001 From: Chromachine Date: Wed, 23 May 2018 14:27:02 +0000 Subject: [PATCH] Added all MythicMobs configs --- MythicMobs/DropTables/ExampleDropTables.yml | 14 ++++ MythicMobs/Items/ExampleItems.yml | 46 ++++++++++++ MythicMobs/Items/mobheads.yml | 7 ++ MythicMobs/Mobs/ExampleMobs.yml | 72 ++++++++++++++++++ MythicMobs/Mobs/VanillaMobs.yml | 15 ++++ MythicMobs/Mobs/puck.yml | 21 ++++++ MythicMobs/Mobs/testenemy.yml | 22 ++++++ MythicMobs/Mobs/workerautomaton.yml | 73 +++++++++++++++++++ .../RandomSpawns/ExampleRandomSpawns.yml | 18 +++++ MythicMobs/Skills/ExampleSkills.yml | 31 ++++++++ MythicMobs/Skills/skills.yml | 17 +++++ update.sh | 1 + 12 files changed, 337 insertions(+) create mode 100755 MythicMobs/DropTables/ExampleDropTables.yml create mode 100755 MythicMobs/Items/ExampleItems.yml create mode 100755 MythicMobs/Items/mobheads.yml create mode 100755 MythicMobs/Mobs/ExampleMobs.yml create mode 100755 MythicMobs/Mobs/VanillaMobs.yml create mode 100755 MythicMobs/Mobs/puck.yml create mode 100755 MythicMobs/Mobs/testenemy.yml create mode 100755 MythicMobs/Mobs/workerautomaton.yml create mode 100755 MythicMobs/RandomSpawns/ExampleRandomSpawns.yml create mode 100755 MythicMobs/Skills/ExampleSkills.yml create mode 100755 MythicMobs/Skills/skills.yml diff --git a/MythicMobs/DropTables/ExampleDropTables.yml b/MythicMobs/DropTables/ExampleDropTables.yml new file mode 100755 index 0000000..bac93f4 --- /dev/null +++ b/MythicMobs/DropTables/ExampleDropTables.yml @@ -0,0 +1,14 @@ +# +# This example file shows you how to set up a basic drop table. +# Drop tables can be used in both a mob's equipment and drops +# to have multiple items tied to a single table. +SkeletonKingDrops: + Conditions: + - playerwithin 40 + Drops: + - KingsCrown 1 0.01 + - 371:0 32-64 1 + - exp 100 + - heroesexp 200 + DropsPerLevel: + - exp 10 diff --git a/MythicMobs/Items/ExampleItems.yml b/MythicMobs/Items/ExampleItems.yml new file mode 100755 index 0000000..34e4821 --- /dev/null +++ b/MythicMobs/Items/ExampleItems.yml @@ -0,0 +1,46 @@ +# +# This example file shows you how to set up special items +# for your mobs to equip or drop. +SkeletonKingSword: + Id: 276 + Data: 0 + Display: '&3Greatsword of the Skeleton King' + Lore: + - '&6A powerful sword used by' + - '&6the King of Skeletons.' + Enchantments: + - DAMAGE_ALL:5 + - KNOCKBACK:2 + - FIRE_ASPECT:2 + Attributes: + MainHand: + Health: 10 + MovementSpeed: 0.1 +KingsCrown: + Id: 314 + Data: 0 + Amount: 1 + Display: '&dCrown of the King' + Lore: + - '&6A kingly crowl that grants' + - '&6the wearer unwavering power!' + Enchantments: + - PROTECTION_ENVIRONMENTAL:2 + - PROTECTION_PROJECTILE:2 + - PROTECTION_FIRE:2 + - PROTECTION_EXPLOSIONS:2 + Hides: + - ATTRIBUTES + - ENCHANTS + Attributes: + Head: + Health: 10 + KnockbackResistance: 10 +BanditTunic: + Id: 299 + Display: '&aBandit Tunic' + Lore: + - '&6A leather tunic taken from' + - '&6the corpse of a bandit.' + Options: + Color: 255,40,40 diff --git a/MythicMobs/Items/mobheads.yml b/MythicMobs/Items/mobheads.yml new file mode 100755 index 0000000..fd1c0c8 --- /dev/null +++ b/MythicMobs/Items/mobheads.yml @@ -0,0 +1,7 @@ +RobotHead: + Id: 397 + Data: 3 + Options: + SkinTexture: eyJ0aW1lc3RhbXAiOjE1MDYxMDgyNTI5NzgsInByb2ZpbGVJZCI6IjliZDU2MGRiNGZjMDQyYjhhY2I3NWMyOTJlZmM5MmMxIiwicHJvZmlsZU5hbWUiOiJ0cmFpbnJpZGVyIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2NkMTAzMTQ3YzdiY2IwY2IzMmFhZWI5M2Q3MWM4OWYzZjU5YWRlNWY0YzQwMmQ3MTgxZGY5Y2U5Mjg4MjgifX19 + Display: '&2Robot Head' + Amount: 1 \ No newline at end of file diff --git a/MythicMobs/Mobs/ExampleMobs.yml b/MythicMobs/Mobs/ExampleMobs.yml new file mode 100755 index 0000000..98024cf --- /dev/null +++ b/MythicMobs/Mobs/ExampleMobs.yml @@ -0,0 +1,72 @@ +# +# These example files show you some of the basic attributes and +# skills MythicMobs can use. Far more is possible! +SkeletalKnight: + Type: WITHER_SKELETON + Display: '&2Skeletal Knight' + Health: 40 + Damage: 8 + Drops: + - gold_nugget 2 0.5 + DropsPerLevel: + - gold_nugget 1 0.5 + LevelModifiers: + - health 5 + - damage 0.5 + Options: + MovementSpeed: 0.1 +StaticallyChargedSheep: + Type: SHEEP + Display: '&bStatically Charged Sheep' + Health: 100 + Damage: 2 + Options: + MovementSpeed: 0.3 + DamageModifiers: + - LIGHTNING 0 + - FIRE 0.5 + Skills: + - lightning @LivingInRadius{r=10} ~onTimer:100 +AngrySludge: + Type: SLIME + Display: Angry Sludge + Health: 100 + Damage: 2 + Options: + Size: 20 + MovementSpeed: 0.1 + PreventSlimeSplit: true + PreventOtherDrops: true + MaxCombatDistance: 30 + KnockbackResistance: 1 + Skills: + - skill{s=AngrySludgePoison} 0.2 +SkeletonKing: + Type: WITHER_SKELETON + Display: '&6Skeleton King' + Health: 500 + Damage: 10 + Skills: + - message{cooldown=20;m="<&co> None may challenge the Skeleton King!"} + @PlayersInRadius{r=40} ~onCombat >0 0.2 + - message{m="<&co> Ahahahahah! Die, !"} @PlayersInRadius{r=40} + ~onPlayerKill >0 1 + - skill{s=SummonSkeletons} @Self 0.1 + - skill{s=SmashAttack} @Target >0 0.2 + Equipment: + - KingsCrown:4 + - SkeletonKingSword:0 + Drops: + - SkeletonKingDrops + Options: + AlwaysShowName: true + MovementSpeed: 0.2 + MaxCombatDistance: 25 + PreventOtherDrops: true +SkeletalMinion: + Type: SKELETON + Display: '&2Skeletal Minion' + Health: 10 + Damage: 2 + Options: + MovementSpeed: 0.1 diff --git a/MythicMobs/Mobs/VanillaMobs.yml b/MythicMobs/Mobs/VanillaMobs.yml new file mode 100755 index 0000000..eea9797 --- /dev/null +++ b/MythicMobs/Mobs/VanillaMobs.yml @@ -0,0 +1,15 @@ +# +# This example file shows you how to change default values for +# vanilla mobs. Most MythicMobs options will work here, including +# skills and effects! **Despawn: FALSE does not work, though.** +CAVE_SPIDER: + Health: 30 + Damage: 7 +WITHER_SKELETON: + Health: 50 + Damage: 10 +GIANT: + Health: 1000 + Damage: 20 + Skills: + - potion{type=POISON;duration=100;lvl=1} @target ~onAttack diff --git a/MythicMobs/Mobs/puck.yml b/MythicMobs/Mobs/puck.yml new file mode 100755 index 0000000..04e14c9 --- /dev/null +++ b/MythicMobs/Mobs/puck.yml @@ -0,0 +1,21 @@ +Puck: + Mobtype: Skeleton + Display: 'Puck' + Disguise: + Type: BLOCK + Block: OBSIDIAN + BlockData: 0 + ShowName: true + AIGoalSelectors: + - 0 clear + AITargetSelectors: + - 0 clear + Health: 900 + Damage: 0 + Equipment: + Drops: + Options: + PreventOtherDrops: true + Skills: + - explosion{yield=4} @target ~onDeath 1 + - effect:lightning @self ~onSpawn 1 \ No newline at end of file diff --git a/MythicMobs/Mobs/testenemy.yml b/MythicMobs/Mobs/testenemy.yml new file mode 100755 index 0000000..22dcb23 --- /dev/null +++ b/MythicMobs/Mobs/testenemy.yml @@ -0,0 +1,22 @@ +SkeletalSoldier: + Mobtype: skeleton + Display: '&7Skeletal Soldier' + Health: 75 + Damage: 2.5 + Equipment: + - RobotHead:4 + - iron_chestplate:3 + - iron_leggings:2 + - iron_boots:1 + - iron_sword:0 + Drops: + - iron_chestplate 1 0.5 + - iron_leggings 1 0.5 + - iron_boots 1 0.5 + Options: + FollowRange: 10 + AlwaysShowName: false + MovementSpeed: 0.3 + PreventOtherDrops: true + Skills: + - skill{s=IceBolt} @target ~onTimer:100 \ No newline at end of file diff --git a/MythicMobs/Mobs/workerautomaton.yml b/MythicMobs/Mobs/workerautomaton.yml new file mode 100755 index 0000000..2ee0da6 --- /dev/null +++ b/MythicMobs/Mobs/workerautomaton.yml @@ -0,0 +1,73 @@ +WorkerAutomaton: + Mobtype: Iron_golem + Display: '&7Worker Automaton' + AIGoalSelectors: + - 0 clear + - 1 meleeattack + AITargetSelectors: + - 0 clear + - 1 players + Health: 90 + Damage: 3.5 + Equipment: + Drops: + Options: + FollowRange: 10 + AlwaysShowName: false + MovementSpeed: 0.2 + PreventOtherDrops: true + Modules: + ThreatTable: true + Skills: + - explosion{yield=4} @target ~onDeath 1 + - jsonmessage{m="[{'text':'Self-terminate, intruder!','color':'red'}]"} @trigger ~onEnterCombat 0.5 + +ScoutAutomaton: + Mobtype: Zombie + Display: '&7Scout Automaton' + Disguise.Type: Iron_golem + AIGoalSelectors: + - 0 clear + - 1 meleeattack + AITargetSelectors: + - 0 clear + - 1 players + Health: 40 + Damage: 2.0 + Equipment: + Drops: + Options: + FollowRange: 10 + AlwaysShowName: false + MovementSpeed: 0.4 + PreventOtherDrops: true + Modules: + ThreatTable: true + Skills: + - explosion{yield=1} @target ~onDeath 1 + - jsonmessage{m="[{'text':'Intruder alert! Intruder alert!','color':'red'}]"} @trigger ~onEnterCombat 1 + +TriggerAutomaton: + Mobtype: Zombie + Display: '&7Scout Automaton' + Disguise.Type: Iron_golem + AIGoalSelectors: + - 0 clear + - 1 meleeattack + AITargetSelectors: + - 0 clear + - 1 players + Health: 40 + Damage: 2.0 + Equipment: + Drops: + Options: + FollowRange: 10 + AlwaysShowName: false + MovementSpeed: 0.4 + PreventOtherDrops: true + Modules: + ThreatTable: true + Skills: + - explosion{yield=1} @target ~onDeath 1 + - skill{s=Alert} @trigger ~onEnterCombat 1 \ No newline at end of file diff --git a/MythicMobs/RandomSpawns/ExampleRandomSpawns.yml b/MythicMobs/RandomSpawns/ExampleRandomSpawns.yml new file mode 100755 index 0000000..4a0a493 --- /dev/null +++ b/MythicMobs/RandomSpawns/ExampleRandomSpawns.yml @@ -0,0 +1,18 @@ +# +# These example files show you how to inject Mythic Mobs +# you've created into your world. The name of each block +# can be whatever you'd like but must be unique. +RandomSkeletonKing: + MobType: SkeletonKing + Worlds: world + Chance: 0.001 + Priority: 1 + Action: replace + Conditions: + - outside true +RandomSkeletalKnight: + MobType: SkeletalKnight + Worlds: world + Chance: 0.008 + Priority: 1 + Action: add diff --git a/MythicMobs/Skills/ExampleSkills.yml b/MythicMobs/Skills/ExampleSkills.yml new file mode 100755 index 0000000..865eb98 --- /dev/null +++ b/MythicMobs/Skills/ExampleSkills.yml @@ -0,0 +1,31 @@ +# +# These example files show you some VERY basic meta skills. +# You can copy and expand them however you'd like. +SmashAttack: + Cooldown: 8 + Conditions: + - targetwithin 25 + Skills: + - message{cooldown=30;m="<&co> Hahahah! I will crush you, fool!"} @PlayersInRadius{r=40} + - teleport @target + - effect:sound{s=mob.endermen.portal;volume=1.0;pitch=0.5} + - delay 10 + - damage{amount=5;ignorearmor=true} @PlayersInRadius{r=5} + - throw{velocity=10;velocityY=5} @PlayersInRadius{r=5} + - effect:explosion @Self +SummonSkeletons: + Cooldown: 15 + Skills: + - message{m="<&co> Arise, my minions!"} @PlayersInRadius{r=40} + - delay 20 + - summon{mob=SkeletalMinion;amount=2;noise=5} @Self + - delay 20 + - summon{mob=SkeletalMinion;amount=2;noise=5} @Self + - delay 20 + - summon{mob=SkeletalMinion;amount=2;noise=5} @Self +AngrySludgePoison: + Cooldown: 10 + Skills: + - potion{type=POISON;lvl=2;duration=100} @PlayersInRadius{r=15} + - effect:particles{p=happyVillager;amount=1000;hSpread=15;ySpread=1;speed=0;yOFfset=0.5} + @Self diff --git a/MythicMobs/Skills/skills.yml b/MythicMobs/Skills/skills.yml new file mode 100755 index 0000000..ae47152 --- /dev/null +++ b/MythicMobs/Skills/skills.yml @@ -0,0 +1,17 @@ +IceBolt: + Skills: + - projectile{onTick=IceBolt-Tick;onHit=IceBolt-Hit;v=8;i=1;hR=1;vR=1} + +IceBolt-Tick: + Skills: + - effect:particles{p=snowballpoof;amount=20;speed=0;hS=0.2;vS=0.2} @origin + +IceBolt-Hit: + Skills: + - damage{a=10} + - potion{type=SLOW;duration=100;lvl=2} + +Alert: + Skills: + - jsonmessage{m="[{'text':'Intruder alert! Intruder alert!','color':'red'}]"} + - rally{types=WorkerAutomaton;radius=10;vradius=4} \ No newline at end of file diff --git a/update.sh b/update.sh index 33f8127..3cbda35 100755 --- a/update.sh +++ b/update.sh @@ -10,6 +10,7 @@ do done find . -path './Movecraft/types/*.craft' -exec git add -f '{}' \; git add -f 'dynmap/configuration.txt' 'dynmap/worlds.txt' +git add -f 'MythicMobs/*' ':!:MythicMobs/SavedData/*' git add -f update.sh download.sh