#acid rain
1 messages · Page 1 of 1 (latest)
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
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
how do I check for a block?
thats why mine is better
dont see how is your better honestly
how do I check if player is wet
its an if statement provided by skript
cause mine isnt using wet
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
i am better with C sow i will just do a loop for get block data and if its air i+1 and run again until 500
else damage
the block above player check isnt really necessary if using wet
but this is break the water
how do I check if the highest block is below player?
no but thats the code I have been searching for
it has been fault in every code I find
you can help me with https://discord.com/channels/135877399391764480/1209208791829053511
?
d
you can use G-P-T-4 maybe it will work
``
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."
``
dont you dare sending ai code here
what is that
oh ok
this isnt even a skript code
why is that word blocked
if you have skript-mirror then minecraft has a method to check if a player is being rained on
vanilla skript has it too
i think the wet one uses water or rain
but there's one that just checks rain too
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
i don't think anybody maintains that
So what do I do?
get weather and biome, whether block is unthroughable(?)
Did you fix acid rain yet?
No
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
I will try it when I get home, thanks
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?
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
Thanks
Np
Is it possible to make acid fog?
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)
can just use particles or large display entities, then damage them if they're in it
how would I use entities