Skip to content
Snippets Groups Projects
Commit c8a8b169 authored by DarkGod's avatar DarkGod
Browse files

Chants and Hymns correctly respect mastery

parent 7466cd5b
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
-- Corruptions
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/guardian", name = "guardian", min_lev = 10, description = "Your devotion grants you additional protection." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/chants", name = "chants", generic = true, description = "Chant the glory of the Sun." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/chants-chants", name = "chants", generic = true, description = "Chant the glory of the Sun." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/light", name = "light", generic = true, description = "Invoke the power of the light to heal and mend." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/combat", name = "combat", description = "Your devotion allows you to combat your foes with indomitable determination." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/radiance", name = "radiance", description = "You channel the light of the sun through your body." }
......@@ -30,6 +31,7 @@ newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestia
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/twilight", name = "twilight", description = "Stand between the darkness and the light, harnessing both." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/star-fury", name = "star fury", description = "Call the fury of the Stars and the Moon to destroy your foes." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/hymns", name = "hymns", generic = true, description = "Chant the glory of the Moon." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/hymns-hymns", name = "hymns", generic = true, description = "Chant the glory of the Moon." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/circles", name = "circles", min_lev = 10, description = "Bind the power of the Moon into circles at your feet." }
newTalentType{ allow_random=true, no_silence=true, is_spell=true, type="celestial/eclipse", name = "eclipse", description = "The moment of the Eclipse is the moment of Truth, when Sun and Moon are in tandem and the energies of the world hang in the balance. Intense focus allows the greatest Anorithils to harness these energies to unleash devastating forces..." }
......
......@@ -20,7 +20,7 @@
-- Looks weaker than the other options, but extra life is a more universally useful stat and mind save is generally lower for celestial classes.
newTalent{
name = "Chant of Fortitude",
type = {"celestial/other", 1},
type = {"celestial/chants-chants", 1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -82,7 +82,7 @@ newTalent{
-- Physical and weapon protection Chant.
newTalent{
name = "Chant of Fortress",
type = {"celestial/other", 1},
type = {"celestial/chants-chants", 1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -146,7 +146,7 @@ newTalent{
-- This can be swapped to reactively with a projectile already in the air
newTalent{
name = "Chant of Resistance",
type = {"celestial/other",1},
type = {"celestial/chants-chants",1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -227,7 +227,7 @@ newTalent{
-- Depreciated, but retained for compatability.
newTalent{
name = "Chant of Light",
type = {"celestial/other", 4},
type = {"celestial/chants-chants", 4},
mode = "sustained",
require = divi_req4,
points = 5,
......@@ -278,6 +278,9 @@ newTalent{
require = divi_req1,
points = 5,
mode = "passive",
passives = function(self, t)
self:setTalentTypeMastery("celestial/chants-chants", self:getTalentMastery(t))
end,
on_learn = function(self, t)
self:learnTalent(self.T_CHANT_OF_FORTITUDE, true, nil, {no_unlearn=true})
self:learnTalent(self.T_CHANT_OF_FORTRESS, true, nil, {no_unlearn=true})
......
......@@ -19,7 +19,7 @@
newTalent{
name = "Hymn of Shadows",
type = {"celestial/other", 1},
type = {"celestial/hymns-hymns", 1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -89,7 +89,7 @@ newTalent{
newTalent{
name = "Hymn of Detection",
type = {"celestial/other", 1},
type = {"celestial/hymns-hymns", 1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -162,7 +162,7 @@ newTalent{
newTalent{
name = "Hymn of Perseverance",
type = {"celestial/other",1},
type = {"celestial/hymns-hymns",1},
mode = "sustained",
hide = true,
require = divi_req1,
......@@ -230,7 +230,7 @@ newTalent{
-- Depreciated, but retained for compatability.
newTalent{
name = "Hymn of Moonlight",
type = {"celestial/other",1},
type = {"celestial/hymns-hymns",1},
mode = "sustained",
require = divi_req4,
points = 5,
......@@ -301,6 +301,9 @@ newTalent{
require = divi_req1,
points = 5,
mode = "passive",
passives = function(self, t)
self:setTalentTypeMastery("celestial/hymns-hymns", self:getTalentMastery(t))
end,
on_learn = function(self, t)
self:learnTalent(self.T_HYMN_OF_SHADOWS, true, nil, {no_unlearn=true})
self:learnTalent(self.T_HYMN_OF_DETECTION, true, nil, {no_unlearn=true})
......
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