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

75 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
33463f45a9 More cleanup of actions 2023-03-15 15:21:03 +01:00
Mordred
0edff5ab85 Statuseffect fix #2 2023-03-12 21:06:37 +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
72f06fb072 Status effect rework for actionintegrity. 2023-03-10 22:34:12 +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
859f2329bb Another big batch of refactoring for readability. 2023-03-08 09:20:08 +01:00
Mordred
e0ec74a6bc More cleanups. 2023-02-25 15:31:57 +01:00
Mordred
6ea6f8e190
Merge pull request #903 from Skyliegirl33/status-fix
[3.x] StatusEffect and HudParam fixes
2023-02-22 17:02:02 +01:00
Mordred
d34bddc6ae Removed redundant max_hp/max_mp 2023-02-21 07:58:53 +01:00
Lucy
b1132d9ef3 Remove statuseffects in the same tick if the expiry time is the same 2023-02-21 06:33:27 +01:00
Lucy
7b8cf18851 Statuseffect and hudparam fixes 2023-02-21 01:32:35 +01:00
Mordred
f91494fa7b sendToInRangeSet removed 2023-02-17 22:46:02 +01:00
Mordred
85501effed Implemented a basic actionintegrity implementation, subject to be changed.
Fixed replay packet sending.
2023-02-16 08:25:03 +01:00
Alice Ogeda
0838ca3eb0 revert slot incr; 2023-02-13 16:29:06 -03: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
Mordred
8af39dfeb8 Clang tidy cleanups 2023-01-17 08:28:06 +01:00
Mordred
a27bb3e687 Remove Component namespace 2022-01-27 21:24:54 +01:00
Mordred
f8303be9e8 Fixed issues with using copies instead of references 2022-01-24 09:20:34 +01:00
Mordred
7e8209c11b Minor code cleanups 2022-01-21 08:41:48 +01:00
Mordred
0c1bbfb8d0 Removing references to getCurrentTerritory in preparation for further detangleing 2022-01-10 23:50:44 +01: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
f0871c6217 Improved pathfinding, changed action packet to use the right variant for auto attacks, scaled fall damage 2022-01-06 20:25:50 +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
c98594f6c5 5.2 packet update. 2020-02-18 23:05:24 +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
47d6d285ff rip vs2019 right click rename 2020-01-08 17:59:02 +09:00
collett
e8dcef63ba Action system updates. 2020-01-05 17:09:27 +09:00
Adam
6af408a24d Merge branch 'develop' into opcode_update 2020-01-02 14:21:39 +11:00
collett
b93dbbbaca Update 5.18 opcodes and packets. 2020-01-01 23:17:13 +09:00
kbasikhin
a98a7eccc8 comparing floating point with "==" or "!=" is not correct (Chara.cpp) 2019-12-30 13:59:57 +03:00
kbasikhin
4c4fff58ce using static and reinterpret casts instead of old style casts 2019-12-30 13:58:41 +03:00
Mordred
cfc4a997fe Changed makeActorControl calls aswell 2019-10-09 18:42:25 +02:00
Mordred
9bfb9c74f0 Renamed ActorControl packets and definitions according to usage 2019-10-09 18:14:53 +02:00
NotAdam
467ce65a5d revert worldchannelpacket changes 2019-08-09 17:50:31 +10:00
NotAdam
b1e6ad3141 some cleanup, kinda working battle dmg calc 2019-08-09 17:50:31 +10:00
NotAdam
7f686ffee5 rename some getters and zonechannelpacket -> worldchannelpacket 2019-08-09 17:49:40 +10:00
NotAdam
891a73720d rename zone to territory 2019-08-09 17:49:40 +10:00
NotAdam
044030e944 add status entries to EffectResult packet 2019-08-09 17:49:40 +10:00
NotAdam
6b44dc9a6e rename InitUI -> PlayerSetup, AddStatusEffect -> EffectResult 2019-06-20 14:48:24 +10:00
NotAdam
90d1fbc3ea refactor Util -> Common::Util & Action to World::Action 2019-06-02 00:35:00 +10:00
NotAdam
ed3e44afcc Merge branch 'stat_calc' into develop 2019-05-29 21:35:07 +10:00
NotAdam
3468a149f4 correct autoattack potency calculation, fix attack power calc 2019-05-11 13:16:34 +10:00
Mordred
b6863678c8 Show default hit effect on autoattacks, also send 2nd hate packet 2019-04-30 22:54:35 +02:00
NotAdam
a0d596f40f fix autoattack range 2019-04-25 22:45:23 +10:00
NotAdam
0005b672a7 cleanup stat calculation code, slightly better working aa dmg calc 2019-04-25 21:57:41 +10:00
NotAdam
4de66b1064 autoattack damage stat calc funcs, bnpc stat calculation 2019-04-24 23:25:07 +10:00