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
509872e2
Commit
509872e2
authored
5 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
sshhh
parent
94cab56e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/engines/default/engine/interface/ActorTalents.lua
+3
-0
3 additions, 0 deletions
game/engines/default/engine/interface/ActorTalents.lua
with
3 additions
and
0 deletions
game/engines/default/engine/interface/ActorTalents.lua
+
3
−
0
View file @
509872e2
...
...
@@ -172,6 +172,7 @@ function _M:useTalent(id, who, force_level, ignore_cd, force_target, silent, no_
-- Everything went ok? then start cooldown if any
if
not
ignore_cd
and
(
not
special
or
not
special
.
ignore_cd
)
then
self
:
startTalentCooldown
(
ab
)
end
if
ab
.
post_action
then
ab
.
post_action
(
who
,
ab
)
end
return
ret
end
)
elseif
ab
.
mode
==
"sustained"
and
ab
.
activate
and
ab
.
deactivate
then
...
...
@@ -218,6 +219,7 @@ function _M:useTalent(id, who, force_level, ignore_cd, force_target, silent, no_
table.insert
(
list
,
id
)
end
end
if
ab
.
post_action
then
ab
.
post_action
(
who
,
ab
)
end
else
-- deactivating
if
self
.
deactivating_sustain_talent
==
ab
.
id
then
return
end
...
...
@@ -262,6 +264,7 @@ function _M:useTalent(id, who, force_level, ignore_cd, force_target, silent, no_
table
.
removeFromList
(
list
,
id
)
end
end
if
ab
.
post_action
then
ab
.
post_action
(
who
,
ab
)
end
end
return
ret
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