|
|
@@ -10,19 +10,19 @@ module.exports = function FpsUtils(mod) {
|
|
|
const BronzeClr = '#BC8F8F', SilverClr = '#9A9A9A', GoldClr = '#DAA520', PinkClr = '#FFB7C5', HPinkClr = '#FF69B4', CPinkClr = '#ED5D92', RedClr = '#FE6F5E', GreenClr = '#4DE19C', LPurpleClr = '#E0B0FF', PurpleClr = '#9966CC', LBlueClr = '#4DDCE1', BlueClr = '#436EEE', DBlueClr = '#00575e', HBlueClr = '#08B3E5', GrayClr = '#778899', YellowClr = '#C0B94D', OrangeClr = '#FFBE5E';
|
|
|
const alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
|
|
|
const FishingNpcs = {
|
|
|
- 8: [6011], //frog
|
|
|
- 12: [1, 2], //crab, bay kamara(not aggressive type)
|
|
|
- 23: [201, 202], //frog, bee
|
|
|
- 34: [8000], //goat
|
|
|
- 61: [9805, 9901, 9902, 9903, 9904, 9905, 9906, 9907, 9908], //Ostgarath - Vexatus Swamp
|
|
|
- 62: [1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1020, 1024, 1025, 1026, 1031, 1032, 1033, 1034, 1035, 1038, 1039, 1040, 1041, 1042, 1043, 1501, 1900, 1901, 1902, 1903, 8100, 9001, 9002, 9003, 9004, 9805, 9901, 9902, 9903, 9904, 9905], //Ostgarath - Cutthroat Harbor
|
|
|
- 83: [9805, 9901, 9902, 9903, 9904, 9905], //Westonia - Celsian Lake
|
|
|
- 99: [1180, 1181, 1182, 1183, 1184, 1185], //All invisible ?_? - unknown area.
|
|
|
- 207: [9805, 9901, 9902, 9903, 9904, 9905], //Arcadia - Muricai
|
|
|
- 212: [1034], //Cutthroat followup
|
|
|
- 223: [9805, 9901, 9902, 9903, 9904, 9905, 9906, 9907, 9915, 9925], //Poporia - Lake of Tears
|
|
|
- 230: [1041, 1042, 1043, 1044, 1045, 1046, 1084, 9805, 9901, 9902, 9903, 9904, 9905, 9906], //Veritas District - Seren's Lake
|
|
|
- 362: [1201, 1202, 1301, 1302] //Cutthroat followup
|
|
|
+ 8: [6011], //frog
|
|
|
+ 12: [1, 2], //crab, bay kamara
|
|
|
+ 23: [201, 202], //frog, bee
|
|
|
+ 34: [8000], //goat
|
|
|
+ 61: [9901], //Ostgarath - Vexatus Swamp
|
|
|
+ 62: [1017, 1035, 1039, 1040, 1041, 1042, 1900, 1901, 1902, 1903, 9001, 9002, 9003, 9004, 9901], //Ostgarath - Cutthroat Harbor
|
|
|
+ 83: [9901], //Westonia - Celsian Lake
|
|
|
+ 99: [1180, 1181, 1182, 1183, 1184, 1185], //All invisible ?_? - unknown area.
|
|
|
+ 207: [9901], //Arcadia - Muricai
|
|
|
+ 212: [1034], //Cutthroat followup
|
|
|
+ 223: [9901, 9906, 9907, 9915, 9925], //Poporia - Lake of Tears
|
|
|
+ 230: [9901], //Veritas District - Seren's Lake
|
|
|
+ 362: [1201, 1202, 1301, 1302] //Cutthroat followup
|
|
|
}
|
|
|
|
|
|
let MyGameId,
|
|
|
@@ -31,7 +31,6 @@ module.exports = function FpsUtils(mod) {
|
|
|
ChangeOnCd,
|
|
|
LastState,
|
|
|
LastVrange,
|
|
|
- Alerted,
|
|
|
TmpData = [],
|
|
|
PartyMembers = [],
|
|
|
HiddenNpcs = {},
|
|
|
@@ -823,7 +822,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
}
|
|
|
|
|
|
function sAbnormalityFail(event) {
|
|
|
- if ([3000021, 99020000].includes(event.id)) return false;
|
|
|
+ if ([3000021, 99020000, 99020010].includes(event.id)) return false;
|
|
|
}
|
|
|
|
|
|
function sActionStage(event) {
|
|
|
@@ -1373,13 +1372,8 @@ module.exports = function FpsUtils(mod) {
|
|
|
case "fishing":
|
|
|
mod.settings.Fishing = !mod.settings.Fishing;
|
|
|
Msg(`Fishing mode is ${mod.settings.Fishing ? `<font color="${GreenClr}">Enabled</font>` : `<font color="${RedClr}">Disabled</font>`}.`);
|
|
|
- if (mod.settings.Fishing) {
|
|
|
- HideFishingNpcs();
|
|
|
- if (!Alerted) {
|
|
|
- Msg(`<font color="${PinkClr}">Reminder: All fishing npcs won't spawn until you turn off fishing mode</font>.`);
|
|
|
- Alerted = true;
|
|
|
- }
|
|
|
- } else ShowFishingNpcs();
|
|
|
+ if (mod.settings.Fishing) HideFishingNpcs();
|
|
|
+ else ShowFishingNpcs();
|
|
|
break;
|
|
|
case "help":
|
|
|
mod.command.exec(`fps gui help`)
|