skript isteği

procycraft

Marangoz
En iyi cevaplar
0
arkadaşlar basit bir skript istegim var örneğin mobspawn adında bir çubuga sağ bastıgımızda şansa göre mob atacak

%10zombiee ,
%20skeleton
%30 creeper

tarzı eskiden elimde vardı kaybettim yapabilen varsa sevinirim
 

walkingcat

Ağaç Yumruklayıcı
En iyi cevaplar
0
İstedigin sey tam olarak bu olabilirmi?


Kod:
command /givemobstick:
  trigger:
    give stick named "MobSpawn" to player
on rightclick:
  if player is holding stick named "MobSpawn":
    chance of 10%:
      spawn creeper
    chance of 20%:
      spawn skeleton
    chance of 30%:
      spawn zombie
 
Son düzenleme:

procycraft

Marangoz
En iyi cevaplar
0
İstedigin sey tam olarak bu olabilirmi?


Kod:
command /givemobstick:
  trigger:
    give stick named "MobSpawn" to player
on rightclick:
  if player is holding stick named "MobSpawn":
    chance of 10%:
      spawn creeper
    chance of 20%:
      spawn skeleton
    chance of 30%:
      spawn zombie


hayır bundan var zaten, bir iteme rastgele ismi sadhsah felan bastıgında bir konuma atacak kordinasyonuna 2 500 250 ye gibi . birde özel verdirme kodu olursa o eşyayı ben editlerim kalanını
 

walkingcat

Ağaç Yumruklayıcı
En iyi cevaplar
0
Pek anlamadım ama dedigin sey bu olabilir.
Kod:
command /randomlocation [<text>]:
  trigger:
    if arg 1 is "set":
      add location of player to {random.location::*}
      send "%location of player%" to player
    if arg 1 is "del":
      delete {random.location::*}
command /givemobstick:
  trigger:
    give stick named "MobSpawn" to player
on rightclick:
  if player is holding stick named "MobSpawn":
    set {_location.%player%} to random element out of {random.location::*}
    teleport player to {_location.%player%}
    wait 1 tick
    chance of 10%:
      spawn creeper to location of player
    chance of 20%:
      spawn skeleton to location of player
    chance of 30%:
      spawn zombie to location of player
 
Üst