From 1945e1379ba7aa6092a765ddb91d5a67487b5ed6 Mon Sep 17 00:00:00 2001 From: ismooch Date: Thu, 20 Mar 2014 10:52:57 -0500 Subject: [PATCH] so much change - no descript - added wtfronts - lots of other little things - omg the work --- Obam-General/autohub.sk | 10 + Obam-General/liv.sk | 2 +- Obam-Survival/fortune.sk | 36 +- Obam-Survival/heads.sk | 53 ++- Obam-Survival/landclaim.sk | 6 + Obam-Testing/powerpick.sk | 2 + Obam-Testing/wtfronts.sk | 505 ++++++++++++++++++++ Obam-Testing/zbeta.sk | 922 ++++++++++++++++++++++++++++++++++++- 8 files changed, 1489 insertions(+), 47 deletions(-) create mode 100644 Obam-General/autohub.sk create mode 100644 Obam-Testing/wtfronts.sk diff --git a/Obam-General/autohub.sk b/Obam-General/autohub.sk new file mode 100644 index 0000000..3b93d28 --- /dev/null +++ b/Obam-General/autohub.sk @@ -0,0 +1,10 @@ +on join: + set {_hold} to difference between {db_time.join.%player%} and now + {_hold} is more than 15 minutes: + + set {db_time.join.%player%} to now + make player execute command "/hub" + +on disconnect: + set {db_time.join.%player%} to now + \ No newline at end of file diff --git a/Obam-General/liv.sk b/Obam-General/liv.sk index 437825f..6fc8847 100644 --- a/Obam-General/liv.sk +++ b/Obam-General/liv.sk @@ -579,7 +579,7 @@ command /livalert []: stop argument 1 is "list": loop {db_liv.alerts::*}: - send "%loop-index%......&6&l'LiV: &3%{db_liv.alerts::%loop-index%}%" to player + send "%loop-index%......&6&l'LiV: &3%{db_liv.alerts::%loop-index%}%" stop add argument 1 to {db_liv.alerts::*} send "&aYou have added &6&l'LiV: &3%argument 1% &ato the alert system" diff --git a/Obam-Survival/fortune.sk b/Obam-Survival/fortune.sk index b5a949c..392369f 100644 --- a/Obam-Survival/fortune.sk +++ b/Obam-Survival/fortune.sk @@ -101,8 +101,20 @@ on break: set {for.ran.%player%} to random integer between 5 and 15 {current.aura.%player%} is "fortune": block is diamond ore or emerald ore or gold ore or iron ore or lapis ore or redstone ore or coal ore or nether quartz ore: + player's tool is a pickaxe of silk touch: + send "&cYour fortune aura has no effect with this enchantment!" to player + stop + {chunk.live.%chunk at location of event-block%} is set: + send "&cYour fortune aura has no effect in this area." + stop + loop blocks in radius 50 of event-block: + {chunk.live.%chunk at location of loop-block%} is set: + send "&cYour fortune aura has no effect in this area, go further out!" to player + stop + {fortune.spam.%player%} is greater than {for.ran.%player%}: loop all players: + {aura.alert.%loop-player%} is true: send "&3&lIt seems %player% hit the %block% jackpot at %location of player%!" to loop-player set {fortune.spam.%player%} to 0 @@ -111,27 +123,18 @@ on break: block is diamond ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 diamond add 1 to {fortune.spam.%player%} block is emerald ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 emerald add 1 to {fortune.spam.%player%} block is gold ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop cancel event delete event-block drop 1 gold ingot @@ -141,9 +144,6 @@ on break: block is iron ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop cancel event delete event-block drop 1 iron ingot @@ -153,36 +153,24 @@ on break: block is lapis ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 lapis add 1 to {fortune.spam.%player%} block is redstone ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 redstone add 1 to {fortune.spam.%player%} block is coal ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 coal add 1 to {fortune.spam.%player%} block is nether quartz ore: add 1 to {fortune.spam.%player%} chance of {fortune.chance.%player%}%: - player's tool is a pickaxe of silk touch: - send "&cYour fortune aura has no effect with this enchantment!" to player - stop send "&aFortune favours you!" to player drop 1 nether quartz add 1 to {fortune.spam.%player%} diff --git a/Obam-Survival/heads.sk b/Obam-Survival/heads.sk index 1ececea..7282c41 100644 --- a/Obam-Survival/heads.sk +++ b/Obam-Survival/heads.sk @@ -8,12 +8,61 @@ on death of a player: replace "DATE" in {_item} with "%now%" add named item stack from {_item} to drops -on death of a creeper or skeleton or zombie: +on death of a living entity: attacker is a player: - chance of 2%: + chance of 0.5%: victim is a creeper: add creeper head to drops victim is a skeleton: add skeleton head to drops victim is a zombie: add zombie head to drops + victim is a blaze: + set {_player} to "MHF_Blaze" parsed as offline player + add skull of {_player} to drops + victim is a cave spider: + set {_player} to "MHF_CaveSpider" parsed as offline player + add skull of {_player} to drops + victim is a enderman: + set {_player} to "MHF_Enderman" parsed as offline player + add skull of {_player} to drops + victim is a zombie pigman: + set {_player} to "MHF_PigZombie" parsed as offline player + add skull of {_player} to drops + victim is a ghast: + set {_player} to "MHF_Ghast" parsed as offline player + add skull of {_player} to drops + victim is a chicken: + set {_player} to "MHF_Chicken" parsed as offline player + add skull of {_player} to drops + victim is a cow: + set {_player} to "MHF_Cow" parsed as offline player + add skull of {_player} to drops + victim is magma cube: + set {_player} to "MHF_LavaSlime" parsed as offline player + add skull of {_player} to drops + victim is iron golem: + set {_player} to "MHF_Golem" parsed as offline player + add skull of {_player} to drops + victim is ocelot: + set {_player} to "MHF_Ocelot" parsed as offline player + add skull of {_player} to drops + victim is pig: + set {_player} to "MHF_Pig" parsed as offline player + add skull of {_player} to drops + victim is sheep: + set {_player} to "MHF_Sheep" parsed as offline player + add skull of {_player} to drops + victim is spider: + set {_player} to "MHF_Spider" parsed as offline player + add skull of {_player} to drops + victim is squid: + set {_player} to "MHF_Squid" parsed as offline player + add skull of {_player} to drops + victim is slime: + set {_player} to "MHF_Slime" parsed as offline player + add skull of {_player} to drops + victim is villagers: + set {_player} to "MHF_Villager" parsed as offline player + add skull of {_player} to drops + diff --git a/Obam-Survival/landclaim.sk b/Obam-Survival/landclaim.sk index 250d27c..0f22ab1 100644 --- a/Obam-Survival/landclaim.sk +++ b/Obam-Survival/landclaim.sk @@ -251,6 +251,9 @@ command /front [] [] []: argument 2 is "set": send "&cThat is an invalid name!" to player stop + argument 2 is not set: + send "&cPlease choose a name!" to player + stop message "&aYou have named this Front to &e%argument 2%" set {chunk.name.%chunk at location of player%} to "%argument 2%" add {chunk.name.%chunk at location of player%} to {name.list.%player%::*} @@ -266,6 +269,9 @@ command /front [] [] []: {_count} is not set: set {_count} to 0 add 1 to {_count} + {chunk.name.%{_chunk}%} is not set: + set {chunk.name.%{_chunk}%} to "%{_count}%" + set {_chunk.name} to {chunk.name.%{_chunk}%} {_chunk.name} is not set: set {_chunk.name} to "&cNot Named" send "&a%{_count}%.......%{_chunk}%....%{_chunk.name}%" to player diff --git a/Obam-Testing/powerpick.sk b/Obam-Testing/powerpick.sk index 142508a..1aaf182 100644 --- a/Obam-Testing/powerpick.sk +++ b/Obam-Testing/powerpick.sk @@ -8,6 +8,8 @@ on script load: + + on mine: name of player's tool is "&cPower Pick": x-coordinate of event-block is not x-coordinate of player: diff --git a/Obam-Testing/wtfronts.sk b/Obam-Testing/wtfronts.sk new file mode 100644 index 0000000..af63851 --- /dev/null +++ b/Obam-Testing/wtfronts.sk @@ -0,0 +1,505 @@ +options: + bandages: paper;&3Bandage;&6Use of this bandage is the only way to fix a long lasting||&6injury brought on by the hazards of the environment.|| ||&5&oRight click with bandage in hand to cure the effects||&5&obrought on by being badly injured. Multiple bandages||&5&omay be required depending on your injury level. + superbottle: water bottle;&3Super Water Bottle;&6Besides saving you inventory space this water ||&6is created extra wet to help quench your thirst.|| ||&a+50 Thirst|| ||&5&oUpon use bottle turns to regular glass bottle. + unstele: magma cream;&3Unstable Element;&6Highly energized plasma like element found||&6in unstable land and mobs.|| ||&5&oThis goo is really hot! + unstmetal: gold nugget;&3Unstable Metal Shard;&6Energized metal shards found in unstable land||&6and mobs.|| ||&5&oYou feel a light energetic charge coming from||&5&othe shard. + unstmetalbar: gold ingot;&3Unstable Metal Bar;&6Crafted from broken &3Unstable Metal Shards&6 to||&6become whole again.|| ||&5&oHot to the touch, this bar gives a highly energetic||&5&ocharge. + stablemetal: iron ingot;&3Stable Metal Bar;&6Finalized & stable metal bar with just enough||&6energy for crafting special items.|| ||&5&oWarm to the touch with a subtle energetic glow. + stableele: slimeball;&3Stable Element;&6Stable plasma like element used to enhance other||&6items in special ways.|| ||&5&oThe goo feels nice and warm as it slides through||&5&oyour fingers. + envradar: compass;&3Environmental Radar;&6A must have tool for always being in the know about||&6the dangerous environment around you.|| ||&c-1 Elemental Fuel per use|| ||&5&oRight click with radar in hand to get the environmental||&5&ostatistics of the land you’re standing on. + elefuel: coal item;&3Elemental Fuel;&6The universal fuel used to power most of the tools||&6and machines created with &3Energized Metal Bars. + fairydust: sugar;&3Fairy Dust;&6This mysterious dust is filled special properties that||&6nobody quite understands. Rumor is the dust||&6when combined with the right items or situations||&6can yield interesting results. + stable: 174;&3Stabilizer;&6The stabilizer contains the perfect elemental makeup||&6to bring unstable energies down to usable levels.|| ||&5&oSurround the Stabilizer in a crafting table with items||&5&othat contain unstable energy. + + + + +on script load: + register new shapeless recipe for named item stack from "{@bandages}" using paper, slimeball, air, air, air, air, air, air, air + register new shapeless recipe for named item stack from "{@superbottle}" using bottle of water, bottle of water, bottle of water, bottle of water, air, air, air, air, air + register new shaped recipe for named item stack from "{@unstmetalbar}" using air, air, air, named item stack from "{@unstmetal}", named item stack from "{@unstmetal}", named item stack from "{@unstmetal}", named item stack from "{@unstmetal}", named item stack from "{@unstmetal}", named item stack from "{@unstmetal}" + register new shaped recipe for named item stack from "{@stablemetal}" using named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}", named item stack from "{@stable}", named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}", named item stack from "{@unstmetalbar}" + register new shaped recipe for named item stack from "{@stableele}" using named item stack from "{@unstele}", named item stack from "{@unstele}", named item stack from "{@unstele}", named item stack from "{@unstele}", named item stack from "{@stable}", named item stack from "{@unstele}", named item stack from "{@unstele}", named item stack from "{@unstele}", named item stack from "{@unstele}" + register new shaped recipe for named item stack from "{@stable}" using ice, ice, ice, ice, named item stack from "{@fairydust}", ice, ice, ice, ice + register new shaped recipe for named item stack from "{@elefuel}" using named item stack from "{@stableele}", named item stack from "{@stableele}", named item stack from "{@stableele}", named item stack from "{@stableele}", coal item, named item stack from "{@stableele}", named item stack from "{@stableele}", named item stack from "{@stableele}", named item stack from "{@stableele}" + register new shaped recipe for named item stack from "{@envradar}" using named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", compass, named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", named item stack from "{@stablemetal}" + + + + + + +on join: + display board named "&9&lWTF&9ronts" to player + make score "&3Thirst" in board of player to {thirst.%player%} + set {board.%player%} to true + move display of player to "sidebar" + +on chunk load: + {unstable.%event-chunk%} is not set: + chance of 2%: + set {unstable.%event-chunk%} to true + set {_ran} to random number between 15 and 20 + set {_ran2} to random number between 18 and 20 + set {cavein.%event-chunk%.chance} to {_ran} + set {methane.%event-chunk%.chance} to {_ran2} + {unstable.%event-chunk%} is not set: + set {unstable.%event-chunk%} to false + {cavein.%event-chunk%.chance} is not set: + chance of 90%: + set {_ran} to random integer between 1 and 5 + set {cavein.%event-chunk%.chance} to {_ran} + {cavein.%event-chunk%.chance} is not set: + set {cavein.%event-chunk%.chance} to false + {methane.%event-chunk%.chance} is not set: + chance of 95%: + set {_ran} to random integer between 3 and 6 + set {methane.%event-chunk%.chance} to {_ran} + {methane.%event-chunk%.chance} is not set: + set {methane.%event-chunk%.chance} to false + + +on mine: + y-coordinate of player is less than 40 + {cavein.%chunk at location of player%.chance} is false: + set {_run} to false + {_run} is not set: + chance of {cavein.%chunk at location of player%.chance}%: + loop blocks in radius 5: + {_block.count} is not set: + set {_block.count} to 0 + add 1 to {_block.count} + loop-block is air: + {_air.count} is not set: + set {_air.count} to 0 + add 1 to {_air.count} + loop-block is iron block + set {_max-strut} to true + {_max-strut} is set: + chance of {cavein.%chunk at location of player%.chance}%: + clear {_max-strut} + loop players in radius 10 of player: + send "&cYour struts are failing!" to loop-player + send "&cYour struts are failing!" to player + + {_max-strut} is not set: + send "&3The floor rumbles beneath you.." to player + loop players in radius 10 of player: + send "&3The floor rumbles beneath you..." to loop-player + wait 5 seconds + send "&cCave In!" to player + loop players in radius 10 of player: + send "&cCave In!" to loop-player + {_air.count} is less than or equal to {_block.count} / 3: + loop blocks in radius 5: + loop-block is not bedrock or wood plank or lava or water + set {_block} to loop-block + set {_loc} to location of loop-block + spawn falling block of loop-block at location of loop-block + delete loop-block + {_air.count} is greater than {_block.count} / 3: + loop blocks in radius 10: + loop-block is not bedrock or wood plank or lava or water + set {_block} to loop-block + set {_loc} to location of loop-block + spawn falling block of loop-block at location of loop-block + delete loop-block + {methane.%chunk at location of player%.chance} is false: + set {_run2} to false + {_run2} is not set: + chance of {methane.%chunk at location of player%.chance}%: + send "&cMethane!" to player + loop players in radius 10 of player: + send "&cMethane!" to loop-player + wait 2 seconds + create explosion of force 2 at event-location + + chance of 5%: + loop blocks in radius 3: + loop-block is water + set {_found.water} to true + {_found.water} is true: + send "&3Flood!" to player + loop blocks in radius 3 of event-location: + set loop-block to water + + + + +on right click with compass: + player's tool is named item stack from "{@envradar}": + player does not have named item stack from "{@elefuel}": + send "&cYou do not have enough fuel!" to player + stop + remove named item stack from "{@elefuel}" from player + {cavein.%chunk at location of player%.chance} is not set: + {unstable.%chunk at location of player%} is not set: + chance of 2%: + set {unstable.%chunk at location of player%} to true + set {_ran} to random number between 15 and 20 + set {_ran2} to random number between 18 and 20 + set {cavein.%chunk at location of player%.chance} to {_ran} + set {methane.%chunk at location of player%.chance} to {_ran2} + {unstable.%chunk at location of player%} is not set: + set {unstable.%chunk at location of player%} to false + {cavein.%chunk at location of player%.chance} is not set: + chance of 90%: + set {_ran} to random integer between 1 and 5 + set {cavein.%chunk at location of player%.chance} to {_ran} + {cavein.%chunk at location of player%.chance} is not set: + set {cavein.%chunk at location of player%.chance} to false + {methane.%chunk at location of player%.chance} is not set: + chance of 95%: + set {_ran} to random integer between 3 and 6 + set {methane.%chunk at location of player%.chance} to {_ran} + {methane.%chunk at location of player%.chance} is not set: + set {methane.%chunk at location of player%.chance} to false + + if {unstable.%chunk at location of player%} is true: + send "&aGround Structure: &cUnstable" + send "&aMethane Rating: &cUnstable" + stop + if {cavein.%chunk at location of player%.chance} is false: + send "&aGround Structure: &3SOUND" to player + else: + send "&aGround Structure: &e%{cavein.%chunk at location of player%.chance}%" to player + if {methane.%chunk at location of player%.chance} is false: + send "&aMethane Rating: &3EMPTY" to player + else: + send "&aMethane Rating: &e%{methane.%chunk at location of player%.chance}%" to player + + +command /chunkstats: + permission: obam.admin + trigger: + if {unstable.%chunk at location of player%} is true: + send "&aGround Structure: &cUnstable" + send "&aMethane Rating: &cUnstable" + stop + if {cavein.%chunk at location of player%.chance} is false: + send "&aGround Structure: &3SOUND" to player + else: + send "&aGround Structure: &e%{cavein.%chunk at location of player%.chance}%" to player + if {methane.%chunk at location of player%.chance} is false: + send "&aMethane Rating: &3EMPTY" to player + else: + send "&aMethane Rating: &e%{methane.%chunk at location of player%.chance}%" to player + +every 3 seconds: + loop all players: + {board.%loop-player%} is not set: + display board named "&9&lWTF&9ronts" to loop-player + make score "&3Thirst" in board of loop-player to {thirst.%loop-player%} + set {board.%loop-player%} to true + move display of loop-player to "sidebar" + {board.%loop-player%} is true: + make score "&3Thirst" in board of loop-player to {thirst.%loop-player%} + + block above loop-player is water: + set {_ran} to random number between 1 and 2 + add {_ran} to {thirst.%loop-player%} + + {thirst.%loop-player%} is not set: + set {thirst.%loop-player%} to 100 + {thirst.%loop-player%} is less than 0: + set {thirst.%loop-player%} to 0 + {thirst.%loop-player%} is 0: + damage loop-player by 1 + send "&cYou are dehydrated" to loop-player + {thirst.%loop-player%} is greater than 0: + chance of 30%: + set {_ran} to random number between 0 and 1 + set {thirst.%loop-player%} to {thirst.%loop-player%} - {_ran} + + biome at loop-player is desert: + time in loop-player's world is day + y-coordinate of loop-player is greater than 60 + {thirst.%loop-player%} is greater than 0: + set {thirst.%loop-player%} to {thirst.%loop-player%} - 2 + {thirst.%loop-player%} is 0: + chance of 45%: + damage loop-player by 2 + send "&cThe sun beats down on you" to loop-player + + y-coordinate of loop-player is greater than 110: + loop-player's helmet is air + damage loop-player by 1 + send "&cYou are chilled " to loop-player + apply slowness to loop-player for 3 seconds + loop-player has lava bucket: + chance of 10%: + damage loop-player by 0.5 + send "&cThe lava in your inventory grows hotter" to loop-player + {injured.%loop-player%} is true: + chance of 10%: + set {_location} to location of loop-player + play 1 of effect "angryVillager" of data 1 at {_location} + damage loop-player by 0.5 + {injured.%loop-player%.length} is not set: + set {injured.%loop-player%.length} to 0 + add 1 to {injured.%loop-player%.length} + send "&cYour injuries need mending!" to loop-player + {injured.%loop-player%.length} is less than 5: + apply slowness to loop-player for 999 days + {injured.%loop-player%.length} is greater than 5: + {injured.%loop-player%.length} is less than 10: + apply slowness 2 to loop-player for 999 days + apply mining fatigue to loop-player for 1 minute + {injured.%loop-player%.length} is greater than 10: + apply slowness 3 to loop-player for 999 days + apply mining fatigue 2 to loop-player for 1 minute + apply weakness to loop-player for 30 seconds + + +on spawn of a creeper or a skeleton or a spider or zombie: + {unstable.%chunk at event-location%} is true: + chance of 20%: + cancel event + event-entity is a creeper: + spawn creeper at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned creeper for 999 days + apply speed to spawned creeper for 999 days + set {unstable.%spawned entity%} to true + spawn creeper at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned creeper for 999 days + apply speed to spawned creeper for 999 days + set {unstable.%spawned entity%} to true + event-entity is a zombie: + spawn zombie at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + equip spawned entity with iron sword of sharpness + set spawned entity's helmet to iron helmet + set {unstable.%spawned entity%} to true + spawn zombie at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + equip spawned entity with iron sword of sharpness + set spawned entity's helmet to iron helmet + set {unstable.%spawned entity%} to true + event-entity is skeleton: + spawn skeleton at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + equip spawned entity with bow + set spawned entity's helmet to gold helmet + set {unstable.%spawned entity%} to true + spawn skeleton at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + equip spawned entity with bow + set spawned entity's helmet to gold helmet + set {unstable.%spawned entity%} to true + event-entity is a spider: + spawn spider at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + apply jump to spawned entity for 999 days + set {unstable.%spawned entity%} to true + spawn spider at {_loc} + set name of spawned entity to "&cUnstable Spawn" + apply resistance 2 to spawned entity for 999 days + apply speed to spawned entity for 999 days + apply jump to spawned entity for 999 days + set {unstable.%spawned entity%} to true + + +on death of a creeper or a skeleton or a zombie or a spider: + entity's name is "&cUnstable Spawn": + chance of 10%: + chance of 2%: + add named item stack from "{@unstele}" to drops + add named item stack from "{@unstmetal}" to drops + +on damage of a player: + damage cause is fall: + chance of 15%: + set {_location} to location of victim + play 1 of effect "angryVillager" of data 1 at {_location} + set {injured.%victim%} to true + apply slowness to victim for 999 days + add 1 to damage + make score "&cINJURED" in board of victim to 1 + send "&cYou have been injured from your fall!" to victim + +on right click with paper: + player is holding named item stack from "{@bandages}": + {injured.%player%} is not set: + send "&cYou are not injured!" to player + stop + {injured.%player%} is false: + send "&cYou are not injured!" to player + stop + {injured.%player%} is true: + {injured.%player%.length} is greater than 5: + {injured.%player%.length} is less than 10: + remove mining fatigue from player + remove weakness from player + remove slowness from player + apply slowness to player for 999 days + send "&aYour injuries are healing" to player + set {injured.%player%.length} to 1 + remove named item stack from "{@bandages}" from player + stop + {injured.%player%.length} is greater than 10: + remove slowness from player + remove mining fatigue from player + apply mining fatigue to player for 999 days + apply slowness 2 to player for 999 days + remove weakness from player + set {injured.%player%.length} to 6 + send "&aYour injuries are healing" to player + remove named item stack from "{@bandages}" from player + stop + send "&aYou mend your injuries" to player + remove mining fatigue from player + remove weakness from player + remove slowness from player + remove named item stack from "{@bandages}" from player + nullify score "&cINJURED" in board of player + set {injured.%player%} to false + set {injured.%player%.length} to 0 + +on consume of water bottle: + {thirst.%player%} is greater than or equal to 100: + set {thirst.%player%} to 100 + cancel event + player is holding named item stack from "{@superbottle}": + add 50 to {thirst.%player%} + {thirst.%player%} is greater than 100: + set {thirst.%player%} to 100 + stop + {thirst.%player%} is greater than or equal to 100: + set {thirst.%player%} to 100 + cancel event + add 10 to {thirst.%player%} + {thirst.%player%} is greater than 100: + set {thirst.%player%} to 100 + +on death of a player: + {thirst.%player%} is 0: + set {thirst.%player%} to 25 + +command /ci []: + permission: obam.admin + trigger: + argument is not set: + send "list" + send "1 ... Super Water Bottle" + send "2 ... Bandages" + send "3 ... Unstable Metal Shard" + send "4 ... Unstable Metal Bar" + send "5 ... Stable Metal Bar" + send "6 ... Unstable Element" + send "7 ... Stable Element" + send "8 ... Environmental Radar" + send "9 ... Elemental Fuel" + send "10 ... Fairy Dust" + send "11 ... Stabilizer" + stop + argument is 1: + give named item stack from "{@superbottle}" to player + + argument is 2: + give named item stack from "{@bandages}" to player + + argument is 3: + give named item stack from "{@unstmetal}" to player + + argument is 4: + give named item stack from "{@unstmetalbar}" to player + + argument is 5: + give named item stack from "{@stablemetal}" to player + + argument is 6: + give named item stack from "{@unstele}" to player + + argument is 7: + give named item stack from "{@stableele}" to player + + argument is 8: + give named item stack from "{@envradar}" to player + + argument is 9: + give named item stack from "{@elefuel}" to player + + argument is 10: + give named item stack from "{@fairydust}" to player + + argument is 11: + give named item stack from "{@stable}" to player + + + send "Here is your thing" + +command /togglestats: + trigger: + + {board.%player%} is false: + set {board.%player%} to true + display board named "&9&lWTF&9fronts" to player + make score "&3Thirst" in board of player to {thirst.%player%} + move display of player to "sidebar" + stop + {board.%player%} is true: + set {board.%player%} to false + display board named " " to player + stop + {board.%player%} is not set: + display board named "&9&lWTF&9ronts" to player + make score "&3Thirst" in board of player to {thirst.%player%} + set {board.%player%} to true + move display of player to "sidebar" + stop + + + +on place: + former tool's name is set: + set {information.%block%.1} to former tool + send "DEBUG You placed %former tool's name%" + set {information.%block%.2} to lore of former tool + set {information.%block%.3} to name of former tool + send "DEBUG %block%" + send "DEBUG %{information.%block%.1}%" + send "DEBUG %lore of former tool%" + send "DEBUG %name of former tool%" + send "DEBUG %{information.%block%.2}%" + send "DEBUG %{information.%block%.3}%" + set {information.%block%.1} to "%{information.%block%.1}%" + +on break: + {information.%block%.1} is set: + cancel event + send "DEBUG I ama message" + set {_message} to "%{information.%block%.1}%;%{information.%block%.3}%;%{information.%block%.2}%" + send "DEBUG %{_message}%" + delete block + drop named item stack from "%{_message}%" at location of block + +on break of glowstone: + chance of 10%: + player's tool is pickaxe of silk touch: + stop + drop named item stack from "{@fairydust}" at location of event-block + +on right click with sugar: + player's tool is named item stack from "{@fairydust}": + player is flying: + stop + remove named item stack from "{@fairydust}" from player + send "&aYou can fly!" to player + allow player to fly + wait 5 seconds + disallow player to fly + + + \ No newline at end of file diff --git a/Obam-Testing/zbeta.sk b/Obam-Testing/zbeta.sk index 0aac857..4d4f058 100644 --- a/Obam-Testing/zbeta.sk +++ b/Obam-Testing/zbeta.sk @@ -100,21 +100,30 @@ command /zbeta [] [] []: clear {zbeta.player.list::*} loop all players in world "DB": loop-player's y coordinate is less than 37: + apply night vision to player for 999 days {_loop.count} is not set: set {_loop.count} to 0 add 1 to {_loop.count} {_loop.count} is not divisible by 2: teleport loop-player to {zbeta.spawn.red} clear loop-player's inventory - give diamond sword to loop-player set {zbeta.team.%loop-player%} to "red" set helmet of loop-player to red wool {_loop.count} is divisible by 2: teleport loop-player to {zbeta.spawn.yellow} clear loop-player's inventory - give diamond sword to loop-player set {zbeta.team.%loop-player%} to "yellow" set helmet of loop-player to yellow wool + + argument 1 is "status": + argument 2 is not set: + send "%{zbeta.team.%player%}%" + send "%{zbeta.lo.%player%}%" + stop + argument 2 is set: + send "%{zbeta.team.%argument 2%}%" + send "%{zbeta.lo.%argument 2%}%" + stop @@ -136,10 +145,843 @@ command /zbeta [] [] []: set {zbeta.%argument 2%.score} to 0 add 1 to {zbeta.%argument 2%.score} + {zbeta.%argument 2%.score} is 1: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to air + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 2: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 3: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 4: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 5: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 6: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 7: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 8: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 9: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to air + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to air + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to air + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to air + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 10: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 11: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to air + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 12: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 13: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 14: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + + + + {zbeta.%argument 2%.score} is 15: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 16: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 17: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 18: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 19: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 20: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 21: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to air + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 22: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 23: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 24: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to air + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + + + + {zbeta.%argument 2%.score} is 25: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 26: + set block at location of {score.%argument 2%.1} to air + set block at location of {score.%argument 2%.2} to air + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to air + set block at location of {score.%argument 2%.7} to air + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to air + set block at location of {score.%argument 2%.10} to redstone block + set block at location of {score.%argument 2%.11} to air + set block at location of {score.%argument 2%.12} to air + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to air + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + + {zbeta.%argument 2%.score} is 27: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to air + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to air + set block at location of {score.%argument 2%.20} to air + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 28: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to redstone block + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to redstone block + set block at location of {score.%argument 2%.25} to redstone block + set block at location of {score.%argument 2%.26} to redstone block + + {zbeta.%argument 2%.score} is 29: + set block at location of {score.%argument 2%.1} to redstone block + set block at location of {score.%argument 2%.2} to redstone block + set block at location of {score.%argument 2%.3} to redstone block + set block at location of {score.%argument 2%.4} to air + set block at location of {score.%argument 2%.5} to redstone block + set block at location of {score.%argument 2%.6} to redstone block + set block at location of {score.%argument 2%.7} to redstone block + set block at location of {score.%argument 2%.8} to redstone block + set block at location of {score.%argument 2%.9} to redstone block + set block at location of {score.%argument 2%.10} to air + set block at location of {score.%argument 2%.11} to redstone block + set block at location of {score.%argument 2%.12} to redstone block + set block at location of {score.%argument 2%.13} to redstone block + set block at location of {score.%argument 2%.14} to redstone block + set block at location of {score.%argument 2%.15} to redstone block + set block at location of {score.%argument 2%.16} to redstone block + set block at location of {score.%argument 2%.17} to redstone block + set block at location of {score.%argument 2%.18} to redstone block + set block at location of {score.%argument 2%.19} to redstone block + set block at location of {score.%argument 2%.20} to redstone block + set block at location of {score.%argument 2%.21} to redstone block + set block at location of {score.%argument 2%.22} to air + set block at location of {score.%argument 2%.23} to redstone block + set block at location of {score.%argument 2%.24} to air + set block at location of {score.%argument 2%.25} to air + set block at location of {score.%argument 2%.26} to redstone block broadcast "&e%argument 2% &ateam now has &e%{zbeta.%argument 2%.score}% &apoints!" {zbeta.%argument 2%.score} is greater than or equal to 30 execute console command "/zbeta end %argument 2%" + + + argument 1 is "deduct": {zbeta.%argument 2%.score} is not set: @@ -158,10 +1000,9 @@ command /zbeta [] [] []: delete loop-entity - -every 1 second: - loop all players: - set loop-player's hunger level to 10 + + + every 10 seconds: loop all zombies: @@ -197,7 +1038,23 @@ every 10 seconds: set leggings of spawned zombie to iron leggings set boots of spawned zombie to iron boots - + +command /lobby: + trigger: + {zbeta.game.active} is true: + send "&cYou can not do that during a game!" to player + stop + teleport player to {zbeta.lobby} + + +command /score : + permission: obam.admin + trigger: + set {score.%argument 1%.%argument 2%} to location of target block + send "&a%location of target block% now added to spot %argument 2% for %argument 1% team." + +on xp spawn: + cancel event on respawn: {zbeta.game.active} is true @@ -207,6 +1064,20 @@ on respawn: {zbeta.team.%player%} is "yellow": set helmet of player to yellow wool +every 1 second: + loop all players: + set loop-player's hunger level to 10 + +on death of a zombie: + clear drops + chance of 2%: + drop apple at event-location + +on pickup of apple: + cancel event + delete event-entity + send "&aYou have been healed by the apple!" to player + heal the player by 4 on right click on a sign: @@ -290,28 +1161,37 @@ on right click on a sign: apply speed 2 to the player for 999 days set {zbeta.lo.%player%} to "BAIT" +every 1 seconds: + loop all players: + loop-player's health is less than 7: + set {_location} to location of block above loop-player + play 1 of effect "heart" with data 1 at {_location} + on damage of a player: - damage cause is projectile: - {zbeta.team.%victim%} is {zbeta.team.%shooter%}: - {zbeta.lo.%shooter%} is "SUPPORT": - shooter's tool is named item stack from "{@Supp1}": - add 2 to victim's health - send "&aYou have been healed by %shooter%" to victim + attacker is player: - set damage to 0 {zbeta.team.%attacker%} is {zbeta.team.%victim%}: {zbeta.lo.%attacker%} is "SUPPORT": - attacker's tool is named item stack from "{@Supp1}": - add 2 to victim's health - send "&aYou have been healed by %attacker%" to victim - stop attacker's tool is named item stack from "{@Supp2}": - add 3 to victim's health + add 7 to victim's health send "&aYou have been healed by %attacker%" to victim + remove named item stack from "{@Supp2}" from attacker + stop + attacker's tool is not air: + attacker's tool is not arrow + victim has regeneration: + send "&cYou can not stack healing!" to attacker + cancel event + stop + send "You have healed %victim%!" to attacker + send "You have been healed by %attacker%" to victim + apply regeneration 2 to victim for 6 seconds + cancel event stop cancel event send "&cYou can not hurt your own team mates!" to attacker stop + set damage to 0 {zbeta.lo.%attacker%} is "Z-STABBER": attacker's tool is named item stack from "{@ZStab}": set {_dmg} to a random number between 0.09 to 0.12 @@ -324,7 +1204,7 @@ on damage of a player: attacker's tool is not named item stack from "{@PStab}": set {_dmg} to a random number between 0.1 and 0.4 {zbeta.lo.%attacker%} is "SUPPORT": - set {_dmg} to 0.025 + set {_dmg} to 0.050 {zbeta.lo.%attacker%} is "TANK": set {_dmg} to 0.050 @@ -408,6 +1288,8 @@ on target: apply speed 3 to event-entity for 10 seconds set {zbeta.%event-entity%.speed} to true + +