diff --git a/scripts/globals/abilities/flabra.lua b/scripts/globals/abilities/flabra.lua new file mode 100644 index 00000000000..0d72985b216 --- /dev/null +++ b/scripts/globals/abilities/flabra.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Flabra +-- Increases resistance against earth and deals wind damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.FLABRA) +end + +return ability_object diff --git a/scripts/globals/abilities/gelus.lua b/scripts/globals/abilities/gelus.lua new file mode 100644 index 00000000000..186e78a98ff --- /dev/null +++ b/scripts/globals/abilities/gelus.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Gelus +-- Increases resistance against wind and deals ice damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.GELUS) +end + +return ability_object diff --git a/scripts/globals/abilities/ignis.lua b/scripts/globals/abilities/ignis.lua new file mode 100644 index 00000000000..0ed3cccf2c1 --- /dev/null +++ b/scripts/globals/abilities/ignis.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Ignis +-- Increases resistance against ice and deals fire damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.IGNIS) +end + +return ability_object diff --git a/scripts/globals/abilities/lux.lua b/scripts/globals/abilities/lux.lua new file mode 100644 index 00000000000..6f04f150352 --- /dev/null +++ b/scripts/globals/abilities/lux.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Lux +-- Increases resistance against dark and deals light damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.LUX) +end + +return ability_object diff --git a/scripts/globals/abilities/sulpor.lua b/scripts/globals/abilities/sulpor.lua new file mode 100644 index 00000000000..3f41b256e3d --- /dev/null +++ b/scripts/globals/abilities/sulpor.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Sulpor +-- Increases resistance against earth and deals thunder damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.SULPOR) +end + +return ability_object diff --git a/scripts/globals/abilities/tellus.lua b/scripts/globals/abilities/tellus.lua new file mode 100644 index 00000000000..e0624fa439f --- /dev/null +++ b/scripts/globals/abilities/tellus.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Tellus +-- Increases resistance against thunder and deals earth damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.TELLUS) +end + +return ability_object diff --git a/scripts/globals/abilities/tenebrae.lua b/scripts/globals/abilities/tenebrae.lua new file mode 100644 index 00000000000..47ba22ecc3f --- /dev/null +++ b/scripts/globals/abilities/tenebrae.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Tenebrae +-- Increases resistance against light and deals dark damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.TENEBRAE) +end + +return ability_object diff --git a/scripts/globals/abilities/unda.lua b/scripts/globals/abilities/unda.lua new file mode 100644 index 00000000000..1ad47f39827 --- /dev/null +++ b/scripts/globals/abilities/unda.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- Ability: Undra +-- Increases resistance against fire and deals water damage. +-- Obtained: Rune Fencer Level 5 +-- Recast Time: 0:05 +-- Duration: 5:00 +----------------------------------- +require("scripts/globals/status") +require("scripts/globals/job_utils/rune_fencer") +----------------------------------- +local ability_object = {} + +ability_object.onAbilityCheck = function(player, target, ability) + return 0, 0 +end + +ability_object.onUseAbility = function(player, target, ability, action) + xi.job_utils.rune_fencer.useRuneEnchantment(player, target, ability, xi.effect.UNDA) +end + +return ability_object diff --git a/scripts/globals/effects/flabra.lua b/scripts/globals/effects/flabra.lua new file mode 100644 index 00000000000..4e567b61965 --- /dev/null +++ b/scripts/globals/effects/flabra.lua @@ -0,0 +1,22 @@ +----------------------------------- +-- +-- xi.effect.FLABRA +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.EARTH_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.EARTH_RES, effect:getPower()) +end + +return effect_object + diff --git a/scripts/globals/effects/gelus.lua b/scripts/globals/effects/gelus.lua new file mode 100644 index 00000000000..8ca404b5858 --- /dev/null +++ b/scripts/globals/effects/gelus.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.GELUS +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.WIND_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.WIND_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/ignis.lua b/scripts/globals/effects/ignis.lua new file mode 100644 index 00000000000..8e29aed06d3 --- /dev/null +++ b/scripts/globals/effects/ignis.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.IGNIS +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.ICE_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.ICE_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/lux.lua b/scripts/globals/effects/lux.lua new file mode 100644 index 00000000000..8de0bb6d8fb --- /dev/null +++ b/scripts/globals/effects/lux.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.LUX +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.DARK_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.DARK_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/sulpor.lua b/scripts/globals/effects/sulpor.lua new file mode 100644 index 00000000000..0c7899ddda4 --- /dev/null +++ b/scripts/globals/effects/sulpor.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.SULPOR +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.WATER_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.WATER_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/tellus.lua b/scripts/globals/effects/tellus.lua new file mode 100644 index 00000000000..9c051ea0b69 --- /dev/null +++ b/scripts/globals/effects/tellus.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.IGNIS +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.THUNDER_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.THUNDER_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/tenebrae.lua b/scripts/globals/effects/tenebrae.lua new file mode 100644 index 00000000000..343bbbacb37 --- /dev/null +++ b/scripts/globals/effects/tenebrae.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.TENEBRAE +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.LIGHT_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.LIGHT_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/effects/unda.lua b/scripts/globals/effects/unda.lua new file mode 100644 index 00000000000..e25c2ff8b8d --- /dev/null +++ b/scripts/globals/effects/unda.lua @@ -0,0 +1,21 @@ +----------------------------------- +-- +-- xi.effect.UNDA +-- +----------------------------------- +require("scripts/globals/status") +----------------------------------- +local effect_object = {} + +effect_object.onEffectGain = function(target, effect) + target:addMod(xi.mod.FIRE_RES, effect:getPower()) +end + +effect_object.onEffectTick = function(target, effect) +end + +effect_object.onEffectLose = function(target, effect) + target:delMod(xi.mod.FIRE_RES, effect:getPower()) +end + +return effect_object diff --git a/scripts/globals/job_utils/rune_fencer.lua b/scripts/globals/job_utils/rune_fencer.lua new file mode 100644 index 00000000000..6ba36429d69 --- /dev/null +++ b/scripts/globals/job_utils/rune_fencer.lua @@ -0,0 +1,57 @@ +----------------------------------- +-- Rune Fencer Job Utilities +----------------------------------- +require("scripts/globals/ability") +require("scripts/globals/status") +require("scripts/globals/msg") +require("scripts/globals/weaponskills") +require("scripts/globals/jobpoints") +----------------------------------- +xi = xi or {} +xi.job_utils = xi.job_utils or {} +xi.job_utils.rune_fencer = xi.job_utils.rune_fencer or {} +----------------------------------- + +local function getRUNLevel(player) + if player:getMainJob() == xi.job.RUN then + return player:getMainLvl() + else + return player:getSubLvl() + end +end + +local function applyRuneEnhancement(effectType, player) + local RUNLevel = getRUNLevel(player) + local meritBonus = player:getMerit(xi.merit.MERIT_RUNE_ENHANCE) -- 2 more elemental resistance per merit for a maximum total of (2*5) = 10 (power of merit is 2 per level) + local jobPointBonus = player:getJobPointLevel(xi.jp.RUNE_ENCHANTMENT_EFFECT) -- 1 more elemental resistance per level for a maximum total of 20 + + -- see https://www.bg-wiki.com/ffxi/Category:Rune + local power = math.floor((49 * RUNLevel / 99) + 5.5) + meritBonus + jobPointBonus + player:addStatusEffect(effectType, power, 0, 300) +end + +local function enforceRuneCounts(target) + local RUNLevel = getRUNLevel(target) + local maxRunes = RUNLevel >= 65 and 3 or RUNLevel >= 35 and 2 or 1 + local effects = target:getStatusEffects() + local runes = {} + local i = 0 + + for _, effect in ipairs(effects) do + local type = effect:getType() + if type >= xi.effect.IGNIS and type <= xi.effect.TENEBRAE then + runes[i+1] = effect + i = i + 1 + end + end + + if i >= maxRunes then -- delete the first rune in the list with the least duration + target:delStatusEffect(runes[1]:getType()) + end +end + + +xi.job_utils.rune_fencer.useRuneEnchantment = function(player, target, ability, effect) + enforceRuneCounts(target) + applyRuneEnhancement(effect, target) +end diff --git a/sql/abilities.sql b/sql/abilities.sql index 5820cec6f87..46cdab73273 100644 --- a/sql/abilities.sql +++ b/sql/abilities.sql @@ -361,30 +361,30 @@ INSERT INTO `abilities` VALUES (353,'concentric_pulse',21,90,4,300,250,0,0,311,2 INSERT INTO `abilities` VALUES (354,'mending_halation',21,75,1,300,251,0,0,311,2000,0,6,10.0,0,1,0,3392,1,'SOA'); INSERT INTO `abilities` VALUES (355,'radial_arcana',21,75,1,300,252,0,0,311,2000,0,6,10.0,0,1,0,3394,1,'SOA'); INSERT INTO `abilities` VALUES (356,'elemental_sforzo',22,0,1,3600,0,0,0,302,2000,0,6,20.0,0,1800,7200,0,0,'SOA'); -INSERT INTO `abilities` VALUES (357,'Rune_enchantment',22,5,1,0,92,0,0,0,2000,0,6,20.0,0,0,0,0,0,'SOA'); -INSERT INTO `abilities` VALUES (358,'Ignis',22,5,1,5,10,100,0,291,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (359,'Gelus',22,5,1,5,10,100,0,292,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (360,'Flabra',22,5,1,5,10,100,0,293,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (361,'Tellus',22,5,1,5,10,100,0,294,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (362,'Sulpor',22,5,1,5,10,100,0,295,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (363,'Unda',22,5,1,5,10,100,0,296,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (364,'Lux',22,5,1,5,10,100,0,297,2000,0,6,20.0,0,80,320,0,0,'SOA'); -INSERT INTO `abilities` VALUES (365,'Tenebrae',22,5,1,5,10,100,0,298,2000,0,6,20.0,0,80,320,0,0,'SOA'); --- INSERT INTO `abilities` VALUES (366,'Vallation',22,10,1,180,23,668,0,0,2000,0,15,0.0,0,450,900,1794,0,'SOA'); -- check merit -INSERT INTO `abilities` VALUES (367,'Swordplay',22,20,1,300,24,667,0,299,2000,0,6,20.0,0,160,320,0,0,'SOA'); --- INSERT INTO `abilities` VALUES (368,'Lunge',22,25,4,180,25,110,0,8,2000,0,15,4.0,0,0,0,1796,0,'SOA'); -- check merit --- INSERT INTO `abilities` VALUES (369,'Pflug',22,40,1,180,59,671,0,1,2000,0,15,0.0,0,450,900,1798,0,'SOA'); -- check merit -INSERT INTO `abilities` VALUES (370,'Embolden',22,60,1,600,72,100,0,300,2000,0,6,0.0,0,160,320,0,0,'SOA'); --- INSERT INTO `abilities` VALUES (371,'Valiance',22,50,1,300,113,668,0,2,2000,0,15,0.0,0,450,900,0,0,'SOA'); --- INSERT INTO `abilities` VALUES (372,'Gambit',22,70,4,300,116,0,0,4,2000,0,15,4.0,0,640,1280,1800,0,'SOA'); -- check animation --- INSERT INTO `abilities` VALUES (373,'Liement',22,85,1,180,117,0,0,4,2000,0,15,0.0,0,450,900,0,0,'SOA'); -- check animation -INSERT INTO `abilities` VALUES (374,'One_for_all',22,95,1,300,118,100,0,301,2000,0,6,0.0,1,160,320,0,0,'SOA'); --- INSERT INTO `abilities` VALUES (375,'Rayke',22,75,4,300,119,0,0,4,2000,0,15,4.0,0,640,1260,0,0,'SOA'); -- check animation --- INSERT INTO `abilities` VALUES (376,'Battuta',22,75,1,300,120,100,0,4,2000,0,15,0.0,0,450,900,0,0,'SOA'); +INSERT INTO `abilities` VALUES (357,'rune_enchantment',22,5,1,0,92,0,0,0,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (358,'ignis',22,5,1,5,10,0,0,291,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (359,'gelus',22,5,1,5,10,0,0,292,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (360,'flabra',22,5,1,5,10,0,0,293,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (361,'tellus',22,5,1,5,10,0,0,294,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (362,'sulpor',22,5,1,5,10,0,0,295,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (363,'unda',22,5,1,5,10,0,0,296,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (364,'lux',22,5,1,5,10,0,0,297,2000,0,6,0.0,0,0,0,0,0,'SOA'); +INSERT INTO `abilities` VALUES (365,'tenebrae',22,5,1,5,10,0,0,298,2000,0,6,0.0,0,0,0,0,0,'SOA'); +-- INSERT INTO `abilities` VALUES (366,'vallation',22,10,1,180,23,668,0,0,2000,0,15,0.0,0,450,900,1794,0,'SOA'); -- check merit +INSERT INTO `abilities` VALUES (367,'swordplay',22,20,1,300,24,667,0,299,2000,0,6,0.0,0,160,320,0,0,'SOA'); +-- INSERT INTO `abilities` VALUES (368,'lunge',22,25,4,180,25,110,0,8,2000,0,15,4.0,0,0,0,1796,0,'SOA'); -- check merit +-- INSERT INTO `abilities` VALUES (369,'pflug',22,40,1,180,59,671,0,1,2000,0,15,0.0,0,450,900,1798,0,'SOA'); -- check merit +INSERT INTO `abilities` VALUES (370,'embolden',22,60,1,600,72,100,0,300,2000,0,6,0.0,0,160,320,0,0,'SOA'); +-- INSERT INTO `abilities` VALUES (371,'valiance',22,50,1,300,113,668,0,2,2000,0,15,0.0,0,450,900,0,0,'SOA'); +-- INSERT INTO `abilities` VALUES (372,'gambit',22,70,4,300,116,0,0,4,2000,0,15,4.0,0,640,1280,1800,0,'SOA'); -- check animation +-- INSERT INTO `abilities` VALUES (373,'liement',22,85,1,180,117,0,0,4,2000,0,15,0.0,0,450,900,0,0,'SOA'); -- check animation +INSERT INTO `abilities` VALUES (374,'one_for_all',22,95,1,300,118,100,0,301,2000,0,6,0.0,1,160,320,0,0,'SOA'); +-- INSERT INTO `abilities` VALUES (375,'rayke',22,75,4,300,119,0,0,4,2000,0,15,4.0,0,640,1260,0,0,'SOA'); -- check animation +-- INSERT INTO `abilities` VALUES (376,'battuta',22,75,1,300,120,100,0,4,2000,0,15,0.0,0,450,900,0,0,'SOA'); INSERT INTO `abilities` VALUES (377,'widened_compass',21,96,1,3600,130,100,0,276,2000,0,6,0.0,0,1,300,0,0,'SOA'); -- INSERT INTO `abilities` VALUES (378,'odyllic_subterfuge',22,96,4,3600,131,0,0,10,2000,0,15,8.0,15,1,318,0,0,NULL); -- check 6 or 15 animation -INSERT INTO `abilities` VALUES (379,'Ward',22,1,1,0,142,0,0,0,2000,0,6,0.0,0,0,0,0,0,NULL); -INSERT INTO `abilities` VALUES (380,'Effusion',22,1,1,0,143,0,0,0,2000,0,6,0.0,0,0,0,0,0,NULL); +INSERT INTO `abilities` VALUES (379,'ward',22,1,1,0,142,0,0,0,2000,0,6,0.0,0,0,0,0,0,NULL); +INSERT INTO `abilities` VALUES (380,'effusion',22,1,1,0,143,0,0,0,2000,0,6,0.0,0,0,0,0,0,NULL); INSERT INTO `abilities` VALUES (381,'chocobo_jig_ii',19,70,1,60,218,126,0,13,2000,0,14,0.0,1,1,300,0,0,'SOA'); -- INSERT INTO `abilities` VALUES (382,'relinquish',23,1,1,60,253,0,0,0,0,0,6,0.0,0,0,0,0,0,NULL); INSERT INTO `abilities` VALUES (383,'vivacious_pulse',22,65,1,60,242,102,0,327,2000,0,6,0.0,0,0,0,0,0,NULL); diff --git a/sql/status_effects.sql b/sql/status_effects.sql index e62561aeb3f..1a08112fc03 100644 --- a/sql/status_effects.sql +++ b/sql/status_effects.sql @@ -543,14 +543,14 @@ INSERT INTO `status_effects` VALUES (517,'collimated_fervor',32,0,0,0,0,0,0,0,0) INSERT INTO `status_effects` VALUES (518,'dematerialize',32,0,0,0,0,0,0,0,0); INSERT INTO `status_effects` VALUES (519,'theurgic_focus',32,0,0,0,0,0,0,0,0); INSERT INTO `status_effects` VALUES (522,'elemental_sforzo',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (523,'ignis',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (524,'gelus',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (525,'flabra',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (526,'tellus',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (527,'sulpor',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (528,'unda',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (529,'lux',32,0,0,0,0,0,0,0,0); -INSERT INTO `status_effects` VALUES (530,'tenebrae',32,0,0,0,0,0,0,0,0); +INSERT INTO `status_effects` VALUES (523,'ignis',32,0,0,4,0,0,1,0,0); +INSERT INTO `status_effects` VALUES (524,'gelus',32,0,0,4,0,0,2,0,0); +INSERT INTO `status_effects` VALUES (525,'flabra',32,0,0,4,0,0,3,0,0); +INSERT INTO `status_effects` VALUES (526,'tellus',32,0,0,4,0,0,4,0,0); +INSERT INTO `status_effects` VALUES (527,'sulpor',32,0,0,4,0,0,5,0,0); +INSERT INTO `status_effects` VALUES (528,'unda',32,0,0,4,0,0,6,0,0); +INSERT INTO `status_effects` VALUES (529,'lux',32,0,0,4,0,0,7,0,0); +INSERT INTO `status_effects` VALUES (530,'tenebrae',32,0,0,4,0,0,8,0,0); INSERT INTO `status_effects` VALUES (531,'vallation',32,0,0,0,0,0,0,0,0); INSERT INTO `status_effects` VALUES (532,'swordplay',32,0,0,0,0,0,0,0,0); INSERT INTO `status_effects` VALUES (533,'pflug',32,0,0,0,0,0,0,0,0);