Closed eraffxi-personal closed 2 years ago
Killable, needs unkillable flag and make knife remove flag
Commit: Added unkillable effect to Brigandish Blade
Implemented the following changes:
Credits: @Judaine
Query: INSERT INTO item_mods(itemId, modId, value) VALUES(17622, 431, 13), (17622, 501, 100)
Credits: @RunAwayDSP for zone variable, @Judaine for other implementation.
Insert @ Line 123: REMOVE_UNKILLABLE = 13, --Solely for Buccaneer's Knife with Brigandish Blade
Remove @ Line 255: end
Insert @ Line 258:
elseif addType == procType.REMOVE_UNKILLABLE then local BBID = require('scripts/zones/VELUGANNON_PALACE/IDs') if GetMobByID(BBID.mob.BRIGANDISH_BLADE) then defender:setUnkillable(false) else return 0, 0, 0 -- Not Brigandish Blade end end
Credits: @eraffxi
Insert @ Line 14: entity.onMobSpawn = function(mob) mob:setUnkillable(true) end
Tested the knife on Tinnin, does not remove it's unkillable status.
Correction. It makes it no longer work on Brigandish Blade either.
This should be in a branch and PRed into the main branch when ready.
Were there SQL changes?
"Database Credits: @Judaine Query: INSERT INTO item_mods(itemId, modId, value) VALUES(17622, 431, 13), (17622, 501, 100) "
That needs to be added to the item_mods.sql or it will be lost on next import.
https://ffxiclopedia.fandom.com/wiki/Brigandish_Blade possibly make custom added effect on the buccaneers knife to remove dmg immunity buff on NM