remove entity:utils/damage
check for boss fight
#39
Labels
datapack
Issues pertaining to the datapack
enhancement
New feature or request
good first issue
Good for newcomers
while attacks are still being developed and validated, we have an
execute unless entity @e[tag=boss_fight] ...
check since thedamage
function can take in anfrom
argument at the end to specify who did the damage (see wiki)we'll want to specify that the
boss_fight
entity did the damage so that when someone dies it saysproblem is we also want to be able to run attacks individually (not restricted to running them only during the boss fight) while developing them (e.g.
function _:attack/homing-vines
). so we split thedamage
command into two versions:boss_fight
entity the cause of damage if it existsboss_fight
doesn't existhttps://github.com/TheAfroOfDoom/omega-flowey-minecraft-remastered/blob/afb1cc943424e4145c365b8503f9b30655effa6f/datapacks/omega-flowey/data/entity/functions/utils/damage.mcfunction#L1-L6
this split will be an unnecessary check once all
attack
s are completed and the boss fight runs in entirety, so we should remove this check then and convert the function to the single line:The text was updated successfully, but these errors were encountered: