Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Replace 'is burning' with 'fire ticks of %entity%'

Open TrademarkTM opened this issue 8 years ago • 4 comments

Hey! This is just a small suggestion to make burn expression more useful.

Basically it would change %entities% (is|are) (burning|ignited|on fire) to %entities%'s (burn time|fire ticks) or (burn time|fire ticks) of %entities%. It would return a number, so if it's 0 it means the entity is not burning.

It'd also allow you to set and add more fire ticks, so you can make someone burn for a longer time.

Thanks once again.

TrademarkTM avatar Oct 11 '17 23:10 TrademarkTM

Why would it be replaced? %entities% (is|are) (burning|ignited|on fire) isn't even a expression anyway, it's a condition. If anything, this should be a new expression.

Pikachu920 avatar Oct 12 '17 01:10 Pikachu920

Fire ticks would do the same thing as is burning, as you can check if it's 0, so I don't think both would be needed.

TrademarkTM avatar Oct 12 '17 01:10 TrademarkTM

Well for one is burning would be needed for backwards compatibility, and it increases the englishness of skript. While you can do direct comparisons like that, for example if damage cause is fire, skript also lets you do things like if the damage was caused by fire

Pikachu920 avatar Oct 12 '17 02:10 Pikachu920

I agree it shouldn't replace the old expression, but still a good idea.

TheBentoBox avatar Oct 13 '17 12:10 TheBentoBox