diff --git a/game/modules/tome/data/achievements/kills.lua b/game/modules/tome/data/achievements/kills.lua index a60ec9bc38bbfb4e772cfb5b6adfc5a79dd9861a..1b6a8d17ad5a864fce26ca919118a57d4d3753bc 100644 --- a/game/modules/tome/data/achievements/kills.lua +++ b/game/modules/tome/data/achievements/kills.lua @@ -151,6 +151,19 @@ newAchievement{ track = function(self) return tstring{tostring(self.nb or 0)," / 20"} end, } +newAchievement{ + name = "Headbanger", id = "HEADBANG", + show = "full", + desc = [[Headbanged 20 bosses to death.]], + mode = "player", + can_gain = function(self, who, target) + if target.rank < 3.5 then return false end + self.nb = (self.nb or 0) + 1 + if self.nb >= 20 then return true end + end, + track = function(self) return tstring{tostring(self.nb or 0)," / 20"} end, +} + newAchievement{ name = "Are you out of your mind?!", id = "UBER_WYRMS_OPEN", image = "npc/dragon_multihued_multi_hued_drake.png", diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index 44a5ae584745dcdb0d51b558c525eaa8a51418e9..965db1248416ff1ac814abf6ce07d968f6282963 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -5123,7 +5123,7 @@ newEntity{ base = "BASE_TOOL_MISC", --Sorta Thanks Donkatsu! newEntity{ base = "BASE_RING", power_source = {technique=true, nature=true}, - name = "Ring of Growth", unique=true, image = "object/ring_of_growth.png", + name = "Ring of Growth", unique=true, image = "object/artifact/ring_of_growth.png", desc = [[This small wooden ring has a single green stem wrapped around it. Thin leaves still seem to be growing from it.]], unided_name = "vine encircled ring", level_range = {6, 20}, diff --git a/game/modules/tome/data/talents/techniques/thuggery.lua b/game/modules/tome/data/talents/techniques/thuggery.lua index 6b2f884636606a5307de7508bd49be861d7b17f7..e061da9e740230466fb355d5c461b2e69cc528cc 100644 --- a/game/modules/tome/data/talents/techniques/thuggery.lua +++ b/game/modules/tome/data/talents/techniques/thuggery.lua @@ -60,6 +60,9 @@ newTalent{ else game.logSeen(target, "%s resists the headblow!", target.name:capitalize()) end + if target:attr("dead") then + world:gainAchievement("HEADBANG", self, target) + end end return true