I need a little help making a stackable totem out of candles.
Main goals
- Totem resurrection pop up will show a candle instead of totem
- Have only items in offhand/main hand taken, rather than candles be taken from inside the inventory
So far I have this:
on damage of player:
if damage >= victim's health:
if victim has candle named "&3&lCandle":
cancel event
set victim's health to 1
remove 1 candle named "&3&lCandle" from victim
play resurrection by totem on the victim
apply regeneration 2 to victim for 45 seconds
apply absorption 2 to victim for 5 seconds
apply fire resistance to victim for 40 seconds
send "&3&candle &7saved your life!" to victim
Only thing I'd like to change is the totem becoming a candle in the resurrection by totem animation rather than a totem
I'm just not sure how to do this,
Main goals
- Totem resurrection pop up will show a candle instead of totem
- Have only items in offhand/main hand taken, rather than candles be taken from inside the inventory
So far I have this:
on damage of player:
if damage >= victim's health:
if victim has candle named "&3&lCandle":
cancel event
set victim's health to 1
remove 1 candle named "&3&lCandle" from victim
play resurrection by totem on the victim
apply regeneration 2 to victim for 45 seconds
apply absorption 2 to victim for 5 seconds
apply fire resistance to victim for 40 seconds
send "&3&candle &7saved your life!" to victim
Only thing I'd like to change is the totem becoming a candle in the resurrection by totem animation rather than a totem
I'm just not sure how to do this,
Last edited: