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
de5b3eea
Commit
de5b3eea
authored
9 years ago
by
Alex Ksandra
Committed by
DarkGod
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
arcane might buffs
parent
6afc8542
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
+9
-1
9 additions, 1 deletion
game/modules/tome/class/interface/Combat.lua
game/modules/tome/data/talents/uber/mag.lua
+4
-1
4 additions, 1 deletion
game/modules/tome/data/talents/uber/mag.lua
with
13 additions
and
2 deletions
game/modules/tome/class/interface/Combat.lua
+
9
−
1
View file @
de5b3eea
...
...
@@ -1334,6 +1334,9 @@ function _M:combatCrit(weapon)
if
weapon
.
talented
and
self
:
knowTalent
(
Talents
.
T_LETHALITY
)
then
addcrit
=
1
+
self
:
callTalent
(
Talents
.
T_LETHALITY
,
"getCriticalChance"
)
end
if
self
:
knowTalent
(
Talents
.
T_ARCANE_MIGHT
)
then
addcrit
=
addcrit
+
0
.
5
*
self
.
combat_spellcrit
end
local
crit
=
self
.
combat_physcrit
+
(
self
.
combat_generic_crit
or
0
)
+
(
self
:
getCun
()
-
10
)
*
0
.
3
+
(
self
:
getLck
()
-
50
)
*
0
.
30
+
(
weapon
.
physcrit
or
1
)
+
addcrit
return
math.max
(
crit
,
0
)
-- note: crit > 100% may be offset by crit reduction elsewhere
...
...
@@ -1627,7 +1630,12 @@ 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
return
self
:
rescaleCombatStats
(
d
)
*
mod
local
amight
=
0
if
self
:
knowTalent
(
self
.
T_ARCANE_MIGHT
)
then
amight
=
self
:
combatSpellpower
()
*
0
.
5
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
+
4
−
1
View file @
de5b3eea
...
...
@@ -85,7 +85,10 @@ uberTalent{
mode
=
"passive"
,
info
=
function
(
self
,
t
)
return
(
[[You have learned to harness your latent arcane powers, channeling them through your weapon.
Equipped weapons are treated as having an additional 50%% Magic modifier.]]
)
This has the following effects:
Equipped weapons are treated as having an additional 50%% Magic modifier;
Your effective Physical Power is increased by 50%% of your effective Spellpower;
Your physical critical chance is increased by 50%% 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