kjLotus wrote:did you equip the spell
Yes, of course. I think it's just the spells that don't have a lua script in scripts\globals\spells\bluemagic that don't work. I can equip them, just cannot cast.
Here's my script for Quadratic_Continuum. Wonder if I have to rename it to "Quad._Continuum.lua"... I don't see any other spells with an abbreviated file name though.
========================================================================================
-----------------------------------------
-- Spell: Quadratic Continuum
-- Delivers a fourfold attack. Damage varies with TP.
-- Spell cost: 91 MP
-- Monster Type: Empty
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3 CHR-2
-- Level: 85
-- Casting Time: 1 seconds
-- Recast Time: 28 seconds
-- Skillchain Element(s): Distortion (can open/close Darkness with Gravitation WSs and spells)and Scission
-- Combos: Dual Wield
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnMagicCastingCheck
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onSpellCast(caster,target,spell)
local params = {};
-- This data should match information on
http://wiki.ffxiclopedia.org/wiki/Calcu ... gic_Damage
params.tpmod = TPMOD_DAMAGE;
params.dmgtype = DMGTYPE_PIERCE;
params.scattr = SC_DISTORTION;
params.numhits = 4;
params.multiplier = 1.25;
params.tp150 = 1.5;
params.tp300 = 1.75;
params.azuretp = 2.0;
params.duppercap = 100; -- D upper >=69
params.str_wsc = 0.32;
params.dex_wsc = 0.0;
params.vit_wsc = 0.32;
params.agi_wsc = 0.0;
params.int_wsc = 0.0;
params.mnd_wsc = 0.0;
params.chr_wsc = 0.0;
damage = BluePhysicalSpell(caster, target, spell, params);
damage = BlueFinalAdjustments(caster, target, spell, damage, params);
return damage;
end;
=================================================================================================