ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Oct 21, 2017 3:04 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Mar 28, 2017 9:02 pm 
Offline
Sher'Tul Godslayer

Joined: Mon Mar 14, 2011 10:32 am
Posts: 1709
Location: Canada
There's no cap on how much damage it takes for Thermal/Kinetic/Charged shield to gain a point of energy, which can result in it getting negative numbers. Specifically, when self:combatTalentMindDamage(t, 40, 50) is greater than 100, you can recover negative Psi per hit.

Lines 35-37 in data/talents/psionic/absorption.lua:

Code:
local function shieldMastery(self, t)
   return 100-self:combatTalentMindDamage(t, 40, 50)
end

_________________
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group