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

fixes

Resistances in ToME now go from -100 to 100 instead of 0 to 100


git-svn-id: http://svn.net-core.org/repos/t-engine4@1070 51575b47-30f0-44d4-a5cc-537603b46e54
parent f935ffca
No related branches found
No related tags found
No related merge requests found
......@@ -378,7 +378,7 @@ function _M:loadList(file, no_default, res, mod, loaded)
for k, e in pairs(res[t.base]) do
if k ~= "define_as" and type(k) ~= "number" then
if not t[k] then
if type(t[k]) == "nil" then
t[k] = e
elseif type(t[k]) == "table" and type(e) == "table" then
copy_recurs(t[k], e)
......
......@@ -56,11 +56,11 @@ He also said the only way to enter the peak and de-activate the shield is throug
}
newChat{ id="clues",
text = [[I much as I would like to help our forces are already spread too thin, we can not provide you with direct power.
text = [[As much as I would like to help our forces are already spread too thin, we can not provide you with direct power.
But I might be able to help you by explaining how the Pride is organised, we could help each others.
Recently we have heard the pride speaking about a new master, or masters. They might be the ones behind that staff mystery of yours.
We suppose their main place of power is the High Peak in the center of the continent but it is innaccessible and covered by some kind of shield.
You must investigate the bastions of the Pride, maybe you will find more information about the High Peak, and any orcs you kill is one less that will attack us.
We suppose their main place of power is the High Peak in the center of the continent but it is inaccessible and covered by some kind of shield.
You must investigate the bastions of the Pride, maybe you will find more information about the High Peak, and any orc you kill is one less that will attack us.
The known bastions of the Pride are:
- Rak'shor Pride, in the west of the southern deset
- Gorbat Pride, in a mountain range in the the southern desert
......
......@@ -49,7 +49,7 @@ setDefaultProjector(function(src, x, y, type, dam)
res = res * (100 - pen) / 100
print("[PROJECTOR] res", res, (100 - res) / 100, " on dam", dam)
if res >= 100 then dam = 0
elseif res <= 0 then dam = dam
elseif res <= -100 then dam = dam * 2
else dam = dam * ((100 - res) / 100)
end
end
......
......@@ -97,7 +97,7 @@ newEntity{
},
}
newEntity{
name = "of seeing ", suffix=true,
name = " of seeing ", suffix=true,
level_range = {1, 50},
rarity = 5,
cost = 6,
......
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