1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-23 21:27:45 +00:00
Commit graph

37 commits

Author SHA1 Message Date
Mimi
7bfd9538c9
[3.x] WIP: Initial Action and StatusEffect implementation (#958)
* Check statuses to determine valid lut entry

* Add duration field to statuses

* Rename buildEffects to make more sense

* Add basic generic handler for applying statuseffects

* Add more modifiers

* Add basic modifier impl for Chara

* Apply/remove modifiers for statuseffects

* Add some example statuses to lut

* Fix windows build error

* Don't clear tick effect

* Add status entry for Maim

* Apply status effects properly for self when having a target

* Fix hasStatusEffect to prevent duplicates

* Basic dot/hot ticks implemented

* Update HP on tick effects

* Apply effect to correct target

* Add method to simplify applying statuses to self

* Add job actions for warrior

* Add some actions and statuses for war

* Add even more modifiers

* Add statuseffect cost type

* Add option to not send statusremove order

* Change delModifier assert to return early instead

* Add option for scripts to enable the generic/lut handler

* Add enums for common action values

* fix indentation

* Fix modifier name for Defiance

* Remove status tick logging

* Move modifiers to statuseffect

* Add ParryPercent modifier

* Remove wrath when Defiance ends

* Apply modifiers in applyStatus

* Remove unused method

* Persistence for cross-class skills

* Add flags to StatusEffects

* Some exd struct fixes

* Some aoe work

* Add flags to lut

* Add missing changeclass

* Add SET_STATUS_ME to ActionIntegrity

* Improve offensive action check

* Add flag to overloaded applyStatusEffectSelf

* indentation fix

* Some calculation work

* Null-check ActionResultBuilder

---------

Co-authored-by: Lucy <44952533+Skyliegirl33@users.noreply.github.com>
Co-authored-by: Mordred <30826167+SapphireMordred@users.noreply.github.com>
2024-06-21 12:27:01 +10:00
Mordred
aafb77ecbb Use attack type for action hit effect, further simply action code. 2023-03-14 22:32:55 +01:00
Rushi
a17c891c2c
[3.x] Basic map icon support (MapMgr backport) (#896)
* Fix several structs

* Preliminary map icon support (only quests work)
Backport of #721 to 3.x

* MapMgr cleanup

* Add missing null check for ENpcBase

* Use CLASSJOB_SLOTS in PlayerSetup instead

* Use util function for getting bit fields
2023-02-16 22:16:01 +01:00
Mordred
9f100bc671 Fixed a couple minor struct issues and overall changed login packetflow to be more retail-like.
Added a few unknown actorcontrol packets for testing.
2023-02-14 13:50:08 +01:00
Toofy
e28e9b23ff Switchin unknown and stackmax 2023-02-11 21:15:38 +00:00
Toofy
89b6449788 Changing padding to Unknown 2023-02-11 11:40:05 +00:00
Toofy
af3677104e Updated eventitem struct with second padding to be a uint 2023-02-10 20:56:05 +00:00
Toofy
46fd424c77 Updated eventitem struct with first padding to be a uint 2023-02-10 20:54:45 +00:00
Toofy
ea2705165a Reimplemented EventItem. Fixed bug with onDeath not triggering when bnpc kills player. Fixed EventItem struct. Implemented ClsThm050 quest. Fixed some wrong param names 2023-02-09 22:57:21 +00:00
Mordred
f696e015b7 EventItem struct has now been split into EventItem, EventItemCastTimeline and EventItemTimeLine. Now on the right header file... 2023-02-07 07:24:08 +01:00
Alice Ogeda
9b6d24d610 add quest achievement type handler; fix achv exd struct for 3.3; 2023-01-23 20:16:08 -03:00
Mordred
6a7261a22b Instance content debug command fix, instance cr now takes the contentfindercondition id 2023-01-21 22:27:24 +01:00
Mordred
f116878990
Merge pull request #846 from Skyliegirl33/ThreePointThree
[3.3] Fix Emote exd struct
2023-01-21 21:08:36 +01:00
Mordred
5df71ea562 Instance content build fix 2023-01-21 21:06:28 +01:00
Lucy
198e1316b8 [3.3] Fix Mount exd struct
(cherry picked from commit c0cd9347b17e05d9d241b2544e36ec8708d6475e)
2023-01-21 19:03:03 +01:00
Lucy
4ef05823e1 [3.3] Fix CustomTalk exd struct
(cherry picked from commit c243cf165fd36e0e0bca9b0f05f55e4c47766148)
2023-01-21 19:02:53 +01:00
Lucy
0cddd14936 [3.3] Fix Emote exd struct 2023-01-21 02:58:26 +01:00
Mordred
2f39f3d4a2 Adjusted structs for 3.3, might still be more to fix. 2023-01-20 21:50:08 +01:00
Rushi
4df4d05b5c Fix SwitchTalk exd struct 2022-02-17 03:55:46 +01:00
Mordred
bac72c1b76 EventObjectParser is functioning again 2022-01-31 00:15:28 +01:00
Mordred
a27bb3e687 Remove Component namespace 2022-01-27 21:24:54 +01:00
Mordred
f5258bfd92 Improving code consistency and readability in manager classes 2022-01-27 21:08:43 +01:00
Mordred
125c02d127 Very very simplistic mob exp 2022-01-19 17:22:56 +01:00
Mordred
1270f496b8 Weather works again. 2022-01-19 00:18:50 +01:00
Rushi
2f9a56e6a1 Add missing namespace 2022-01-16 22:49:58 +01:00
Rushi
e0398b0dbb Fix Mount struct 2022-01-16 22:45:56 +01:00
Mordred
c4b7b1e0a0 Fix for eobj struct 2022-01-14 08:02:55 +01:00
Mordred
be8d885e39 Aethery bools fix and potential action flags. 2022-01-12 23:16:49 +01:00
Mordred
c5c8199bd2 More cleanup and a session removal bug fixed 2022-01-12 22:28:39 +01:00
Mordred
083ce1d5f2 Improved quest rewards struct, not 100% correct yet but has the most important stuff fixed. 2021-12-19 01:17:44 +01:00
Mordred
11b0683e7e Added script generation for onEventItem, event not yet called from the server. 2021-12-15 00:36:41 +01:00
Mordred
64deda44b4 ClassJob struct fixed, again. 2021-12-14 17:35:32 +01:00
Mordred
62bf7e25c3 Change of classJob struct for 3.01, 3.0 is probably broken now 2021-12-14 00:43:53 +01:00
Rushi
384e517316 Merge 2021-12-01 21:44:25 +01:00
Rushi
46809866a6 Fix Item exd struct 2021-12-01 20:41:25 +01:00
Mordred
8781b3a024 Fixed struct missmatch for emotes 2021-11-30 16:27:27 +01:00
Mordred
48ed9da414 Initial commit of Sapphire for FFXIV 3.0 "light rewrite" 2021-11-27 00:53:57 +01:00