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

belts

git-svn-id: http://svn.net-core.org/repos/t-engine4@1278 51575b47-30f0-44d4-a5cc-537603b46e54
parent 648d9489
No related branches found
No related tags found
No related merge requests found
......@@ -301,6 +301,7 @@ function _M:getTextualDesc()
if w.disarm_bonus then desc[#desc+1] = ("Increases trap disarming bonus: %d."):format(w.disarm_bonus) end
if w.inc_stealth then desc[#desc+1] = ("Increases stealth bonus: %d."):format(w.inc_stealth) end
if w.max_encumber then desc[#desc+1] = ("Increases maximum encumberance: %d."):format(w.max_encumber) end
if w.combat_physresist then desc[#desc+1] = ("Increases physical save: %s."):format(w.combat_physresist) end
if w.combat_spellresist then desc[#desc+1] = ("Increases spell save: %s."):format(w.combat_spellresist) end
......
......@@ -59,16 +59,6 @@ newBirthDescriptor{
{type="potion", subtype="potion", name="potion of lesser healing", ego_chance=-1000},
{type="potion", subtype="potion", name="potion of cure poison", ego_chance=-1000},
{type="potion", subtype="potion", name="potion of cure poison", ego_chance=-1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
{type="armor", subtype="belt", ego_chance=1000},
},
resolvers.generic(function(e)
e.hotkey[9] = {"inventory", "potion of lesser healing"}
......
......@@ -49,8 +49,8 @@ newEntity{
newEntity{
name = "slotted ", prefix=true, instant_resolve=true,
level_range = {1, 50},
rarity = 1,
level_range = {10, 50},
rarity = 8,
cost = 6,
belt_slots = resolvers.mbonus_material(6, 3, function(e, v) return v * 1 end),
on_wear = function(self, who)
......@@ -66,3 +66,33 @@ newEntity{
who.inven[who.INVEN_INBELT] = nil
end,
}
newEntity{
name = " of the mystic", suffix=true, instant_resolve=true,
level_range = {1, 50},
rarity = 5,
cost = 6,
wielder = {
combat_spellpower = resolvers.mbonus_material(10, 2, function(e, v) return v * 1 end),
},
}
newEntity{
name = " of the titan", suffix=true, instant_resolve=true,
level_range = {1, 50},
rarity = 5,
cost = 6,
wielder = {
combat_dam = resolvers.mbonus_material(10, 2, function(e, v) return v * 1 end),
},
}
newEntity{
name = " of life", suffix=true, instant_resolve=true,
level_range = {1, 50},
rarity = 8,
cost = 6,
wielder = {
life_regen = resolvers.mbonus_material(10, 2, function(e, v) return v * 1, v/10 end),
},
}
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