Called when a status effect is about to be applied to an Entity. Allows returning another Entity to apply the status effect to instead. Will still attempt to recursively copy the status effect to all children, so best used with desired Parent.
Usage:
mod:AddCallback(ModCallbacks.MC_GET_STATUS_EFFECT_TARGET, function (_, entity)
print(entity.Type)
return Isaac.GetPlayer()
end, EntityType.ENTITY_MINISTRO)
Called when a status effect is about to be applied to an Entity. Allows returning another Entity to apply the status effect to instead. Will still attempt to recursively copy the status effect to all children, so best used with desired Parent.
Usage: