#acid rain

1 messages · Page 1 of 1 (latest)

light coral
#

I have been looking everywhere for someone who knows how to make an acid rain skript. I just can't figure out how to do it.

polar canyon
#

i think in pseudo just make this
if there is rain
and player dont have block in the 500 blocks above him

give him instant damage 1
wait 0.5 secend
run all the above again

vague narwhal
#

yeah you start a loop when player joins
if weather is rain and highest block at player's location is below player
and player is wet
damage player
wait 1 second

#

might damage em when they are in water but you can fix that prolly

polar canyon
vague narwhal
#

dont see how is your better honestly

light coral
vague narwhal
#

its an if statement provided by skript

polar canyon
vague narwhal
#

yeah your is just checking weather and guess what it doesnt rain in deserts xd

#

but you'd still get damage

#

i suppode you can check if player isnt in water

polar canyon
vague narwhal
#

the block above player check isnt really necessary if using wet

polar canyon
light coral
vague narwhal
#

id suggest learning some basics and reading docs

#

noone will give you code here

light coral
#

no but thats the code I have been searching for

#

it has been fault in every code I find

vague narwhal
#

would you mind sending the code you found

#

and ideally error too

light coral
#

d

polar canyon
light coral
#

``
variable {clima} boolean

Agrega los mundos permitidos aquí

Por ejemplo, para permitir los mundos "world" y "world_nether"

set {mundos-permitidos::*} to "world", "world_nether"

on load:
repeat every 10 minutes:
set {clima} to false
if random integer between 1 and 10 is 1:
set {clima} to true
broadcast "&6¡Comenzó la lluvia ácida con partículas de slime!"
play sound "entity.lightning_bolt.impact"

on {clima} change to true:
if {_worlds::*} contains world of player:
spawn a slime particle at every player
set rain with particles of slime
set thunder to true
on player move:
if it's raining and player is standing on air:
add potion of poison 7 seconds to player

on {clima} change to false:
stop rain
set thunder to false

command antipoisonpotion:
trigger:
if player has permission "antpoisonpotion.usar":
# Crea una nueva poción y da al jugador una cantidad de ella
give 1 potion of harming named "&2Poción Anti-Veneno" with lore "&7Duración: 2 minutos" to player
# Hace que el jugador sea inmune al veneno por 2 minutos
set {_efecto} to new potion effect of type poison with duration 120 seconds and amplifier 0
add {_efecto} to player
# Crea una tarea para actualizar la action bar cada segundo
repeat 119 times:
send action bar "&2Poción Anti-Veneno: &7Tiempo restante: {119 - loop-1} segundos"
wait 1 second
# Remueve la poción del inventario del jugador y el efecto de inmunidad al veneno
remove 1 potion of harming named "&2Poción Anti-Veneno" from player
remove potion effect {_efecto} from player
# Muestra un mensaje en la action bar indicando que la poción ha desaparecido
send action bar "&c¡La poción anti-veneno ha desaparecido!"
else:
send "&cNo tienes permiso para usar esta poción."
``

vague narwhal
#

dont you dare sending ai code here

light coral
vague narwhal
#

nothing ignore him

#

it wont help you with skript

polar canyon
vague narwhal
light coral
#

why is that word blocked

cerulean thunder
#

if you have skript-mirror then minecraft has a method to check if a player is being rained on

vague narwhal
#

vanilla skript has it too

cerulean thunder
#

i think the wet one uses water or rain

#

but there's one that just checks rain too

vague narwhal
#

you can check if block at player is water 🤷

#

if no they are prolly in rain

cerulean thunder
#

a cauldron might be wet too

#

also waterlogged blocks

vague narwhal
#

those blocks have roof above them 99% of the time

#

but ye you are right

#

Skream has "In Rain" condition

#

but that addon seems to be outdated

cerulean thunder
#

i don't think anybody maintains that

light coral
sterile lynx
#

get weather and biome, whether block is unthroughable(?)

red arrow
light coral
red arrow
#

ok.

#
on join:
  while player is online:
    if weather of world of player is rain or thunder:
      if y-coord of player > y-coord of highest block at player:
        damage player by 0.5
    wait 1 second
#

@light coral

light coral
red arrow
#

Any time.

light coral
# red arrow Any time.

How do I make it so there's a 60 % chance when it rains that it will rain acid and before it does there is a warning?

red arrow
#
on weather change to rain:
  chance of 100%:
    send "&2Warning: &aAcid rain incoming!" to players in event-world
    wait 3 seconds # Give everyone a chance to take cover.
    while weather in event-world is rain:
      loop players in event-world:
        damage loop-player by 0.5
      wait 1 second
#

@light coral

red arrow
#

Np

light coral
red arrow
#

From what I know, spawning a wither creates a fog by nature.

#

Other then that, no idea.

#

Maybe a shrinking world border effect (red vignette)

shy summit