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

276 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
Alice Ogeda
631abf48aa remove extra call; 2023-03-24 18:09:12 -03:00
Alice Ogeda
dedf66f28d add getRows to exd; optimize iterative exd calls further; split namespace for slim header structs; 2023-03-24 17:38:58 -03:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52:52 +01:00
Alice Ogeda
62136f66a7 warpmgr vfx; get threadcount for nav export; 2023-02-10 23:13:00 -03:00
Alice Ogeda
3ab3aa3c3b styling; 2023-02-04 22:59:03 -03:00
Alice Ogeda
a093ae9864 add wiki_parser; 2023-02-04 22:58:00 -03:00
Mordred
11660773c2 Removed extra qualifier 2023-02-04 15:14:23 +01:00
Mordred
00d62fbc6c Major rework of yield events. 2023-02-01 13:34:21 +01:00
Mordred
9491b549a1 Some more work on FC related packets and custom scripts. 2023-01-30 13:11:05 +01:00
Mordred
9da58c61aa added parser for custom talk 2023-01-30 11:58:02 +01:00
Lucy
5b225de6f7 Map out modifiers for lut and handle deserializing 2023-01-28 20:02:34 +01:00
Lucy
637c786ebc Fix action parser formatting 2023-01-27 21:52:29 +01:00
Lucy
f3627a9566 Convert action lut to JSON 2023-01-27 21:25:26 +01:00
Mordred
453051395c
Merge pull request #841 from Skyliegirl33/feature-impl
[3.0] Add missing header for Linux and fix quest bitflags
2023-01-20 07:30:17 +01:00
Adam
7c1369dc84
Merge pull request #840 from takhlaq/quest_parser
quest parser improvements
2023-01-20 17:00:42 +11:00
Lucy
fce3397b92 Add missing includes for *nix
(cherry picked from commit 769edce0c883960ca9eac69a8e05e89760dafafd)
2023-01-20 06:54:51 +01:00
Tahir
446228cc0d quest parser improvements
- add actor and item names as comments
- add actor positions as comments (bnpc/eobj teris may be inaccurate)
- sort script entities properly with shameless natural sort steal
2023-01-20 05:16:00 +00:00
Mordred
920da4de3b Tiny cleanup 2023-01-18 21:44:26 +01:00
Tahir
cb5f8067d6 fix nav_export for 3.05
- re-add multithreaded exporting and make it eat less ram
2023-01-16 02:26:31 +00:00
Mordred
bb6381d15c onBNpcKill now takes a bnpc ref 2022-02-23 08:36:23 +01:00
Mordred
81fb8108a3 Fixed broken scripts 2022-02-16 22:18:55 +01:00
Mordred
8058973700 Reworked instance scripts. 2022-02-16 11:56:59 +01:00
Rushi
080f6ee77a Add onTalk events for instances and some Sastasha work 2022-02-13 20:26:29 +01:00
Rushi
a4cf9fe544 Add onLeaveTerritory for instances 2022-02-12 20:30:27 +01:00
Mordred
efe827416b More cleanups around namespaces 2022-02-05 23:31:35 +01:00
Mordred
bac72c1b76 EventObjectParser is functioning again 2022-01-31 00:15:28 +01:00
Mordred
0838881a5b Overhaul of the queued zoning system 2022-01-30 14:44:17 +01: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
Mordred
4cef7cdab9 Map previously unmapped eobj and enpc 2022-01-23 23:00:50 +01:00
Rushi
ae3d57a492 Clean up quest_parser 2022-01-21 21:58:46 +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
Mordred
549d2adbcb Various small clean ups 2022-01-13 21:00:56 +01:00
Mordred
d9e7e42a6d Basic actions are functional 2022-01-02 22:32:17 +01:00
Mordred
d6dd81ad1b Forward entity and name id to the onKill event 2021-12-21 12:19:35 +01:00
Mordred
e3dfcf2cfd Base implementation of event items, action still need to be generalized 2021-12-17 15:48:56 +01:00
Mordred
f421021497 Update bnpcs to include nonpop flag 2021-12-17 14:53:13 +01:00
Mordred
11b0683e7e Added script generation for onEventItem, event not yet called from the server. 2021-12-15 00:36:41 +01:00
Adam
bb328817c1 classic adam maneuver, break it 2021-11-28 20:42:51 +11:00
Mordred
48ed9da414 Initial commit of Sapphire for FFXIV 3.0 "light rewrite" 2021-11-27 00:53:57 +01:00
Taezen
7f983bbf67 exd parser optimizations 2021-09-13 16:30:32 +02:00
コレット
ca651e26ca Fix nav_export memory leak. (#650)
* Fix nav_export memory leak.

* space
2020-03-12 12:28:48 +11:00
NotAdam
894c1016af fix quest_parser to use new service locator 2020-03-01 11:58:26 +11: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
8981955ddd quest_parser: Fix case for constants
The generated onBNpcKill and onEObjHit functions were using the wrong
case for the constants they used. Ensure that they use the same case as
the declared constants, and reduce duplicate code.

Also, fix a typo in the onEObjHit function prototype which was causing
generated scripts to not compile properly, and revert the incorrect
addition (by me in an earlier commit) of "override".
2020-02-29 17:33:55 +00:00
Sophie Hamilton
71f4e5b8bb quest_parser template update
Use correct method of determining actor, use callback variables instead
of inline functions within scenes, and use the correct namespace.
2020-02-29 10:32:35 +00:00
NotAdam
b79a422330 fix windows build 2020-02-25 15:55:37 +11:00
NotAdam
abcba7aebd Merge branch 'feature/vs2019' into develop 2020-02-08 09:58:30 +11:00