Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Audit all damage type values in BLU spells. #6412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/globals/bluemagic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function BlueFinalAdjustments(caster, target, spell, dmg, params)
-- handling stoneskin
dmg = utils.stoneskin(target, dmg)

local damageType = params.dmgType or dsp.damageType.NONE
local damageType = params.damageType or dsp.damageType.NONE
target:takeSpellDamage(caster, spell, dmg, dsp.attackType.PHYSICAL, damageType)
target:updateEnmityFromDamage(caster,dmg)
target:handleAfflatusMiseryDamage(dmg)
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/1000_needles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CRITICAL
params.dmgtype = dsp.damageType.PIERCING
params.damageType = dsp.damageType.LIGHT
params.scattr = SC_COMPRESSION
params.numhits = 1
params.multiplier = 1.5
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/asuran_claws.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ACC
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 6
params.multiplier = 1.0
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/bad_breath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function onSpellCast(caster,target,spell)
if (caster:hasStatusEffect(dsp.effect.AZURE_LORE)) then
multi = multi + 0.50
end
params.damageType = dsp.damageType.EARTH
params.multiplier = multi
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/battle_dance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DURATION
params.dmgtype = dsp.damageType.SLASHING
params.damageType = dsp.damageType.SLASHING
params.scattr = SC_IMPACTION
params.numhits = 1
params.multiplier = 2.0
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/blastbomb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.FIRE
params.multiplier = 1.375
params.tMultiplier = 1.0
params.duppercap = 30
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/blitzstrahl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.LIGHTNING
params.multiplier = 1.5625
params.tMultiplier = 1.0
params.duppercap = 61
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/blood_drain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function onSpellCast(caster,target,spell)
dmg = target:getHP()
end

params.damageType = dsp.damageType.DARK
dmg = BlueFinalAdjustments(caster,target,spell,dmg,params)
caster:addHP(dmg)

Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/blood_saber.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function onSpellCast(caster,target,spell)
dmg = target:getHP()
end

params.damageType = dsp.damageType.DARK
dmg = BlueFinalAdjustments(caster,target,spell,dmg,params)
caster:addHP(dmg)

Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/bludgeon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ACC
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_LIQUEFACTION
params.numhits = 3
params.multiplier = 1.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/body_slam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ATTACK
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 1
params.multiplier = 1.5
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/bomb_toss.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.FIRE
params.multiplier = 1.625
params.tMultiplier = 1.0
params.duppercap = 40
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/cannonball.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_FUSION
params.numhits = 1
params.multiplier = 1.75
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/claw_cyclone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ATTACK
params.dmgtype = dsp.damageType.SLASHING
params.damageType = dsp.damageType.SLASHING
params.scattr = SC_SCISSION
params.numhits = 2
params.multiplier = 1.4375
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/corrosive_ooze.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function onSpellCast(caster,target,spell)
if (caster:hasStatusEffect(dsp.effect.AZURE_LORE)) then
multi = multi + 0.50
end
params.damageType = dsp.damageType.WATER
params.multiplier = multi
params.tMultiplier = 2.0
params.duppercap = 69
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/cursed_sphere.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.WATER
params.multiplier = 1.50
params.tMultiplier = 1.0
params.duppercap = 30
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/death_ray.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function onSpellCast(caster,target,spell)
if (caster:hasStatusEffect(dsp.effect.AZURE_LORE)) then
multi = multi + 2.0
end
params.damageType = dsp.damageType.DARK
params.multiplier = multi
params.tMultiplier = 1.0
params.duppercap = 51
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/death_scissors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.SLASHING
params.damageType = dsp.damageType.SLASHING
params.scattr = SC_COMPRESSION
params.numhits = 1
params.multiplier = 1.5
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/digest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function onSpellCast(caster,target,spell)
dmg = target:getHP()
end

