Add fire resistance splash/lingering potions
This commit is contained in:
parent
04a96e42ed
commit
05d28af9e1
|
@ -236,6 +236,14 @@ register_lingering("weakness_plus", "Lingering Weakness +", "#7700BB", {
|
||||||
potion_fun = function(player, redx) mcl_potions.weakness_func(player, -4, mcl_potions.DURATION_PLUS*mcl_potions.INV_FACTOR*0.25) end
|
potion_fun = function(player, redx) mcl_potions.weakness_func(player, -4, mcl_potions.DURATION_PLUS*mcl_potions.INV_FACTOR*0.25) end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
register_splash("fire_resistance", "Lingering Fire Resistance", "#D0A040", {
|
||||||
|
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, mcl_potions.DURATION) end
|
||||||
|
})
|
||||||
|
|
||||||
|
register_splash("fire_resistance_plus", "Lingering Fire Resistance +", "#E0B050", {
|
||||||
|
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, mcl_potions.DURATION_PLUS) end
|
||||||
|
})
|
||||||
|
|
||||||
register_lingering("strength", "Lingering Strength", "#D444D4", {
|
register_lingering("strength", "Lingering Strength", "#D444D4", {
|
||||||
potion_fun = function(player, redx) mcl_potions.strength_func(player, 3, mcl_potions.DURATION) end
|
potion_fun = function(player, redx) mcl_potions.strength_func(player, 3, mcl_potions.DURATION) end
|
||||||
})
|
})
|
||||||
|
|
|
@ -214,11 +214,11 @@ register_splash("water_breathing_plus", "Splash Water Breathing +", "#0000CC", {
|
||||||
potion_fun = function(player, redx) mcl_potions.water_breathing_func(player, splash_DUR_pl*redx) end
|
potion_fun = function(player, redx) mcl_potions.water_breathing_func(player, splash_DUR_pl*redx) end
|
||||||
})
|
})
|
||||||
|
|
||||||
register_splash("water_breathing_plus", "Splash Fire Resistance", "#D0A040", {
|
register_splash("fire_resistance", "Splash Fire Resistance", "#D0A040", {
|
||||||
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, splash_DUR*redx) end
|
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, splash_DUR*redx) end
|
||||||
})
|
})
|
||||||
|
|
||||||
register_splash("water_breathing_plus", "Splash Fire Resistance +", "#E0B050", {
|
register_splash("fire_resistance_plus", "Splash Fire Resistance +", "#E0B050", {
|
||||||
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, splash_DUR_pl*redx) end
|
potion_fun = function(player, redx) mcl_potions.fire_resistance_func(player, splash_DUR_pl*redx) end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue