(1) Iron Throne town will always appear on the worldmap for dwarves. The problem was that the town was added only if the player knew "Resilience of the Dwarves", which players can now unlearn.
Code: Select all
Index: game/modules/tome/data/maps/wilderness/eyal.lua
===================================================================
--- game/modules/tome/data/maps/wilderness/eyal.lua (revision 4784)
+++ game/modules/tome/data/maps/wilderness/eyal.lua (working copy)
@@ -80,7 +80,7 @@
-- Zigur is only know from the start to non casters
if not game.player:knowTalent(game.player.T_MANA_POOL) and not game.player:knowTalent(game.player.T_VIM_POOL) and not game.player:knowTalent(game.player.T_VIM_POOL) and not game.player:knowTalent(game.player.T_NEGATIVE_POOL) and not game.player:knowTalent(game.player.T_POSITIVE_POOL) and not game.player:knowTalent(game.player.T_PARADOX_POOL) and not game.player:attr("undead") then defineTile('zigur', "TOWN_ZIGUR") else quickEntity('zigur', ')') end
-- Iron Council is only known to dwarves
-if game.player:knowTalent(game.player.T_DWARF_RESILIENCE) then defineTile('iron-council', "TOWN_IRON_COUNCIL") else quickEntity('iron-council', '#') end
+if game.player.descriptor.race == "Dwarf" then defineTile('iron-council', "TOWN_IRON_COUNCIL") else quickEntity('iron-council', '#') end
-- Far East
Code: Select all
Index: game/modules/tome/class/Actor.lua
===================================================================
--- game/modules/tome/class/Actor.lua (revision 4784)
+++ game/modules/tome/class/Actor.lua (working copy)
@@ -833,7 +833,7 @@
self:computeFOV(radius, "block_sense", function(x, y)
if not checker or checker(x, y) then
game.level.map.remembers(x, y, true)
- game.level.map.has_seens(x, y, true)
+-- game.level.map.has_seens(x, y, true)
end
end, true, true, true)
Code: Select all
Index: game/modules/tome/class/Actor.lua
===================================================================
--- game/modules/tome/class/Actor.lua (revision 4784)
+++ game/modules/tome/class/Actor.lua (working copy)
@@ -1287,8 +1287,10 @@
local eff = self:hasEffect(self.EFF_FROZEN)
eff.hp = eff.hp - value * 0.4
value = value * 0.6
- if eff.hp < 0 and not eff.begone then game:onTickEnd(function() self:removeEffect(self.EFF_FROZEN) end) end
- eff.begone = game.turn
+ if eff.hp < 0 and not eff.begone then
+ game:onTickEnd(function() self:removeEffect(self.EFF_FROZEN) end)
+ eff.begone = game.turn
+ end
end
-- Adds hate
Code: Select all
Index: game/modules/tome/data/talents/cunning/dirty.lua
===================================================================
--- game/modules/tome/data/talents/cunning/dirty.lua (revision 4784)
+++ game/modules/tome/data/talents/cunning/dirty.lua (working copy)
@@ -89,7 +89,7 @@
local tx, ty, sx, sy = target.x, target.y, self.x, self.y
local hitted = self:attackTarget(target, nil, 0, true)
- if hitted then
+ if hitted and not self.dead then
self:setEffect(self.EFF_EVASION, t.getDuration(self, t), {chance=50})
-- Displace