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

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1885 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5bc7a1b6
No related branches found
No related tags found
No related merge requests found
...@@ -1116,6 +1116,9 @@ function _M:learnTalent(t_id, force, nb) ...@@ -1116,6 +1116,9 @@ function _M:learnTalent(t_id, force, nb)
-- If we learned a spell, get mana, if you learned a technique get stamina, if we learned a wild gift, get power -- If we learned a spell, get mana, if you learned a technique get stamina, if we learned a wild gift, get power
local t = _M.talents_def[t_id] local t = _M.talents_def[t_id]
if t.dont_provide_pool then return true end
if t.type[1]:find("^spell/") and not self:knowTalent(self.T_MANA_POOL) and t.mana or t.sustain_mana then if t.type[1]:find("^spell/") and not self:knowTalent(self.T_MANA_POOL) and t.mana or t.sustain_mana then
self:learnTalent(self.T_MANA_POOL, true) self:learnTalent(self.T_MANA_POOL, true)
self.resource_pool_refs[self.T_MANA_POOL] = (self.resource_pool_refs[self.T_MANA_POOL] or 0) + 1 self.resource_pool_refs[self.T_MANA_POOL] = (self.resource_pool_refs[self.T_MANA_POOL] or 0) + 1
......
...@@ -34,6 +34,7 @@ newTalent{ ...@@ -34,6 +34,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_positive = 20, sustain_positive = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -74,6 +75,7 @@ newTalent{ ...@@ -74,6 +75,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_positive = 20, sustain_positive = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -112,6 +114,7 @@ newTalent{ ...@@ -112,6 +114,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_positive = 20, sustain_positive = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -155,6 +158,7 @@ newTalent{ ...@@ -155,6 +158,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_positive = 20, sustain_positive = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
......
...@@ -34,6 +34,7 @@ newTalent{ ...@@ -34,6 +34,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_negative = 20, sustain_negative = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -72,6 +73,7 @@ newTalent{ ...@@ -72,6 +73,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_negative = 20, sustain_negative = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -109,6 +111,7 @@ newTalent{ ...@@ -109,6 +111,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_negative = 20, sustain_negative = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
...@@ -150,6 +153,7 @@ newTalent{ ...@@ -150,6 +153,7 @@ newTalent{
points = 5, points = 5,
cooldown = 30, cooldown = 30,
sustain_negative = 20, sustain_negative = 20,
dont_provide_pool = true,
tactical = { tactical = {
BUFF = 10, BUFF = 10,
}, },
......
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