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

New zone: Vor Pride

git-svn-id: http://svn.net-core.org/repos/t-engine4@953 51575b47-30f0-44d4-a5cc-537603b46e54
parent d2c4bca7
No related branches found
No related tags found
No related merge requests found
File added
File added
File added
-- ToME - Tales of Middle-Earth
-- 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#Cryomancer",
[[
Magic has not disappeared from Middle-earth with the downfall of Sauron and the departing of Gandalf the Grey.
Before the war of the ring, Gandalf, fearing that he might die leaving his task incomplete, started a secret plan with a group of trusted elves and men to form a place of knowledge, hidden from all.
This place is Angolwen, the City of Magic, and for over one hundred years has taught magic to preserve and expand it.
You have uncovered the secrets of the ice magic and can now create new characters with the #LIGHT_GREEN#Cryomancer class#WHITE#.
Pyromancers are specialized archmages, attuned to the magical properties of ice.
Class features:#YELLOW#
- Cast potent ice spells to freeze your foes.
- Freeze your foes and make them shatter into pieces.
- Learn to master the Uttercold, a cold so cold it can pierce even those resistant to normal cold.
- Manipulate the forces of magic themselves#WHITE#
All mages use mana to cast their spells.
It slowly replenishes over time.
]]
......@@ -28,7 +28,7 @@ return {
persistent = "zone",
-- all_remembered = true,
all_lited = true,
ambiant_music = "Bazaar of Tal-Mashad.ogg",
ambiant_music = "Thrall's Theme.ogg",
generator = {
map = {
class = "engine.generator.map.Town",
......
......@@ -18,5 +18,5 @@
-- darkgod@te4.org
load("/data/general/grids/basic.lua")
load("/data/general/grids/sand.lua")
load("/data/general/grids/forest.lua")
load("/data/general/grids/water.lua")
......@@ -41,12 +41,14 @@ newEntity{ base="BASE_NPC_ORC_VOR", define_as = "VOR",
autolevel = "caster",
ai = "dumb_talented_simple", ai_state = { talent_in=1, ai_move="move_astar", },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1, HEAD=1 },
resolvers.equip{
{type="weapon", subtype="staff", ego_change=100, autoreq=true},
{type="armor", subtype="cloth", ego_change=100, autoreq=true},
{type="armor", subtype="head", defined="CROWN_ELEMENTS", autoreq=true},
},
resolvers.drops{chance=100, nb=1, {defined="ORB_ELEMENTS"} },
resolvers.drops{chance=100, nb=5, {ego_chance=100} },
resolvers.talents{
......@@ -72,7 +74,7 @@ newEntity{ base="BASE_NPC_ORC_VOR", define_as = "VOR",
},
on_die = function(self, who)
game.player:resolveSource():setQuestStatus("orc-pride", engine.Quest.COMPLETED, "rak-shor")
game.player:resolveSource():setQuestStatus("orc-pride", engine.Quest.COMPLETED, "vor")
if not game.player:hasQuest("pre-mount-doom") then
game.player:grantQuest("pre-mount-doom")
end
......
......@@ -21,19 +21,31 @@ load("/data/general/objects/objects.lua")
local Stats = require"engine.interface.ActorStats"
newEntity{ base = "BASE_CLOTH_ARMOR",
define_as = "BLACK_ROBE", rarity=false,
name = "Black Robe", unique=true,
unided_name = "black robe", color=colors.DARK_GREY,
desc = [[A silk robe, darker than the darkest night sky, it radiates power.]],
newEntity{ base = "BASE_LEATHER_CAP",
define_as = "CROWN_ELEMENTS", rarity=false,
name = "Crown of the Elements", unique=true,
unided_name = "jeweled crown", color=colors.DARK_GREY,
desc = [[Jeweled crown]],
cost = 500,
material_level = 5,
wielder = {
inc_stats = { [Stats.STAT_MAG] = 5, [Stats.STAT_WIL] = 4, [Stats.STAT_CUN] = 3 },
see_invisible = 10,
blind_immune = 1,
combat_spellpower = 10,
combat_dam = 10,
combat_def = 6,
inc_stats = { [Stats.STAT_CON] = 5, [Stats.STAT_WIL] = 3, },
resists={
[DamageType.FIRE] = 15,
[DamageType.COLD] = 15,
[DamageType.ACID] = 15,
[DamageType.LIGHTNING] = 15,
},
melee_project={
[DamageType.FIRE] = 10,
[DamageType.COLD] = 10,
[DamageType.ACID] = 10,
[DamageType.LIGHTNING] = 10,
},
see_invisible = 15,
combat_armor = 5,
fatigue = 5,
},
}
......
......@@ -28,7 +28,7 @@ return {
persistent = "zone",
-- all_remembered = true,
all_lited = true,
ambiant_music = "Bazaar of Tal-Mashad.ogg",
ambiant_music = "Breaking the siege.ogg",
generator = {
map = {
class = "engine.generator.map.Town",
......@@ -36,7 +36,7 @@ return {
max_building_w = 8, max_building_h = 8,
edge_entrances = {6,4},
floor = "FLOOR",
external_floor = "SAND",
external_floor = "FLOOR",
wall = "WALL",
up = "UP",
down = "DOWN",
......
No preview for this file type
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