1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 04:07:46 +00:00
Commit graph

5374 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
Adam
5189042247
Merge pull request #955 from pinapelz/tp_tix
Implement Aetheryte Tickets
2024-06-20 18:41:48 +10:00
Rushi
43da39dee8 Fix building on clang 2024-06-19 18:28:32 +02:00
Pinapelz
2ef9df61f8 fix styling 2024-05-18 12:35:34 -07:00
Pinapelz
825f07accc fix: seperate set homepoint and housing options from aetheryte menu 2024-05-17 18:44:14 -07:00
Pinapelz
66707a02c2 implement teleportation via aetheryte ticket 2024-05-17 16:44:44 -07:00
Adam
989630b2ea
Merge pull request #953 from T00fy/wip
Fixed up json object and added lobbyPort for api response
2024-05-13 23:32:20 +10:00
Pinapelz
4679420d84 fix infinite loop trying to return from Event
Scene00099 doesn't do anything and causes server to infinitely attempt to return from it
2024-05-12 12:01:21 -07:00
Pinapelz
3008404c22 add remove condition casting in EventMgr
fixes issue where using EventItemAction during quests makes the player stuck casting
2024-05-12 11:57:14 -07:00
Pinapelz
8f408c4e5e Add condition to increment currentKC in SubFst011
Prevents repeated excess quest progress event notices if Enemy0 is killed after kill count is already reached
2024-05-10 16:13:45 -07:00
Toofy
3bf03c54f4 Fixed up json object and added lobbyPort for api response 2024-01-23 23:54:22 +00:00
Pinapelz
cfb9408b2e implement initial CNJ job quests
- ClsCnj998
- ClsCnj999
2024-01-17 20:51:17 -08:00
Pinapelz
22b4ed3c5a fix: allow player to remove title after being set
- index 0 is None in-game removing the currently equipped title
2024-01-10 20:36:08 -08:00
Pinapelz
90354e82f4 implement unlocking orchestrion roll 2024-01-10 20:35:02 -08:00
Pinapelz
511d227862
Fixed typo 2023-05-10 18:11:03 -07:00
Pinapelz
3b274cd9ae Central Thanalan SubWil MSQ
- SubWil026
- SubWil073
- SubWil080
2023-05-10 16:47:24 -07:00
Pinapelz
99b802c7c2 Added missing HIDE_HOTBAR 2023-05-10 16:46:31 -07:00
Pinapelz
bce9df158f Added ItemIcons to quest notices with multiple vars 2023-05-10 14:59:55 -07:00
Pinapelz
8581a96a40 Central Thanalan SubWil MSQ pt.1 2023-05-10 02:32:19 -07:00
Pinapelz
fe140ab2d6 Added Item Icons to notices in some existing quests
- Miner Job Quest
- White Mage Quest
- MSQ
2023-05-09 17:06:50 -07:00
Pinapelz
6fb07971c7 Added ItemIcons to quest notice, logic fixes, set Bitflag8 for SubsSea quests 2023-05-09 16:35:57 -07:00
Pinapelz
0a70db8686 Underneath the Sultantree quest + questbattle implementation
ManWil005 MSQ. HP values are likely to be wrong
2023-05-07 01:43:22 -07:00
collett
78b860d9f8 fix some PlayerCondition flags 2023-04-30 19:36:24 +09:00
Toofy
b3e86d3877 Formatting 2023-04-23 16:42:24 +01:00
Toofy
f0e1990cbd Some bug fixes 2023-04-18 17:33:29 +01:00
Toofy
d4d8c3c155 Moving around level up logic to make gm level up command behave 'normally' 2023-04-18 16:42:25 +01:00
Mordred
a65b23778b
Merge pull request #927 from hkAlice/faster-but-not-enough
[3.x] overall optimizations; add getRows to exd data;
2023-03-25 08:24:57 +01:00
Mordred
928729326c Gambit packs added. Basic timelines for bnpc actions can be defined. 2023-03-24 22:52:38 +01: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
Alice Ogeda
d5c4739a77 use cache in getterritorydetail; remove unused bgpath; avoid throwing exceptions when possible; 2023-03-24 13:31:50 -03:00
Mordred
4f3f866531 Fill Bnpc link info in spawn packet if available 2023-03-20 22:59:34 +01:00
Mordred
c97a67ffe6 Implementation of the state machine for bnpcs, missing hp recovering after lost hate. 2023-03-20 10:29:56 +01:00
Mordred
c7b50ca1e9 Keep cells active for 20 seconds even after all players left.
Also reset target and autoattack state on player on change zone.
2023-03-17 22:01:06 +01:00
Mordred
e72fe535f6 Added the framework for a fsm for future use on bnpcs. 2023-03-17 15:43:44 +01:00
Mordred
fe9a2ef974 Cleanup cleanup cleanup 2023-03-16 21:56:57 +01: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
collett
123dad2e23 update rng to RandGenerator 2023-03-14 18:22:41 +09:00
collett
5fb62b75ec support 3.x crit damage and remove direct hit 2023-03-14 18:06:02 +09:00
Mordred
658d2fa7aa minor cleanup of actionResultBuilder 2023-03-13 23:26:50 +01:00
Mordred
f1cd218e85 Include Common::ActionResultFlag::EffectOnSource on source status effects 2023-03-13 11:44:09 +01:00
Mordred
09db0ee7d2 There is now an applyStatusEffectSelf for status effects which same source and target. 2023-03-13 11:21:42 +01:00
Mordred
b98f63eb75 Statuseffect fix #3 2023-03-12 21:19:44 +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
d6918a88e0 Basic gambit work, still needs cleanup and improvements 2023-03-12 16:33:33 +01:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52:52 +01:00
Mordred
7c4a053bea further simplified the action builder. 2023-03-10 22:59:53 +01:00
Mordred
54ba2b529f Fixed another bug with self target actions. 2023-03-10 22:50:38 +01:00