params.damageType = dsp.damageType.DARK
dmg = BlueFinalAdjustments(caster,target,spell,dmg,params)
caster:addHP(dmg)

Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/dimensional_death.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ATTACK
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 1
params.multiplier = 2.25
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/disseverment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ACC
params.dmgtype = dsp.damageType.PIERCING
params.damageType = dsp.damageType.PIERCING
params.scattr = SC_DISTORTION
params.numhits = 5
params.multiplier = 1.5
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/eyes_on_me.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function onSpellCast(caster,target,spell)
if (caster:hasStatusEffect(dsp.effect.AZURE_LORE)) then
multi = multi + 2.0
end
params.damageType = dsp.damageType.DARK
params.multiplier = multi
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/feather_storm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CRITICAL
params.dmgtype = dsp.damageType.PIERCING
params.damageType = dsp.damageType.PIERCING
params.scattr = SC_LIGHT
params.numhits = 1
params.multiplier = 1.25
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/firespit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.FIRE
params.multiplier = 3.0
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/flying_hip_press.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.WIND
params.multiplier = 2.775
params.tMultiplier = 2.912
params.duppercap = 58
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/foot_kick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CRITICAL
params.dmgtype = dsp.damageType.SLASHING
params.damageType = dsp.damageType.SLASHING
params.scattr = SC_DETONATION
params.numhits = 1
params.multiplier = 1.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/frenetic_rip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_INDURATION
params.numhits = 3
params.multiplier = 1.36
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/frost_breath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function onSpellCast(caster,target,spell)
local resist = applyResistance(caster, target, spell, params)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.ICE
params.multiplier = multi
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/frypan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ACC
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 1
params.multiplier = 1.78
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/grand_slam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ATTACK
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_INDURATION
params.numhits = 1
params.multiplier = 1.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/head_butt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 1
params.multiplier = 1.75
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/heat_breath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function onSpellCast(caster,target,spell)
local resist = applyResistance(caster, target, spell, params)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.FIRE
params.multiplier = multi
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/hecatomb_wave.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function onSpellCast(caster,target,spell)
local resist = applyResistance(caster, target, spell, params)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.WIND
params.multiplier = 1.375
params.tMultiplier = 1.0
params.duppercap = 54
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/helldive.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_TRANSFIXION
params.numhits = 1
params.multiplier = 1.25
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/hydro_shot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CHANCE
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_REVERBERATION
params.numhits = 1
params.multiplier = 1.25
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/hysteric_barrage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_DAMAGE
params.dmgtype = dsp.damageType.HTH
params.damageType = dsp.damageType.HTH
params.scattr = SC_DETONATION
params.numhits = 5
params.multiplier = 1.25
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/ice_break.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function onSpellCast(caster,target,spell)
local resist = applyResistance(caster, target, spell, params)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.ICE
params.multiplier = 2.25
params.tMultiplier = 1.0
params.duppercap = 69
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/jet_stream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ACC
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_IMPACTION
params.numhits = 3
params.multiplier = 1.125
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/maelstrom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.WATER
params.multiplier = 2.375
params.tMultiplier = 1.5
params.duppercap = 69
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/magic_hammer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function onSpellCast(caster,target,spell)

local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.damageType = dsp.damageType.LIGHT
params.multiplier = multi
params.tMultiplier = 1.0
params.duppercap = 35
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/magnetite_cloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.EARTH
params.diff = caster:getStat(dsp.mod.INT) - target:getStat(dsp.mod.INT)
params.attribute = dsp.mod.INT
params.skillType = dsp.skill.BLUE_MAGIC
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/mandibular_bite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_ATTACK
params.dmgtype = dsp.damageType.SLASHING
params.damageType = dsp.damageType.SLASHING
params.scattr = SC_INDURATION
params.numhits = 1
params.multiplier = 2.0
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/mind_blast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.LIGHTNING
params.diff = caster:getStat(dsp.mod.INT) - target:getStat(dsp.mod.INT)
params.attribute = dsp.mod.INT
params.skillType = dsp.skill.BLUE_MAGIC
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/mysterious_light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.WIND
params.diff = caster:getStat(dsp.mod.INT) - target:getStat(dsp.mod.INT)
params.attribute = dsp.mod.INT
params.skillType = dsp.skill.BLUE_MAGIC
Expand Down
1 change: 1 addition & 0 deletions scripts/globals/spells/bluemagic/poison_breath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ end

function onSpellCast(caster,target,spell)
local params = {}
params.damageType = dsp.damageType.WATER
params.diff = caster:getStat(dsp.mod.INT) - target:getStat(dsp.mod.INT)
params.attribute = dsp.mod.INT
params.skillType = dsp.skill.BLUE_MAGIC
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/power_attack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CRITICAL
params.dmgtype = dsp.damageType.BLUNT
params.damageType = dsp.damageType.BLUNT
params.scattr = SC_REVERBERATION
params.numhits = 1
params.multiplier = 1.125
Expand Down
2 changes: 1 addition & 1 deletion scripts/globals/spells/bluemagic/queasyshroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function onSpellCast(caster,target,spell)
local params = {}
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.tpmod = TPMOD_CRITICAL
params.dmgtype = dsp.damageType.PIERCING
params.damageType = dsp.damageType.PIERCING
params.scattr = SC_DARK
params.numhits = 1
params.multiplier = 1.25
Expand Down
Loading