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
9b6c3930
Commit
9b6c3930
authored
9 years ago
by
Alex Ksandra
Browse files
Options
Downloads
Patches
Plain Diff
tamed Arcane Might a bit
parent
4d837fbf
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/class/interface/Combat.lua
+3
-4
3 additions, 4 deletions
game/modules/tome/class/interface/Combat.lua
game/modules/tome/data/talents/uber/mag.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/data/talents/uber/mag.lua
with
4 additions
and
5 deletions
game/modules/tome/class/interface/Combat.lua
+
3
−
4
View file @
9b6c3930
...
...
@@ -1657,12 +1657,11 @@ function _M:combatPhysicalpower(mod, weapon, add)
if
self
:
attr
(
"hit_penalty_2h"
)
then
d
=
d
*
(
1
-
math.max
(
0
,
20
-
(
self
.
size_category
-
4
)
*
5
)
/
100
)
end
local
amight
=
0
if
self
:
knowTalent
(
self
.
T_ARCANE_MIGHT
)
then
amight
=
self
:
combatSpellpower
()
*
0
.
5
return
self
:
combatSpellpower
(
mod
,
d
)
-- will do the rescaling and multiplying for us
else
return
self
:
rescaleCombatStats
(
d
)
*
mod
end
return
self
:
rescaleCombatStats
(
d
)
*
mod
+
amight
*
mod
end
--- Gets damage based on talent
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/uber/mag.lua
+
1
−
1
View file @
9b6c3930
...
...
@@ -88,7 +88,7 @@ uberTalent{
return
(
[[You have learned to harness your latent arcane powers, channeling them through your weapon.
This has the following effects:
Equipped weapons are treated as having an additional 50%% Magic modifier;
Your
effective
Physical Power is increased by
5
0%% of your
effective
Spellpower;
Your
raw
Physical Power is increased by
10
0%% of your
raw
Spellpower;
Your physical critical chance is increased by 25%% of your bonus spell critical chance.]]
)
:
format
()
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