function ADVR.onLoad() achievement.psvrID = 44 achievement.hideDescription = false achievement.unlocksItem = relics.WARTHOG_UNDERBELLY achievement.priority = -1000 -- make this so it runs last in the execution of onSwordHit events so we have the final damage we can check for achievement.predecessors = {achievements.UR2OP} achievement.category = "combat" end function ADVR.onPrimaryHitEntity(infos) if infos.entity == nil then return infos.damage end if infos.damage >= 25 then achievement.Unlock() end return infos.damage end function ADVR.onSecondaryHitEntity(infos) if infos.entity == nil then return infos.damage end if infos.damage >= 25 then achievement.Unlock() end return infos.damage end