Module:GameData/doc: Difference between revisions

Update custom localizations for stronghold bosses
(Amend equipmentStat handling for resistances)
(Update custom localizations for stronghold bosses)
Line 19: Line 19:
// To be used sparingly, for instances where 2+ objects of the same type
// To be used sparingly, for instances where 2+ objects of the same type
// (e.g. monsters) have the same name, as this isn't convenient to deal with in Lua
// (e.g. monsters) have the same name, as this isn't convenient to deal with in Lua
MAGIC_ABYSSAL_NAME_Madness: 'Madness (ItA)' // TotH curse also named 'Madness'
 
// TotH curse also named 'Madness'
MAGIC_ABYSSAL_NAME_Madness: 'Madness (ItA)',
 
// Stronghold boss monsters, where names overlap with normal monster variants
MONSTER_NAME_FierceDevilBoss: 'Fierce Devil (Stronghold)',
MONSTER_NAME_ElementalistBoss: 'Elementalist (Stronghold)',
MONSTER_NAME_PratTheGuardianOfSecretsBoss: 'Prat, the Guardian of Secrets (Stronghold)',
MONSTER_NAME_MysteriousFigurePhase1Stronghold: 'Mysterious Figure - Phase 1 (Stronghold)',
MONSTER_NAME_MysteriousFigurePhase2Stronghold: 'Mysterious Figure - Phase 2 (Stronghold)',
MONSTER_NAME_AhreniaStronghold: 'Ahrenia (Stronghold)'
};
};
this.namespaces = {
this.namespaces = {
Line 850: Line 860:
}));
}));
}
}
// Normal damage type exisst outside of data packages
// Normal damage type exists outside of data packages
if (this.gameData.damageTypes === undefined) {
if (this.gameData.damageTypes === undefined) {
this.gameData.damageTypes =  game.damageTypes
this.gameData.damageTypes =  game.damageTypes