Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
tome
Tales of MajEyal
Commits
ea160d2d
Commit
ea160d2d
authored
5 years ago
by
Tawny Harte
Browse files
Options
Downloads
Patches
Plain Diff
bugfixes1
parent
e40bc0e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!545
1.6 anorithil revisions2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/celestial/sunlight.lua
+3
-3
3 additions, 3 deletions
game/modules/tome/data/talents/celestial/sunlight.lua
with
3 additions
and
3 deletions
game/modules/tome/data/talents/celestial/sunlight.lua
+
3
−
3
View file @
ea160d2d
...
...
@@ -133,7 +133,7 @@ newTalent{
if
not
x
or
not
y
then
return
nil
end
local
dam
=
self
:
spellCrit
(
t
.
getDamage
(
self
,
t
))
self
:
project
(
tg
,
x
,
y
,
DamageType
.
LIGHT
,
dam
)
self
:
project
(
tg
,
x
,
y
,
DamageType
.
FIREBURN
,
dam
,
initial
=
0
)
self
:
project
(
tg
,
x
,
y
,
DamageType
.
FIREBURN
,
dam
,
{
initial
=
0
}
)
local
_
_
,
x
,
y
=
self
:
canProject
(
tg
,
x
,
y
)
game
.
level
.
map
:
particleEmitter
(
self
.
x
,
self
.
y
,
math.max
(
math.abs
(
x
-
self
.
x
),
math.abs
(
y
-
self
.
y
)),
"light_beam"
,
{
tx
=
x
-
self
.
x
,
ty
=
y
-
self
.
y
})
...
...
@@ -167,11 +167,11 @@ newTalent{
getDuration
=
function
(
self
,
t
)
return
6
end
,
getPower
=
function
(
self
,
t
)
return
self
:
combatTalentLimit
(
t
,
1
.
5
,
0
.
3
,
1
)
end
,
action
=
function
(
self
,
t
)
local
damVal
=
math.max
(
(
self
.
inc_damage
.
LIGHT
,
self
.
inc_damage
.
DARKNESS
*
t
.
getPower
(
self
,
t
))
local
damVal
=
math.max
(
self
.
inc_damage
.
LIGHT
,
self
.
inc_damage
.
DARKNESS
*
t
.
getPower
(
self
,
t
))
local
damInc
=
damVal
-
self
.
inc_damage
.
LIGHT
local
penVal
=
math.max
(
self
.
resists_pen
.
LIGHT
,
self
.
resists_pen
.
DARKNESS
*
t
.
getPower
(
self
,
t
))
local
penInc
=
penVal
-
self
.
resists_pen
.
LIGHT
self
:
setEffect
(
EFF_SUNBURST
,
t
.
getDuration
(
self
,
t
),
{
damVal
=
damVal
,
damInc
=
damInc
,
penVal
=
penVal
,
penInc
=
penInc
}
--all these params for eff tt
self
:
setEffect
(
EFF_SUNBURST
,
t
.
getDuration
(
self
,
t
),
{
damVal
=
damVal
,
damInc
=
damInc
,
penVal
=
penVal
,
penInc
=
penInc
}
)
--all these params for eff tt
local
tg
=
self
:
getTalentTarget
(
t
)
self
:
project
(
tg
,
self
.
x
,
self
.
y
,
function
(
px
,
py
)
...
...
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