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
e16fd6eb
Commit
e16fd6eb
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Plain Diff
Merge branch 'more_fixes' into 'master'
More fixes fix
parents
b168169e
16664265
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/chronomancy/spacetime-weaving.lua
+4
-4
4 additions, 4 deletions
...dules/tome/data/talents/chronomancy/spacetime-weaving.lua
game/modules/tome/data/talents/chronomancy/speed-control.lua
+7
-5
7 additions, 5 deletions
game/modules/tome/data/talents/chronomancy/speed-control.lua
with
11 additions
and
9 deletions
game/modules/tome/data/talents/chronomancy/spacetime-weaving.lua
+
4
−
4
View file @
e16fd6eb
...
...
@@ -100,12 +100,12 @@ newTalent{
if
not
teleported
then
return
end
-- Grab a random sample of timed effects
local
eff_id
s
=
self
:
effectsFilter
({
status
=
"detrimental"
,
ignore_crosstier
=
true
},
1
)
local
eff
=
self
:
hasEffec
t
(
eff_id
)
if
eff
then
local
eff_id
=
self
:
effectsFilter
({
status
=
"detrimental"
,
ignore_crosstier
=
true
},
1
)
if
nex
t
(
eff_id
)
then
local
eff
=
self
:
hasEffect
(
eff_id
[
1
])
eff
.
dur
=
eff
.
dur
-
t
.
getReduction
(
self
,
t
)
if
eff
.
dur
<=
0
then
self
:
removeEffect
(
eff_id
)
self
:
removeEffect
(
eff_id
[
1
]
)
end
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/chronomancy/speed-control.lua
+
7
−
5
View file @
e16fd6eb
...
...
@@ -101,11 +101,13 @@ newTalent{
getReduction
=
function
(
self
,
t
)
return
100
end
,
getDuration
=
function
(
self
,
t
)
return
getExtensionModifier
(
self
,
t
,
math.floor
(
self
:
combatTalentLimit
(
t
,
4
,
1
,
3
)))
end
,
action
=
function
(
self
,
t
)
self
.
energy
.
value
=
self
.
energy
.
value
+
(
t
.
getDuration
(
self
,
t
)
*
1000
)
self
:
setEffect
(
self
.
EFF_TIME_STOP
,
1
,
{
power
=
100
})
game
.
logSeen
(
self
,
"#STEEL_BLUE#%s has stopped time!#LAST#"
,
self
.
name
:
capitalize
())
game
:
playSoundNear
(
self
,
"talents/heal"
)
game
:
onTickEnd
(
function
()
self
.
energy
.
value
=
self
.
energy
.
value
+
(
t
.
getDuration
(
self
,
t
)
*
1000
)
self
:
setEffect
(
self
.
EFF_TIME_STOP
,
1
,
{
power
=
100
})
game
.
logSeen
(
self
,
"#STEEL_BLUE#%s has stopped time!#LAST#"
,
self
.
name
:
capitalize
())
game
:
playSoundNear
(
self
,
"talents/heal"
)
end
)
return
true
end
,
info
=
function
(
self
,
t
)
...
...
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