Commit graph

60 commits

Author SHA1 Message Date
sruon
b51a58c147 Migrate addStatusEffect 2026-02-20 18:42:33 -07:00
Frankie-hz
13fbd4a0e8 Moves min/max levels to mob_spawn_points sql 2026-01-24 21:48:47 -05:00
sruon
e0b073329e Check for level sync effect when registering BCNM 2025-11-22 23:48:31 -07:00
sruon
374da568d0 Deprecate isLevelSync in favor of checking effect directly 2025-11-22 01:27:04 -07:00
Will Buck
545e22e5ed Implement Garrison latent effects 2025-11-09 19:47:14 -06:00
Xaver-DaRed
c10aef312c Move utilities to their own folder and audit some 2025-09-26 01:37:05 +02:00
Xaver-DaRed
720181f721
Merge pull request #8131 from Xaver-DaRed/load-order
[core] Create a new data folder to be loaded after enums and before combat
2025-09-20 09:46:59 +02:00
MowFord
e3d7580f4a
Convert all battlefields to key rewards on itemid 2025-09-19 13:13:58 -05:00
MowFord
b9d193f6fa
adjust lootGroup helper to require itemid instead of item key 2025-09-19 11:56:18 -05:00
MowFord
932a3770cb
update garrison to use lootGroup helper 2025-09-19 11:10:29 -05:00
Xaver-DaRed
92c4d350dc Remove unneeded requires 2025-09-19 13:43:05 +02:00
Corey Sotiropoulos
1cb2d545ea
Replace os.time() with GetSystemTime()
Simple find/replace.
This will make sure everything is using the same clock (earth_time::clock).
2025-07-03 23:38:14 -04:00
Corey Sotiropoulos
b26d552f19
Fix setSpeed Lua binding
- Speed is dynamic and shouldn't be set directly. Make it protected and
change speed by changing the base speed or apply an override modifier.
- Manually changing speed for run pathing is unnecessary (see Dark Ixion).
- Luopan and bind set base speed to 0.
- Remove references to old speed settings. Fix "speed" GM command.
2025-01-20 22:59:23 -05:00
claywar
a2906c343e
Fix or disable issues reported from Global additions 2024-08-26 23:05:01 -04:00
Zach Toogood
e98de08e90 [core, Lua] Rename PrintToPlayer and PrintToArea to lowercase 2023-12-09 23:54:00 +00:00
claywar
6399cc6d04
Fix garrison check to return correct result in invalid regions 2023-10-28 10:09:16 -04:00
claywar
be43465447
Deprecate getConquestTally, replace forever vars with expiring charvars
Fix unrelated lua styling issues
2023-09-30 08:39:24 -04:00
claywar
435273ea5f
[ci] Add padding check for logical operators
Modify regex, add todo for other items noticed

Remove debug setting

Verify correct fail count for self-tests and update

Add excess padding checks for operators
2023-09-22 08:05:06 -04:00
Loxley
71f6de4bda Fixes issue trading crystals to conquest overseers 2023-09-01 15:41:19 +01:00
Zach Toogood
245227b4f7 [chore] Convert " to ' for Garrison 2023-08-31 20:40:09 +01:00
Zach Toogood
5ac3df7571 [garrison] Fix getAllyInfo entry call 2023-08-31 20:30:22 +01:00
Loxley
b082dadb8c Adds more capture data for Garrison 2023-08-31 20:30:22 +01:00
Zach Toogood
5446cdde1d [garrison] Add debug logging in spawnNPC 2023-08-31 20:30:21 +01:00
Zach Toogood
3a4a5c16d9 [garrison] Add zone name to no-NPC warning 2023-08-31 20:30:21 +01:00
Xaver-DaRed
51e59736ff Add data from captures and move debug setting from setting file 2023-08-31 20:30:20 +01:00
Xaver-DaRed
1e892ae4ba Reorder function by use. Make certain global functions local. 2023-08-31 20:30:20 +01:00
Xaver-DaRed
9f3df02b22 Cleanup garrison.lua function logic. Mostly styling. 2023-08-31 20:30:20 +01:00
Xaver-DaRed
082661f308 Move data from garrison logic file to garrison_data.lua 2023-08-31 20:30:20 +01:00
Zach Toogood
7f7cbf530a [garrison] xi.items -> xi.item 2023-08-31 20:30:20 +01:00
Loxley
0c918eea3f Removed deprecated requires 2023-08-31 20:30:20 +01:00
Loxley
6d5516a893 Moves position to allyInfo, clean up spawnNPCs 2023-08-31 20:30:20 +01:00
Loxley
6fe3ca6cad Uncapped Garrison should be 99 by default 2023-08-31 20:30:19 +01:00
Loxley
328b51d979 Moves unknown positions to placeholder module 2023-08-31 20:30:19 +01:00
Loxley
c1b0ac7bdc Improves debug message, move tables to ID 2023-08-31 20:30:19 +01:00
Loxley
0f06348d9f Prevents starting Garrison with missing capture
Provides message to players
Handles !garrison commands gracefully
Placeholder NPCs moved to custom module
addWeaponIfNecessary moved to custom module
2023-08-31 20:30:18 +01:00
Loxley
aef700c357 Improves table alignment, adds better spacing 2023-08-31 20:30:18 +01:00
Loxley
5cb48cfb0d Fixes formatting and error message 2023-08-31 20:29:45 +01:00
Loxley
22d6b37374 Removes enum and print 2023-08-31 20:29:45 +01:00
Kore
0750fd7a8e Add random weapon models for garrison allies 2023-08-31 20:29:45 +01:00
Kore
c98e29abf0 Add garrison gil payout 2023-08-31 20:29:44 +01:00
Kore
2eff6e0eed Fix garrison npc levels and loot tables
- Fixes garrison npc levels so they can be adjusted with group ids
- Reduces mannequin drop rates to 5%
- Adds logging when dynamic entity cannot be found
2023-08-31 20:29:44 +01:00
xkoredev
6e6e51eca9 Fix garrison waves (#2203)
- Fixes wave spawn schedules to match those from captures
2023-08-31 20:29:44 +01:00
xkoredev
653aae48bf Fix garrison timer lockouts according to spec (#2110) 2023-08-31 20:29:44 +01:00
Kore
31d9680820 Polish Garrison npcs
- Fixes ally npc looks
- Assigns proper group id
2023-08-31 20:29:44 +01:00
Kore
2ae918bc26 Garrison: Add watchdog and gm command polish
- Adds a timer to poll for inconsistent garrison state and clean up
- Change stopgarrison to !garrison stop and !garrison start commands
2023-08-31 20:29:43 +01:00
Kore
ee6bf82849 Implement Garrison System
- Implements wave system that spawns the right amount of mobs at the right time for each wave
- Fixes the number of allies spawned (1 per alliance member based on captures)
- Grants correct loot on victory
- Spawns the right bosses / npcs on each zone
- Save lockout information for player
- Add timer for garrison timeout
- Gates entry based on rank and other requirements
2023-08-31 20:29:43 +01:00
claywar
aa87e30e4d
[chore] Replace double-quote strings with single-quotes 2023-08-28 21:02:36 -04:00
claywar
64e78aff26
Rename xi.items enum to xi.item, update references 2023-08-21 17:36:27 -04:00
claywar
1468caf24a
[chore] Remove all requires for scripts/globals/zone 2023-08-07 13:57:37 -04:00
Xaver-DaRed
03469f78c1 Move "items" file to enum folder 2023-07-06 17:51:12 +02:00