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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4905 51575b47-30f0-44d4-a5cc-537603b46e54
parent 40e8b7ef
No related branches found
No related tags found
No related merge requests found
......@@ -499,6 +499,11 @@ function _M:getTextualDesc(compare_with)
local col = (DamageType.dam_def[item] and DamageType.dam_def[item].text_color or "#WHITE#"):toTString()
return col[2], (" %s"):format(DamageType.dam_def[item].name),{"color","LAST"}
end)
compare_table_fields(combat, compare_with, field, "ranged_project", "%+d", "Damage when this weapon hits(ranged): ", function(item)
local col = (DamageType.dam_def[item] and DamageType.dam_def[item].text_color or "#WHITE#"):toTString()
return col[2], (" %s"):format(DamageType.dam_def[item].name),{"color","LAST"}
end)
compare_table_fields(combat, compare_with, field, "inc_damage_type", "%+d%%", "Damage against: ", function(item)
local _, _, t, st = item:find("^([^/]+)/?(.*)$")
......
......@@ -135,5 +135,8 @@ newBirthDescriptor{
resolvers.inventory{ id=true, inven="QS_MAINHAND",
{type="weapon", subtype="longbow", name="elm longbow", autoreq=true, ego_chance=-1000},
},
resolvers.inventory{ id=true, inven="QS_QUIVER",
{type="ammo", subtype="arrow", name="quiver of elm arrows", autoreq=true, ego_chance=-1000},
},
},
}
......@@ -358,6 +358,7 @@ There is a cunning air to his hollow skull, and his empty sockets reveal nothing
equipment = resolvers.equip{
{type="weapon", subtype="sling", defined="HARESKIN_SLING", random_art_replace={chance=0}, autoreq=true, tome_drops="boss"},
{type="weapon", subtype="dagger", ego_chance=100, autoreq=true, force_drop=true},
{type="ammo", subtype="shot", ego_chance=100, autoreq=true, force_drop=true},
},
resolvers.drops{chance=100, nb=1, {tome_drops="boss"} },
resolvers.drops{chance=100, nb=1, {defined="FILIO_LETTER"} },
......
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