[lua, sql] Mobskill Rework: Magical Skills#8360
[lua, sql] Mobskill Rework: Magical Skills#8360WinterSolstice8 merged 6 commits intoLandSandBoat:basefrom
Conversation
cb9a7a9 to
9284999
Compare
|
re: Nether Blast, if it's like the player version, it does breath damage rather than magic damage. So I'm not sure if it fits into the magical mob move category, even though it uses a different calculation for breath damage than others. Fwiw, there's an open issue for the player version of Nether Blast, since it's not being handled properly either, but I'm not going to link it here since you've been working on separating player BPs from mob skills. |
I'll wait and see if Frank can chime in, He probably knows more about avatar calcs. @Frankie-hz |
9284999 to
e28436a
Compare
|
Nerherblast is a fun one! It is indeed an unresisted breathe skill that has a static ftp of 5 and is effected by MAB/MDEF AND breathe damage taken. It will need a check on its own somewhere regardless because of the unresisted state. |
e28436a to
2a7c498
Compare
|
New update: Migrated Breath damage adjustments in mobBreathMove into their own function equivalent to TMDA in damageSpell. Used said function(xi.spells.damage.calculateTBDA) in mobBreathMove. Also using this new function in mobMagicalMove for one off abilities like Nether Blast that use magic damage calcs but deal breath damage. Also another note, would we want to eventually move modifiers like this to combat/damage_multipliers.lua? |
fa4f421 to
7fef004
Compare
3e8319f to
84c1b98
Compare
84c1b98 to
0ab3475
Compare
|
I realize I should have left a comment earlier. I added the tests tag mostly because of the sheer size of the PR. You don't have to do anything at this point, I will write some tests when the PR is ready. |
ab6acc1 to
f1887c3
Compare
|
Sorry, taking a bit longer than anticipated. Been on retail past few days capturing data/mechanics for HP/MP/TP Drain skills. Should have the rest of the skills converted sometime this week. |
|
This PR has been automatically marked as stale because |
f1887c3 to
958563a
Compare
|
This PR has been automatically marked as stale because |
0726462 to
759fb0f
Compare
11c785b to
dc4d4fd
Compare
|
Rebased/Updated as of Feb. 14th.
|
dc4d4fd to
d221090
Compare
|
Feel free to merge the PR if it's good to go, I'll submit the tests a little later in a new PR. |
I affirm:
What does this pull request do?
Adds support to mobMagicalMove:
Other changes:
Converts avatar blood pacts to use this new system.
Eliminates usage of mobFinalAdjustments() for magical mob skills/avatar skills.
Applies Jimmayus's data when applicable (Newer PRs have been taken into account and integrated).
Follows ordering in scripts: Apply Damage -> Then Apply Status Effects
Status Effects have been found to apply even when elemental damage is absorbed/nullified.
Applies research I have done over past months on magical based drain moves.
-- Multiple HP drains across different expansions seem to ignore MDB and are also unaspected(No resists or absorbs). Using this logic pattern as a base line for all magic HP Drains since its very common. Outliers can be adjusted once we get captures.
-- MP/TP Drains are not affected by MDB/% Modifiers like Shell.
-- MP Drains have been found to often use Level - 2 as a base damage.
Rename Behemoth skill "shock_wave" to reduce confusion with greatsword skill "shockwave"
Renamed Gorger skill "Spirit_Absorption" to "Spirit_Absorption_Gorger" for clarity.
Corrects skill name "hydro_cannon" (Was previously "hydro_canon")
Eliminated skills prefixed with pl_ and pw_. These have now been consolidated into their normal script counterparts since regular mobs were using these as well.
Removed "Fire_Arrow.lua". This is not a skill with this name in the database. Its likely a redundant file meant to be "Flame_Arrow" which is an Orc Warmachine skill that is constantly mislabeled as "Fire Arrow" in EN language wikis.
Steps to test these changes
Hand testing pending. Need to write XI Tests as well.