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

pmop

git-svn-id: http://svn.net-core.org/repos/t-engine4@3353 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0da4c44d
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ function _M:display()
local _, chance = player:paradoxFailChance()
self:mouseTooltip(self.TOOLTIP_PARADOX, self:makeTextureBar("#LIGHT_STEEL_BLUE#Paradox:", (" %d"):format(player:getParadox()), chance, 100, x, h, 255, 255, 255,
{r=176 / 2, g=196 / 2, b=222 / 2},
{r=176 / 2, g=196 / 2, b=222 / 2}
{r=176 / 5, g=196 / 5, b=222 / 5}
)) h = h + self.font_h
end
if player:knowTalent(player.T_PSI_POOL) then
......
......@@ -124,9 +124,11 @@ newTalent{
return
end
local tg = {type="hit", range=self:getTalentRange(t)}
local tg = {type="bolt", nowarning=true, range=self:getTalentRange(t), nolock=true, talent=t}
local tx, ty = self:getTarget(tg)
if not tx or not ty then return nil end
local _ _, tx, ty = self:canProject(tg, tx, ty)
if not tx or not ty then return nil end
local sex = game.player.female and "she" or "he"
local a = mod.class.NPC.new{}
......
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