-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6180 from jmcmorris/isnm_making_a_mockery
Implement the ISNM Making a Mockery
- Loading branch information
Showing
10 changed files
with
155 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
----------------------------------- | ||
-- Making a Mockery | ||
-- Jade Sepulcher, Confidential Imperial Order | ||
-- !addkeyitem CONFIDENTIAL_IMPERIAL_ORDER | ||
----------------------------------- | ||
local ID = zones[xi.zone.JADE_SEPULCHER] | ||
----------------------------------- | ||
|
||
local content = Battlefield:new({ | ||
zoneId = xi.zone.JADE_SEPULCHER, | ||
battlefieldId = xi.battlefield.id.MAKING_A_MOCKERY, | ||
maxPlayers = 6, | ||
levelCap = 60, | ||
timeLimit = utils.minutes(30), | ||
index = 0, | ||
entryNpc = '_1v0', | ||
exitNpcs = { '_1v1', '_1v2', '_1v3' }, | ||
requiredKeyItems = { xi.ki.CONFIDENTIAL_IMPERIAL_ORDER, message = ID.text.ORDER_BREAKS }, | ||
}) | ||
|
||
content:addEssentialMobs({ 'Mocking_Colibri' }) | ||
|
||
content.loot = | ||
{ | ||
{ | ||
{ item = xi.item.AGILITY_POTION, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.VITALITY_POTION, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.STRENGTH_POTION, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.DEXTERITY_POTION, weight = xi.loot.weight.NORMAL }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.SQUARE_OF_POLYFLAN, weight = xi.loot.weight.HIGH }, | ||
{ item = xi.item.BUNDLE_OF_HOMUNCULUS_NERVES, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.GLASS_SHEET, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.PETRIFIED_LOG, weight = xi.loot.weight.LOW }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.SCROLL_OF_AERO_IV, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.SCROLL_OF_MAIDENS_VIRELAI, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.SCROLL_OF_CARNAGE_ELEGY, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.SCROLL_OF_FLARE, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.SCROLL_OF_FLOOD, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.SCROLL_OF_TORNADO, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.DARK_SPIRIT_PACT, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.LIGHT_SPIRIT_PACT, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.LOUDSPEAKER_II, weight = xi.loot.weight.VERY_LOW }, | ||
{ item = xi.item.ACCELERATOR_II, weight = xi.loot.weight.VERY_LOW }, | ||
{ item = xi.item.STABILIZER_II, weight = xi.loot.weight.VERY_LOW }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.CHOCOBO_EGG_A_LITTLE_WARM, weight = xi.loot.weight.NORMAL }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.COLIBRI_FEATHER, weight = xi.loot.weight.NORMAL }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.NONE, weight = xi.loot.weight.EXTREMELY_HIGH }, | ||
{ item = xi.item.CHUNK_OF_DARKSTEEL_ORE, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.DEMON_HORN, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.IYO_SCALE, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.SQUARE_OF_MOBLINWEAVE, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.ALUMINUM_SHEET, weight = xi.loot.weight.VERY_LOW }, | ||
{ item = xi.item.MYTHRIL_COIL, weight = xi.loot.weight.VERY_LOW }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.NONE, weight = xi.loot.weight.EXTREMELY_HIGH }, | ||
{ item = xi.item.IMMORTALS_CAPE, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.DEADEYE_GLOVES, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.LEECH_SCIMITAR, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.PIRATES_EARRING, weight = xi.loot.weight.LOW }, | ||
}, | ||
|
||
{ | ||
{ item = xi.item.CHUNK_OF_PLATINUM_ORE, weight = xi.loot.weight.VERY_HIGH }, | ||
{ item = xi.item.CHUNK_OF_DARKSTEEL_ORE, weight = xi.loot.weight.VERY_HIGH }, | ||
{ item = xi.item.CHUNK_OF_ADAMAN_ORE, weight = xi.loot.weight.NORMAL }, | ||
{ item = xi.item.CHUNK_OF_ORICHALCUM_ORE, weight = xi.loot.weight.LOW }, | ||
{ item = xi.item.DEMON_HORN, weight = xi.loot.weight.LOW }, | ||
}, | ||
} | ||
|
||
return content:register() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
----------------------------------- | ||
-- Area: Jade Sepulcher | ||
-- NM: Mocking Colibri | ||
----------------------------------- | ||
mixins = { require('scripts/mixins/families/colibri_mimic') } | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobInitialize = function(mob) | ||
end | ||
|
||
entity.onMobSpawn = function(mob) | ||
mob:addImmunity(xi.immunity.SILENCE) | ||
mob:addImmunity(xi.immunity.DARK_SLEEP) | ||
mob:addImmunity(xi.immunity.LIGHT_SLEEP) | ||
end | ||
|
||
entity.onMobDisengage = function(mob) | ||
-- Remove dots when the mob disengages such as when charming everyone | ||
mob:delStatusEffect(xi.effect.POISON) | ||
mob:delStatusEffect(xi.effect.BURN) | ||
mob:delStatusEffect(xi.effect.FROST) | ||
mob:delStatusEffect(xi.effect.CHOKE) | ||
mob:delStatusEffect(xi.effect.RASP) | ||
mob:delStatusEffect(xi.effect.SHOCK) | ||
mob:delStatusEffect(xi.effect.DROWN) | ||
mob:delStatusEffect(xi.effect.DIA) | ||
mob:delStatusEffect(xi.effect.BIO) | ||
end | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters