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
yutio888
Tales of MajEyal
Commits
9e8b0e52
Commit
9e8b0e52
authored
5 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Spells cast by items (like on spell effects) will not trigger Aether Avatar penalty
parent
05985c07
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/modules/tome/data/talents/spells/aether.lua
+1
-0
1 addition, 0 deletions
game/modules/tome/data/talents/spells/aether.lua
with
1 addition
and
0 deletions
game/modules/tome/data/talents/spells/aether.lua
+
1
−
0
View file @
9e8b0e52
...
...
@@ -209,6 +209,7 @@ newTalent{
if
not
self
:
hasEffect
(
self
.
EFF_AETHER_AVATAR
)
then
return
end
if
ab
.
mode
==
"sustained"
then
return
end
if
ab
.
use_only_arcane
and
self
:
getTalentLevel
(
t
)
>=
ab
.
use_only_arcane
then
return
end
if
self
:
attr
(
"force_talent_ignore_ressources"
)
then
return
end
if
self
.
turn_procs
.
aether_avatar_penalty
then
return
end
self
:
incMana
(
-
50
)
game
.
logSeen
(
self
,
"#VIOLET#%s loses 50 mana from using a non-Arcane talent!#LAST#"
,
self
.
name
:
capitalize
())
...
...
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