#cancel dame on mob from tnt

1 messages · Page 1 of 1 (latest)

fervent storm
#

add : at the end of checking if victim is a mob and change to mob

#

instead of mobs

cursive parrot
fervent storm
#

no

cursive parrot
#

would you retype for me

fervent storm
#
on damage:
    if victim is a mob:
        cancel event
#

this should work

cursive parrot
fervent storm
#

uhh

#

instead of cancel event

#

try set damage to 0

#

or 0.1

cursive parrot
fervent storm
#

change on damage to on damage from tnt

#

should work

cursive parrot
#

it doesnt work

tacit gulch
#

On damage from primed tnt? I’m not positive about this one

cursive parrot
#

i think should use if attacker is a tnt

cursive parrot
tacit gulch
#

Alr

cursive parrot
fervent storm
#

send your code

cursive parrot
#

yes sir

fervent storm
#

bruh

#

why cancel event

#

and set damage to 0.1

cursive parrot
#

i want cancel damage from tnt to mob

#

but i still want mob reveice hit effect sir

cursive parrot
fervent storm
#

SET THE DAMAGE TO 0.1

#

it will take damage but not alot

cursive parrot
fervent storm
#

try on damage from explosive

#

or explode

#

and dont call me sir

cursive parrot
fervent storm
#

just call me permix

cursive parrot
fervent storm
#

search the docs then idk

steady jungle
#

should work

cursive parrot
steady jungle
#

wtf do you mean it doesnt work

#

i just tested it

cursive parrot
steady jungle
cursive parrot
#

thanks Leafy 😁

cursive parrot
# steady jungle

leafy i just set damage to 0.1 but the mobs still do not reveice the hit effect

#

what should i do next

steady jungle
#

bro

#

check your skript

#

learn to indent

#

if there is a : at the end of a line, you indent the next line once more

cursive parrot
#

thanks leafy i remove cancel event and it work correctly 100% follow my brain

steady jungle
#

i assume you also indented if "if victim is a mob" part right?

cursive parrot
#

yes leafy

steady jungle
#

ok good

cursive parrot
#

i press tab key