Commit 2551d4374548aae405516ae000559d2a7ed3c96d

Authored by dg
1 parent 0da4c44d

pmop


git-svn-id: http://svn.net-core.org/repos/t-engine4@3353 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -254,7 +254,7 @@ function _M:display()
254 254 local _, chance = player:paradoxFailChance()
255 255 self:mouseTooltip(self.TOOLTIP_PARADOX, self:makeTextureBar("#LIGHT_STEEL_BLUE#Paradox:", (" %d"):format(player:getParadox()), chance, 100, x, h, 255, 255, 255,
256 256 {r=176 / 2, g=196 / 2, b=222 / 2},
257   - {r=176 / 2, g=196 / 2, b=222 / 2}
  257 + {r=176 / 5, g=196 / 5, b=222 / 5}
258 258 )) h = h + self.font_h
259 259 end
260 260 if player:knowTalent(player.T_PSI_POOL) then
... ...
... ... @@ -124,9 +124,11 @@ newTalent{
124 124 return
125 125 end
126 126
127   - local tg = {type="hit", range=self:getTalentRange(t)}
  127 + local tg = {type="bolt", nowarning=true, range=self:getTalentRange(t), nolock=true, talent=t}
128 128 local tx, ty = self:getTarget(tg)
129 129 if not tx or not ty then return nil end
  130 + local _ _, tx, ty = self:canProject(tg, tx, ty)
  131 + if not tx or not ty then return nil end
130 132
131 133 local sex = game.player.female and "she" or "he"
132 134 local a = mod.class.NPC.new{}
... ...