Skip to content
Snippets Groups Projects
Commit e5bd5ebb authored by dg's avatar dg
Browse files

aze

git-svn-id: http://svn.net-core.org/repos/t-engine4@497 51575b47-30f0-44d4-a5cc-537603b46e54
parent 97825fc0
No related branches found
No related tags found
No related merge requests found
......@@ -17,28 +17,6 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
-------------- Levels
newAchievement{
name = "Level 10",
desc = [[Got a character to level 10.]],
}
newAchievement{
name = "Level 20",
desc = [[Got a character to level 20.]],
}
newAchievement{
name = "Level 30",
desc = [[Got a character to level 30.]],
}
newAchievement{
name = "Level 40",
desc = [[Got a character to level 40.]],
}
newAchievement{
name = "Level 50",
desc = [[Got a character to level 50.]],
}
--------------- Main objectives
newAchievement{
name = "Vampire crusher",
......@@ -48,21 +26,3 @@ newAchievement{
name = "A dangerous secret",
desc = [[Found the mysterious staff and told Minas Tirith about it.]],
}
--------------- Misc
newAchievement{
name = "That was close",
desc = [[Kill your target while having only 1 life left.]],
}
newAchievement{
name = "Size matters",
desc = [[Do over 600 damage in one attack]],
}
newAchievement{
name = "Exterminator",
desc = [[Killed 1000 creatures]],
can_gain = function(who)
who.nb_kill_creatures = (who.nb_kill_creatures or 0) + 1
if who.nb_kill_creatures >= 1000 then return true end
end
}
......@@ -20,7 +20,8 @@
newAchievement{
name = "Elementalist",
desc = [[Maxed all elemental spells.]],
can_gain = function(who)
mode = "player",
can_gain = function(self, who)
local types = table.reverse{"spell/fire", "spell/earth", "spell/water", "spell/air"}
local nb = 0
for id, _ in pairs(who.talents) do
......@@ -34,7 +35,8 @@ newAchievement{
newAchievement{
name = "Warper",
desc = [[Maxed all arcane, conveyance, divination and temporal spells.]],
can_gain = function(who)
mode = "player",
can_gain = function(self, who)
local types = table.reverse{"spell/arcane", "spell/temporal", "spell/conveyance", "spell/divination"}
local nb = 0
for id, _ in pairs(who.talents) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment