Skip to content
Snippets Groups Projects
Commit 38eb6e7b authored by Chris Davidson's avatar Chris Davidson
Browse files

Increase the level and material tier of Elven Ruins

Currently there are a lot of tier 4-5 Maj'eyal artifacts but very few places in the game to drop them.  This helps correct that problem and changes mummy wrappings to be a stronger arcane themed robe subtype.
parent 5597f44d
No related branches found
No related tags found
1 merge request!5111.6 Misc
......@@ -18,6 +18,8 @@
-- darkgod@te4.org
-- Mummy wrappings, not included in global
local Stats = require "engine.interface.ActorStats"
local DamageType = require "engine.DamageType"
newEntity{
define_as = "BASE_MUMMY_WRAPPING",
......@@ -28,23 +30,27 @@ newEntity{
moddable_tile = resolvers.moddable_tile("mummy_wrapping"),
encumber = 6,
desc = [[Decaying mummy wrappings.]],
egos = "/data/general/objects/egos/armor.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
randart_able = "/data/general/objects/random-artifacts/generic.lua",
egos = "/data/general/objects/egos/robe.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
wielder = {
resists={[DamageType.FIRE] = -25},
inc_damage={[DamageType.ARCANE] = 15, [DamageType.DARKNESS] = 15, [DamageType.COLD] = 15},
}
}
newEntity{ base = "BASE_MUMMY_WRAPPING",
name = "mummy wrappings", short_name = "mummy",
level_range = {10, 40},
require = { stat = { dex=15 }, },
level_range = {10, 50},
cost = 1,
material_level = 3,
material_level = 4,
rarity = 20,
mummy_rarity = 3,
wielder = {
combat_def = 5,
combat_armor = 2,
fatigue = 2,
inc_stats = {
[Stats.STAT_MAG] = resolvers.mbonus_material(9, 1),
},
combat_spellpower = resolvers.mbonus_material(10, 5),
},
}
......@@ -110,14 +110,14 @@ newEntity{ base = "BASE_NPC_MUMMY",
resolvers.auto_equip_filters("Berserker"),
resolvers.equip{
{type="weapon", subtype="greatsword", forbid_power_source={antimagic=true}, autoreq=true},
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true}, autoreq=true},
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true, nature=true}, autoreq=true},
},
resolvers.talents{
[Talents.T_STUNNING_BLOW]={base=2, every=7, max=6},
[Talents.T_CRUSH]={base=3, every=7, max=7},
[Talents.T_MANATHRUST]={base=3, every=7, max=7},
},
resolvers.inscriptions(1, "rune"),
resolvers.inscriptions(2, "rune"),
resolvers.drops{chance=70, nb=1, {tome={money=1}} },
}
......@@ -127,13 +127,13 @@ newEntity{ base = "BASE_NPC_MUMMY",
desc = [[An animated set of mummy wrappings, without a corpse inside; it seems like it cannot move.]],
level_range = {7, nil}, exp_worth = 1,
rarity = 4,
max_life = resolvers.rngavg(20,40), life_rating=4,
max_life = resolvers.rngavg(20,40), life_rating=6,
ai_state = { talent_in=2, },
never_move = 1,
size_category = 2,
resolvers.equip{
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true}, autoreq=true},
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true, nature=true}, autoreq=true},
},
autolevel = "caster",
resolvers.talents{
......@@ -142,7 +142,7 @@ newEntity{ base = "BASE_NPC_MUMMY",
[Talents.T_LIGHTNING]={base=3, every=7, max=7},
[Talents.T_STRIKE]={base=3, every=7, max=7},
},
resolvers.inscriptions(1, "rune"),
resolvers.inscriptions(2, "rune"),
}
newEntity{ base = "BASE_NPC_MUMMY",
......@@ -151,11 +151,11 @@ newEntity{ base = "BASE_NPC_MUMMY",
desc = [[A rotting animated corpse in mummy wrappings.]],
level_range = {7, nil}, exp_worth = 1,
rarity = 2,
max_life = resolvers.rngavg(60,80), life_rating=7,
max_life = resolvers.rngavg(60,80), life_rating=9,
ai_state = { talent_in=4, },
resolvers.equip{
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true}, autoreq=true},
{type="armor", subtype="mummy", ignore_material_restriction=true, force_drop=true, base_list=object_list, forbid_power_source={antimagic=true, nature=true}, autoreq=true},
},
autolevel = "ghoul",
resolvers.talents{
......@@ -175,7 +175,7 @@ newEntity{ base = "BASE_NPC_MUMMY", define_as = "GREATER_MUMMY",
level_range = {20, nil}, exp_worth = 1,
rank = 3,
rarity = 8,
max_life = resolvers.rngavg(150,180), life_rating=12,
max_life = resolvers.rngavg(150,180), life_rating=14,
autolevel = "warriormage",
ai = "tactical", ai_state = { talent_in=2, ai_move="move_astar", },
global_speed_base = 1,
......@@ -190,7 +190,7 @@ newEntity{ base = "BASE_NPC_MUMMY", define_as = "GREATER_MUMMY",
{type="armor", subtype="head", ignore_material_restriction=true, base_list=object_list, forbid_power_source={antimagic=true}, autoreq=true},
},
resolvers.inscriptions(1, "rune", "attack"),
resolvers.inscriptions(1, "rune"),
resolvers.inscriptions(2, "rune"),
resolvers.drops{nb=2, {base_list=object_list, tome_drops="store"}, {tome={money=1}}},
resolvers.talents{
[Talents.T_WEAPONS_MASTERY]={base=3, every=10, max=5},
......
......@@ -86,7 +86,7 @@ newEntity{ base = "BASE_LEATHER_CAP", define_as = "CROWN_ETERNAL_NIGHT",
level_range = {1, 50},
cost = 100,
rarity = 20, -- not particularly rare, to be loaded only with mummy NPCs
material_level = 3,
material_level = 4,
wielder = {
combat_armor = 3,
fatigue = 3,
......
......@@ -19,7 +19,7 @@
return {
name = "Elven Ruins",
level_range = {33,42},
level_range = {43,52},
level_scheme = "player",
max_level = 3,
decay = {300, 800},
......@@ -29,8 +29,8 @@ return {
-- all_lited = true,
persistent = "zone",
ambient_music = {"Anne_van_Schothorst_-_Passed_Tense.ogg", "weather/dungeon_base.ogg"},
min_material_level = 3,
max_material_level = 4,
min_material_level = 4,
max_material_level = 5,
generator = {
map = {
class = "engine.generator.map.TileSet",
......
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