Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Otowa Kotori
Tales of MajEyal
Commits
78323fb7
Commit
78323fb7
authored
8 years ago
by
HousePet
Browse files
Options
Downloads
Patches
Plain Diff
FRELL!
parent
e013c263
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/talents/celestial/chants.lua
+18
-18
18 additions, 18 deletions
game/modules/tome/data/talents/celestial/chants.lua
game/modules/tome/data/talents/celestial/hymns.lua
+30
-30
30 additions, 30 deletions
game/modules/tome/data/talents/celestial/hymns.lua
with
48 additions
and
48 deletions
game/modules/tome/data/talents/celestial/chants.lua
+
18
−
18
View file @
78323fb7
...
...
@@ -43,21 +43,21 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"max_life"
,
t
.
getLifePct
(
self
,
t
)
*
self
.
max_life
)
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"golden_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
if
self
:
knowTalent
(
self
.
T_CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ILLUMINATE
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"mana_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"stamina_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ADEPT
)
if
self
:
knowTalent
(
self
.
T_CHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"lite"
,
t2
.
getBonusLight
(
self
,
t2
))
t2
.
doCure
(
self
,
t2
,
"mental"
)
end
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_RADIANT
)
if
self
:
knowTalent
(
self
.
T_CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_RADIANT
)
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
),
[
DamageType
.
FIRE
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"positive_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"positive_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
...
...
@@ -106,21 +106,21 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"combat_armor_hardiness"
,
10
)
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"golden_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
if
self
:
knowTalent
(
self
.
T_CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ILLUMINATE
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"mana_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"stamina_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ADEPT
)
if
self
:
knowTalent
(
self
.
T_CHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"lite"
,
t2
.
getBonusLight
(
self
,
t2
))
t2
.
doCure
(
self
,
t2
,
"physical"
)
end
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_RADIANT
)
if
self
:
knowTalent
(
self
.
T_CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_RADIANT
)
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
),
[
DamageType
.
FIRE
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"positive_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"positive_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
...
...
@@ -187,21 +187,21 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"combat_spellresist"
,
spell
)
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"golden_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ILLUMINATE
)
if
self
:
knowTalent
(
self
.
T_CHANT_ILLUMINATE
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ILLUMINATE
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"mana_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"stamina_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_H
P_
CHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HCHANT_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"lite"
,
t2
.
getBonusLight
(
self
,
t2
))
t2
.
doCure
(
self
,
t2
,
"magical"
)
end
if
self
:
knowTalent
(
self
.
T_
HP_
CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
CHANT_RADIANT
)
if
self
:
knowTalent
(
self
.
T_CHANT_RADIANT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_CHANT_RADIANT
)
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
LIGHT
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
),
[
DamageType
.
FIRE
]
=
t2
.
getLightDamageIncrease
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"positive_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"positive_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/celestial/hymns.lua
+
30
−
30
View file @
78323fb7
...
...
@@ -34,8 +34,8 @@ newTalent{
castSpeed
=
function
(
self
,
t
)
return
self
:
combatTalentSpellDamage
(
t
,
10
,
30
)
end
,
evade
=
function
(
self
,
t
)
return
self
:
combatStatLimit
(
self
:
combatTalentSpellDamage
(
t
,
10
,
100
),
90
,
10
,
40
)
end
,
callbackOnActBase
=
function
(
self
,
t
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
t2
.
do_beams
(
self
,
t2
)
end
end
,
...
...
@@ -48,19 +48,19 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"evasion"
,
t
.
evade
(
self
,
t
))
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"darkness_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_INCANTOR
)
if
self
:
knowTalent
(
self
.
T_HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_INCANTOR
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDarkDamageIncrease
(
self
,
t2
)})
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"infravision"
,
t2
.
getBonusInfravision
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
self
:
talentTemporaryValue
(
ret
,
"negative_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"negative_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
...
...
@@ -70,8 +70,8 @@ newTalent{
deactivate
=
function
(
self
,
t
,
p
)
self
:
removeParticles
(
p
.
particle
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
game
:
onTickEnd
(
function
()
self
:
setEffect
(
self
.
EFF_WILD_SPEED
,
1
,
{
power
=
t2
.
getSpeed
(
self
,
t2
)})
end
)
end
...
...
@@ -104,8 +104,8 @@ newTalent{
getSeeStealth
=
function
(
self
,
t
)
return
self
:
combatTalentSpellDamage
(
t
,
2
,
25
)
end
,
critPower
=
function
(
self
,
t
)
return
self
:
combatTalentSpellDamage
(
t
,
10
,
50
)
end
,
callbackOnActBase
=
function
(
self
,
t
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
t2
.
do_beams
(
self
,
t2
)
end
end
,
...
...
@@ -118,19 +118,19 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"combat_critical_power"
,
t
.
critPower
(
self
,
t
))
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"darkness_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_INCANTOR
)
if
self
:
knowTalent
(
self
.
T_HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_INCANTOR
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDarkDamageIncrease
(
self
,
t2
)})
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"infravision"
,
t2
.
getBonusInfravision
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
self
:
talentTemporaryValue
(
ret
,
"negative_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"negative_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
...
...
@@ -140,8 +140,8 @@ newTalent{
deactivate
=
function
(
self
,
t
,
p
)
self
:
removeParticles
(
p
.
particle
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
self
:
setEffect
(
self
.
EFF_INVISIBILITY
,
t2
.
invisDur
(
self
,
t2
),
{
power
=
t2
.
invisPower
(
self
,
t2
),
penalty
=
0
.
4
})
end
...
...
@@ -173,8 +173,8 @@ newTalent{
range
=
10
,
getImmunities
=
function
(
self
,
t
)
return
self
:
combatTalentLimit
(
t
,
1
,
0
.
16
,
0
.
4
)
end
,
-- Limit < 100%
callbackOnActBase
=
function
(
self
,
t
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
t2
.
do_beams
(
self
,
t2
)
end
end
,
...
...
@@ -187,19 +187,19 @@ newTalent{
self
:
talentTemporaryValue
(
ret
,
"blind_immune"
,
t
.
getImmunities
(
self
,
t
))
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"darkness_shield"
,
1
))
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_INCANTOR
)
if
self
:
knowTalent
(
self
.
T_HYMN_INCANTOR
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_INCANTOR
)
self
:
talentTemporaryValue
(
ret
,
"on_melee_hit"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDamageOnMeleeHit
(
self
,
t2
)})
self
:
talentTemporaryValue
(
ret
,
"inc_damage"
,
{[
DamageType
.
DARKNESS
]
=
t2
.
getDarkDamageIncrease
(
self
,
t2
)})
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
self
:
talentTemporaryValue
(
ret
,
"infravision"
,
t2
.
getBonusInfravision
(
self
,
t2
))
end
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_NOCTURNALIST
)
if
self
:
knowTalent
(
self
.
T_HYMN_NOCTURNALIST
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_NOCTURNALIST
)
self
:
talentTemporaryValue
(
ret
,
"negative_regen"
,
t2
.
getBonusRegen
(
self
,
t2
))
self
:
talentTemporaryValue
(
ret
,
"negative_regen_ref_mod"
,
t2
.
getBonusRegen
(
self
,
t2
))
end
...
...
@@ -209,8 +209,8 @@ newTalent{
deactivate
=
function
(
self
,
t
,
p
)
self
:
removeParticles
(
p
.
particle
)
if
self
:
knowTalent
(
self
.
T_
HP_
HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_
HP_
HYMN_ADEPT
)
if
self
:
knowTalent
(
self
.
T_HYMN_ADEPT
)
then
local
t2
=
self
:
getTalentFromId
(
self
.
T_HYMN_ADEPT
)
self
:
setEffect
(
self
.
EFF_DAMAGE_SHIELD
,
t2
.
shieldDur
(
self
,
t2
),
{
power
=
t2
.
shieldPower
(
self
,
t2
)})
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment