Kod:
every 5 second:
loop all players:
execute loop-player command "scoreboard"
command /scoreboard:
trigger:
wait 20 tick
set name of sidebar of player to "&8Quests"
set score "&a" in sidebar of player to 3
delete score " Luicy: Kill Five Pigs %{firstquestpigkill.%player%}%/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs <none>/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs 1/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs 2/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs 3/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs 4/5 " in sidebar of player
delete score " Luicy: Kill Five Pigs 5/5 " in sidebar of player
delete score " Talk With Luicy " in sidebar of player
wait 1 tick
set score "&f" in sidebar of player to 1
if {firstquest.%player%} is 1:
set score " Luicy: Kill Five Pigs %{firstquestpigkill.%player%}%/5 " in sidebar of player to 2
if {firstquest.%player%} is 0:
set score " Talk With Luicy " in sidebar of player to 2
if {firstquest.%player%} is not set:
set score " Talk With Luicy " in sidebar of player to 2
on rightclick on entity:
name of clicked entity is "Luicy":
wait 2 ticks
if {firstquest.%player%} is not set:
if {firstquestchatting.%player%} is not set:
set {firstquestchatting.%player%} to 1
bind hologram "&8&l> &fYou are animal warrior right? Can you kill five pig for me? &8&l<" to player for 5 seconds offset by -2, 2, 0.0
wait 5 second
bind hologram "&8&l> &4Why? (Right Click) &8&l<" to player for 5 seconds offset by -2, 2, 0.0
bind hologram "&8&l> &4No (Left Click) &8&l<" to player for 5 seconds offset by -2, 1.5, 0.0
set {thefirstselection.%player%} to 1
if {firstquest.%player%} is 1:
if {firstquestpigkill.%player%} is 5:
bind hologram "&8&l> &fHere you go thanks! &8&l<" to player for 5 seconds offset by -2, 2, 0.0
bind hologram "&8&l> &2You Got 5 XP and 120 MONEY &8&l<" to player for 2 seconds offset by -2, 0, 0.0
wait 2 second
bind hologram "&8&l> &2You Got 5 XP and 120 MONEY &8&l<" to player for 2 seconds offset by -2, 1, 0.0
wait 2 second
bind hologram "&8&l> &2You Got 5 XP and 120 MONEY &8&l<" to player for 1 seconds offset by -2, 2, 0.0
execute console command "eco give %player% 120"
execute console command "xp 5 CaptainBuggy"
set {firstquestpigkill.%player%} to 0
set {firstquest.%player%} to 2
else:
message "&fYour Pig Kills : %{firstquestpigkill.%player%}%" to player
on rightclick on entity:
name of clicked entity is "Luicy":
if {thefirstselection.%player%} is 1:
bind hologram "&8&l> I'll pay you &25 XP &fand &2120 MONEY &8&l<" to player for 5 seconds offset by -2, 2, 0.0
wait 5 second
bind hologram "&8&l> &4Ok &8&l<" to player for 5 seconds offset by -2, 2, 0.0
bind hologram "&8&l> &4No &8&l<" to player for 5 seconds offset by -2, 1.5, 0.0
wait 1 tick
set {thefirstselection.%player%} to 0
set {thesecondselection.%player%} to 1
on damage:
name of damaged entity is "Luicy":
if {thefirstselection.%attacker%} is 1:
set {thefirstselection.%attacker%} to 0
on damage:
name of damaged entity is "Luicy":
if {thesecondselection.%attacker%} is 1:
set {thefirstselection.%attacker%} to 0
on rightclick on entity:
name of clicked entity is "Luicy":
if {thesecondselection.%player%} is 1:
bind hologram "&8&l> &fLook behind you to kill pig &8&l<" to player for 5 seconds offset by -2, 2, 0.0
set {thesecondselection.%player%} to 0
set {firstquest.%player%} to 1
on death of pig:
if attacker is a player:
if {firstquest.%attacker%} is 1:
add 1 to {firstquestpigkill.%attacker%}
on death of wolf:
if attacker is a player:
if {firstbosscountdown.%attacker%} is 100:
execute attacker command "firstboss"
else:
add 1 to {firstbosscountdown.%attacker%}
command /firstboss:
trigger:
execute player command "eb mob spawn Alpha"
execute player command "eb mob spawn Wolft"
execute player command "eb mob spawn Wolfr"
execute player command "eb mob spawn Wolfe"
execute player command "eb mob spawn Wolfw"
execute player command "eb mob spawn Wolfq"
every minutes:
execute console command "summon Pig 450 89 -496"
execute console command "summon Pig 452 89 -490"
every 5 minutes:
execute console command "killall mobs pig world"
Görev Chattan Holograma Çevrildi
Domuz Spawnı Eklendi
100 kurt öldürmede otomatik olarak boss gelmesi eklendi
Kod:
Alpha:
Mobtype: wolf
Display: '&6Alpha'
Health: 250
Damage: 5
ShowHealth: true
Despawn: false
Skills:
- cmd 'bomb' =100 1
Wolfq:
Mobtype: wolf
Display: '&2Wolf'
Health: 125
Damage: 2
ShowHealth: false
Despawn: false
Wolfw:
Mobtype: wolf
Display: '&2Wolf'
Health: 125
Damage: 2
ShowHealth: false
Despawn: false
Wolfe:
Mobtype: wolf
Display: '&2Wolf'
Health: 125
Damage: 2
ShowHealth: false
Despawn: false
Wolfr:
Mobtype: wolf
Display: '&2Wolf'
Health: 125
Damage: 2
ShowHealth: false
Despawn: false
Wolft:
Mobtype: wolf
Display: '&2Wolf'
Health: 125
Damage: 2
ShowHealth: false
Despawn: false
fairboss:
Mobtype: skeleton
Display: '&dHardcore Boss'
Health: 100
Damage: 10
ShowHealth: true
Despawn: false
Skills:
- pack SwarmZombie =50 1
- swarm zombie:1:5 <0 0.2
Loot:
- loot1:1
- loot2:2
- loot3:3
Equipment:
- loot5
sheep:
Mobtype: sheep
Display: '&2Green Sheep'
Health: 500
Damage: 0
ShowHealth: true
Despawn: false
Tags:
Color: 10
firstboss:
Bosslist: Alpha,Wolfq,Wolfw,Wolfe,Wolfr,Wolft
Son düzenleme: