diff --git a/game/modules/tome/data/general/npcs/xorn.lua b/game/modules/tome/data/general/npcs/xorn.lua index 692704aed2c591ae54f6125e4c796245b83c1468..ccd3329a1e07a05a9394b8591db8663f6605ae3f 100644 --- a/game/modules/tome/data/general/npcs/xorn.lua +++ b/game/modules/tome/data/general/npcs/xorn.lua @@ -148,7 +148,7 @@ newEntity{ base = "BASE_NPC_XORN", define_as="TEST", newEntity{ base = "BASE_NPC_XORN", define_as = "FULL_HARKOR_ZUN", name = "Harkor'Zun", color=colors.VIOLET, unique=true, desc = [[A gigantic demon composed of elemental Earth resembling a twisted Xarn but much much larger. It doesn't seem pleased with your presence.]], - level_range = {30, nil}, exp_worth = 2, + level_range = {23, nil}, exp_worth = 2, rank = 3.5, size_category = 5, autolevel = "warriormage", @@ -172,4 +172,10 @@ newEntity{ base = "BASE_NPC_XORN", define_as = "FULL_HARKOR_ZUN", [Talents.T_STONE_SKIN]=5, }, resolvers.sustains_at_birth(), + + on_die = function(self) + if profile.mod.allow_build.mage then + game:setAllowedBuild("mage_geomancer", true) + end + end, } diff --git a/game/modules/tome/data/texts/unlock-mage_geomancer.lua b/game/modules/tome/data/texts/unlock-mage_geomancer.lua new file mode 100644 index 0000000000000000000000000000000000000000..2fee8e2ac37401932cd137354590de39f3804ed9 --- /dev/null +++ b/game/modules/tome/data/texts/unlock-mage_geomancer.lua @@ -0,0 +1,38 @@ +-- ToME - Tales of Maj'Eyal +-- Copyright (C) 2009, 2010 Nicolas Casalini +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +-- Nicolas Casalini "DarkGod" +-- darkgod@te4.org + +return "New Class: #LIGHT_GREEN#Geomancer", +[[ +Magic has not disappeared from Maj'Eyal with the end of the Spellhunt. + +During the Age of Dusk, as the Spellhunt was nearing its end, a powerful mage of the Kar'Krul, Linaniil, created a save heaven for the few remaining mages of all races. +This place is Angolwen, the City of Magic, and for over two thousands years has taught magic to preserve and expand it. + +You have uncovered the secrets of the stone magic by killing the earth elemental Harkor'Zun and can now create new characters with the #LIGHT_GREEN#Geomancer class#WHITE#. + +Geomancers are specialized archmages, attuned to the magical properties of stone. +Class features:#YELLOW# +- Turn your body into stone, making you immovable but providing many benefits. +- Unleash earthquakes on your foes. +- Learn to master the Crystaline Focus, making your physical attacks so powerful they can damage even those resistant to normal physical damage. +- Manipulate the forces of magic themselves#WHITE# + +All mages use mana to cast their spells. +It slowly replenishes over time. +]]