1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00
Commit graph

115 commits

Author SHA1 Message Date
Rushi
0ac79362cd Change size() > 0 checks to !empty() 2024-06-21 12:33:31 +02:00
Rushi
241ac491ef Avoid copying modifiers to applyStatusEffect 2024-06-21 12:33:18 +02:00
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
33463f45a9 More cleanup of actions 2023-03-15 15:21:03 +01:00
Mordred
aafb77ecbb Use attack type for action hit effect, further simply action code. 2023-03-14 22:32:55 +01:00
Mordred
31557f52f8 Fixe for target and statuseffect issues, cleanup of gambits 2023-03-12 20:46:27 +01:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52:52 +01:00
Mordred
5d353de158 Action logic rework #1
statuseffects and autoattack still on the todo list
2023-03-10 17:32:52 +01:00
Mordred
0def7896ec Refactoring of action logic, ongoing.
Fixing source of actorcontrols being always player for single target packets.
2023-03-09 21:54:30 +01:00
Mordred
859f2329bb Another big batch of refactoring for readability. 2023-03-08 09:20:08 +01:00
Mordred
ca002dadd1 Renamed the Util::Player namespace to Util::Packet. More cleanups and refactorings. 2023-03-07 10:25:55 +01:00
Mordred
f4ab4ab418 More cleanup of player packets. 2023-03-06 10:12:29 +01:00
Mordred
35f3ef8109 Moving player packet generation into a player util function 2023-03-05 23:27:43 +01:00
Mordred
fe471fb4f1 Fix for online status and minor cleanup 2023-03-02 07:38:14 +01:00
Mordred
ffdbed72ce More cleanup around actions 2023-02-28 22:30:54 +01:00
Mordred
0a9f5da1d3 Clarity through better naming of fields. 2023-02-28 10:31:59 +01:00
Mordred
e0ec74a6bc More cleanups. 2023-02-25 15:31:57 +01:00
Mordred
6bf3ac0be8 Refactoring ongoing. 2023-02-20 15:25:57 +01:00
Mordred
9b46b89c65 Changing various packet sending functions to clean up the project. 2023-02-17 15:34:51 +01:00
Alice Ogeda
d5022516f5 fix actionresult, hudparam, resting packet; comment action filter for sprint false selftarget; warp vfx on exit range; fix status duration; 2023-02-13 16:27:36 -03:00
Alice Ogeda
2b57b73471 first batch of moving packet/logic out of player to playermgr; 2023-02-10 12:11:11 -03:00
Lucy
ac4c8ec8a6 Add sprint costtype 2023-01-23 21:51:22 +01:00
Mordred
a02e58fd35 More overall cleanup and warning reductions 2023-01-17 11:27:39 +01:00
Alice Ogeda
83333690a0 correctly process hatevalues to table; update players with value/rate of their respective table entry; 2022-01-27 20:03:51 -03:00
Mordred
a27bb3e687 Remove Component namespace 2022-01-27 21:24:54 +01:00
Mordred
453f441ad3 Some clang-tidy love and new warpmanager, still empty though. 2022-01-23 11:04:26 +01:00
Alice Ogeda
1235ea99ac parse combo data in actionlut; check for nextcombo/ogcd to allow ogcd weaving in combos; 2022-01-20 20:14:34 -03:00
Alice Ogeda
00ecce8406 Merge branch 'ThreePointOh' of https://github.com/SapphireServer/Sapphire into threepointoh 2022-01-20 17:39:24 -03:00
Alice Ogeda
24708040d0 some ogcd checks; 2022-01-20 17:39:22 -03:00
Mordred
79981909de Various smaller cleanups 2022-01-15 22:48:27 +01:00
Mordred
f093aba377 Fixed event item action, also changed the way the action interrupt grace period works 2022-01-14 12:51:37 +01:00
Alice Ogeda
16ce89cb48 revert sheet check for action and fix combo; 2022-01-13 11:45:40 -03:00
Alice Ogeda
4cecf791f6 remove test line for multiple source effects in one cast; 2022-01-10 19:34:51 -03:00
Alice Ogeda
3d5bcc7d67 slight effect rework; support multiple ct/tg per action for both aoe and singletarget; fix several inconsistencies with effect packets; 2022-01-10 19:31:21 -03:00
Mordred
d9e7e42a6d Basic actions are functional 2022-01-02 22:32:17 +01:00
Mordred
c4129924ea Fixed sprint action 2022-01-02 16:41:38 +01:00
Mordred
e3dfcf2cfd Base implementation of event items, action still need to be generalized 2021-12-17 15:48:56 +01:00
AriAvery
11d8b95130 rollback mp calculation 2021-12-14 23:05:58 +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
collett
d4afee03a6 Implement mount action. 2020-01-23 22:36:01 +09:00
collett
60e701dbdd enum/struct/packet updates, fix dot/hot tick, remove incorrect initial delay for player autoattacks. 2020-01-19 21:20:01 +09:00
collett
ff2ffa379b crit & dh 2020-01-07 19:16:13 +09:00
collett
4bed2f4c30 Allow action scripts to add effect. 2020-01-06 19:25:01 +09:00
collett
e6c3e327f7 Fix skill animation for other players. 2020-01-06 04:31:09 +09:00
collett
c319cb012c combo fix 2020-01-06 00:25:42 +09:00
collett
4b89c45790 local var rename 2020-01-05 21:31:54 +09:00
collett
bf247276b5 Minor tweaks and code clean up. 2020-01-05 20:49:50 +09:00
collett
e8dcef63ba Action system updates. 2020-01-05 17:09:27 +09:00
collett
1ff69bcce0 Fix non-existing lut entry being executed. 2020-01-02 17:42:48 +09:00