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
7b53992f
There was a problem fetching the pipeline summary.
Commit
7b53992f
authored
4 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Multicaster will respect Aether Avatar
parent
8c2b34b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/talents/spells/thaumaturgy.lua
+10
-5
10 additions, 5 deletions
game/modules/tome/data/talents/spells/thaumaturgy.lua
with
10 additions
and
5 deletions
game/modules/tome/data/talents/spells/thaumaturgy.lua
+
10
−
5
View file @
7b53992f
...
...
@@ -76,11 +76,15 @@ newTalent{
if
not
thaumaturgyCheck
(
self
)
then
return
end
local
tids
=
{}
local
is_aethar_avatar
=
self
:
hasEffect
(
self
.
EFF_AETHER_AVATAR
)
for
kind
,
list
in
pairs
(
t
.
spells_list
)
do
for
_
,
tid
in
ipairs
(
list
)
do
if
self
:
knowTalent
(
tid
)
then
-- print(("[%s] %s : %d"):format(kind, tid, self:getTalentCooldown(self:getTalentFromId(tid), true)))
tids
[
#
tids
+
1
]
=
{
tid
=
tid
,
cd
=
self
:
getTalentCooldown
(
self
:
getTalentFromId
(
tid
),
true
)}
end
end
for
_
,
tid
in
ipairs
(
list
)
do
local
tt
=
self
:
getTalentFromId
(
tid
)
if
self
:
knowTalent
(
tid
)
and
(
not
is_aethar_avatar
or
(
tt
.
use_only_arcane
and
self
:
getTalentLevel
(
self
.
T_AETHER_AVATAR
)
>=
tt
.
use_only_arcane
))
then
-- print(("[%s] %s : %d"):format(kind, tid, self:getTalentCooldown(self:getTalentFromId(tid), true)))
tids
[
#
tids
+
1
]
=
{
tid
=
tid
,
cd
=
self
:
getTalentCooldown
(
tt
,
true
)}
end
end
end
local
choice
=
rng
.
rarityTable
(
tids
,
"cd"
)
if
not
choice
then
return
end
...
...
@@ -97,7 +101,8 @@ newTalent{
return
(
[[Casting beam spells has become so instinctive for you that you can now easily weave in other spells at the same time.
Anytime you cast a beam spell there is a %d%% chance to automatically cast an offensive spell that you know. This can only happen once per turn.
Beam spells duplicated by the Orb of Thaumaturgy can also trigger this effect.
The additional cast will cost mana but no turn and will not active its cooldown.]]
):
The additional cast will cost mana but no turn and will not active its cooldown.
During Aether Avatar only compatible spells are used.]]
):
tformat
(
t
:
_getChance
(
self
))
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