function ADVR.onLoad() achievement.hideDescription = false achievement.category = "combat" achievement.predecessors = {achievements.ORB_SOME_TRIO} achievement.unlocksItem = "coins:25" end function ADVR.onPotionEffectStarted(potion, effectInstance) if potion.id ~= potions.DEMANDING_ORB or effectInstance.affectedPlayer == nil then return end -- Each active demanding_orb effect on the player grants +1 attack damage, -- which matches potion.GetTimesPlayerAffected() on the demanding_orb representation. if potion.GetTimesPlayerAffected() >= 3 then achievement.Unlock() end end