function ADVR.onLoad() achievement.psvrID = 51 achievement.hideDescription = false achievement.unlocksItem = relics.HOLY_UNDERWEAR achievement.predecessors = {achievements.THE_BESTIARY} achievement.showProgressBar = true achievement.category = "combat" end function ADVR.onEntityDeath(living, source) if source == player.LocalPlayerRef and living.IsAbberrant() then -- Fallback to convert old statistic to new system local killed = game.LoadInt("ach_champions_killed", 0) game.playerStatistics.SetHighLowScore(statistic.TOTAL_AMOUNT_OF_ABERRANT_ENEMIES_KILLED, killed) if game.playerStatistics.GetStatistic(statistic.TOTAL_AMOUNT_OF_ABERRANT_ENEMIES_KILLED) >= 100 then achievement.Unlock() end end end function GetProgressInfo() local killed = game.playerStatistics.GetStatistic(statistic.TOTAL_AMOUNT_OF_ABERRANT_ENEMIES_KILLED) return killed, 100 end