5111a38424
Re-organize IPC segments into the ipc module
...
These were kind of scattered everywhere, instead we should move them
into their own module. Kawari's custom IPC is moved here too.
2025-05-02 00:47:11 -04:00
fb69689f2a
Change server_id field in IpcSegment to option
2025-05-02 00:17:15 -04:00
f3f25eb219
Overhaul segment types, their names and their order
2025-05-02 00:03:36 -04:00
5420225c74
Update world IPC packets with better fitting names, fields
2025-05-01 23:20:56 -04:00
ef58358756
Expose Damage kind, element and type in Lua API
2025-04-18 14:32:39 -04:00
510d07e3e4
Fill out more fields of damage action results
...
Now we can actually set whether the damage was physical, magical,
aspected etc. This is not yet exposed in the Lua API.
2025-04-18 13:11:29 -04:00
7f75a378f4
Create EffectKind enum to hold the different effect kinds
2025-03-30 10:01:41 -04:00
0b1a67fc9c
Remove some hardcoded values in ActionResult
2025-03-30 09:35:53 -04:00
e8581cdaba
Add script for Fast Blade action
...
This adds the necessary infrastructure to add actions that deal damage to
enemies, and tests this through the new effects builder exposed through Lua.
2025-03-30 09:31:50 -04:00
0d95f0d5b8
Return nil when pop range isn't found
2025-03-29 08:34:55 -04:00
65747b0632
Add scripting function to change a player's territory
2025-03-28 23:43:27 -04:00
2bf9385079
Load the starting position from the LGB
...
It turns out (amazingly) that this data exists client-side, I guess because the
server and the client share the same planevent LGB file. So instead of
hardcoding the starting location in each city, it's now literally like retail*
* Except for the fact that we don't support rotation yet, and positions in pop
ranges are probably randomized too. But it's close!
2025-03-28 23:00:32 -04:00
c4b9ad060b
Add basic Event scripting capaibilities
...
This implements the first event script, going from the first Ul'dah opening
cutscene to the next.
2025-03-28 23:00:32 -04:00
cb740a2a93
Move LuaPlayer to it's own module
2025-03-28 23:00:32 -04:00