1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 00:47:45 +00:00
Commit graph

56 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
Toofy
3bf03c54f4 Fixed up json object and added lobbyPort for api response 2024-01-23 23:54:22 +00:00
Alice Ogeda
7538d2b4e3 achievement sql; 2023-03-05 20:44:42 -03:00
Mordred
3a71d90e71 Fixing some array sizes and defining them in common 2023-02-18 15:26:50 +01:00
Lucy
0a5a556186 Fix oob memory access 2023-01-23 21:49:59 +01:00
Mordred
52c61817f3 fixed questcomplete array sizes 2023-01-19 22:59:08 +01:00
Matthe815
40a0455c9e
fix: Fixed oversight where currency record not inserting 2023-01-06 23:40:31 -05:00
Alice Ogeda
56545371a3 warning cleanups; less raw pointers; 2022-01-27 18:35:19 -03:00
Mordred
a27bb3e687 Remove Component namespace 2022-01-27 21:24:54 +01:00
Alice Ogeda
27a800cc5e expose playermgr() to nativescript; fix friendlist insert on new character; 2022-01-14 01:34:58 -03:00
Alice Ogeda
e07b182a19 add blacklist mgr + handlers + paging; 2021-12-13 22:36:29 -03:00
Alice Ogeda
3e73da6463 add initial friendlist impl; fix teri crash on login if commonlist is called; fix sql type and initial data on player creation; 2021-12-01 21:30:12 -03:00
Mordred
f4b5afe6dc Fixed stateFlags, opening cutscene and starting gear display 2021-11-28 23:56:36 +01:00
Mordred
48ed9da414 Initial commit of Sapphire for FFXIV 3.0 "light rewrite" 2021-11-27 00:53:57 +01:00
NotAdam
ca102697f4 move to new service locator 2020-03-01 11:58:26 +11:00
NotAdam
3a2272594e start of new service locator impl 2020-03-01 11:58:25 +11:00
Sophie Hamilton
c3eb048420 Update deleteCharacter, remove charainfofriendlist
Not all data was deleted when deleting a character, making it impossible
to play a new character with the same name. Add in delete commands for
the additional tables and remove the reference to the (non-existent)
charainfofriendlist table.
2020-02-24 16:17:09 +00:00
NotAdam
d845162190 fix api routing, bit nicer code for fixing urls 2020-02-17 15:57:44 +11:00
NotAdam
0306b68f88 fix an issue where some versions of std::fs would handle path generation differently
this changes the builtin http server to generate more reliable paths when parsing request bodies, fixes #635
2020-02-17 15:47:49 +11:00
NotAdam
99604a589c should actually build now... hopefully... 2019-10-14 19:12:17 +11:00
NotAdam
db37d9ea3c vs2019 support & dropping std::experimental::filesystem 2019-10-14 18:41:28 +11:00
NotAdam
842eaa03fd charinfo json field info 2019-08-09 17:49:40 +10:00
NotAdam
5d2ebba5ac retail accuracy in charainfo json 2019-08-09 17:49:40 +10:00
NotAdam
9574819dec misc api cleanup 2019-08-09 17:49:40 +10:00
NotAdam
83b7a659a8 some api json cleanup 2019-08-09 17:49:40 +10:00
NotAdam
3c028e5f00 fix player levels not showing in lobby correctly 2019-07-16 14:40:35 +10:00
NotAdam
fff6847e98 clean up unnecessary namespace specialisation, flatten namespaces a bit 2019-06-07 18:12:54 +10:00
NotAdam
5dc4b94f10 some cleanup, move lobby to Sapphire::Lobby 2019-06-03 00:21:58 +10:00
NotAdam
90d1fbc3ea refactor Util -> Common::Util & Action to World::Action 2019-06-02 00:35:00 +10:00
NotAdam
0a6593bdd5 add CrashHandler to lobby/api/world and cleanup test code in tools 2019-03-26 23:17:57 +11:00
mordred
b3c191fb74 initialize player completed quest correctly for new chars 2019-03-26 09:30:30 +01:00
Mordred
be63e25c14 Added sql table for storing hunting log information 2019-03-24 23:49:52 +01:00
NotAdam
815acb2b09 move default constructors for SapphireAPI to header 2019-03-17 21:10:20 +11:00
NotAdam
8f435083a6 minor consistency/code style fixes in sapphireapi 2019-03-17 21:07:00 +11:00
Mordred
f2a1f3f4b7 Set initial homepoint correctly for uldah and limsa 2019-03-16 23:52:50 +01:00
Mordred
4eee04156d Plenty more cleanup and code quality adjustments. 2019-03-11 22:48:33 +01:00
mordred
e66869b07a More refactoring for code consistency 2019-03-08 11:05:32 +01:00
NotAdam
91abe63598 add customisable log level to config 2019-01-25 19:00:21 +11:00
NotAdam
35def4d4f2 refactor parameters to general, fix build error 2019-01-07 23:26:34 +11:00
NotAdam
eb56f5fda2 cleanup db connection config 2019-01-07 23:16:01 +11:00
NotAdam
bf0324cfea everything should be working again... 2019-01-07 23:08:43 +11:00
NotAdam
03df0b242c lobby works again with new config stuff 2019-01-07 23:00:09 +11:00
NotAdam
092b343114 move all the old config calls to the new config object 2019-01-07 00:03:48 +11:00
NotAdam
2a205cc2db convert more log calls to format string 2019-01-04 22:37:01 +11:00
mordred
3ffcf4e1fa Further cmake cleanup 2019-01-02 11:23:39 +01:00
Mordred
a25cfcd9d1 Merge remote-tracking branch 'origin/housing' into develop 2019-01-01 15:06:42 +01:00
Mordred
959c2d4319 Simplified some cmake logic 2018-12-31 17:30:45 +01:00
Mordred
589205d41e Moved cmake logic to root cmakelists 2018-12-31 13:54:31 +01:00
NotAdam
d21b0018dc standardise log names and potentially fix log folder issue on windows 2018-12-30 22:36:44 +11:00
NotAdam
dd8290150b Merge remote-tracking branch 'upstream/dependency_injection' into housing 2018-12-29 12:43:03 +11:00