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

125 commits

Author SHA1 Message Date
Alice Ogeda
42174f19df cache eobj/enpc exd; fix crash on aoe skills; add unlockall; 2024-07-27 22:37:09 -03: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
Pinapelz
66707a02c2 implement teleportation via aetheryte ticket 2024-05-17 16:44:44 -07:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52:52 +01:00
Pinapelz
8591cb857a Remove extra qualification 2023-03-06 11:11:25 -08:00
Mordred
aead026960
Merge pull request #909 from hkAlice/achievos
[3.x] save achievement to sql db;
2023-03-06 10:12:53 +01:00
Mordred
f4ab4ab418 More cleanup of player packets. 2023-03-06 10:12:29 +01:00
Alice Ogeda
78766f9700 myerge; 2023-03-05 20:46:58 -03:00
Alice Ogeda
7538d2b4e3 achievement sql; 2023-03-05 20:44:42 -03:00
Mordred
35f3ef8109 Moving player packet generation into a player util function 2023-03-05 23:27:43 +01:00
Mordred
e0ec74a6bc More cleanups. 2023-02-25 15:31:57 +01:00
Mordred
065c1817bd Missed a few state flags functions during renaming. 2023-02-20 16:41:04 +01:00
Mordred
6bf3ac0be8 Refactoring ongoing. 2023-02-20 15:25:57 +01:00
Mordred
188d80d2ec Alot more cleanups in various areas. 2023-02-20 11:24:02 +01:00
Mordred
3a71d90e71 Fixing some array sizes and defining them in common 2023-02-18 15:26:50 +01:00
Mordred
9b46b89c65 Changing various packet sending functions to clean up the project. 2023-02-17 15:34:51 +01:00
Mordred
fbbd599969
Merge pull request #899 from Skyliegirl33/master
[3.x] Support other currencies than gil
2023-02-17 08:01:54 +01:00
Rushi
a17c891c2c
[3.x] Basic map icon support (MapMgr backport) (#896)
* Fix several structs

* Preliminary map icon support (only quests work)
Backport of #721 to 3.x

* MapMgr cleanup

* Add missing null check for ENpcBase

* Use CLASSJOB_SLOTS in PlayerSetup instead

* Use util function for getting bit fields
2023-02-16 22:16:01 +01:00
Lucy
9f048502f7 Support other currencies than gil 2023-02-14 21:29:24 +01:00
Lucy
7524e39304 Cleaner way to add gearsets 2023-02-12 23:11:26 +01:00
Lucy
ae94aac979 wip: fixing gearset handler 2023-02-12 21:12:04 +01:00
Lucy
5f04ef60ef Set FirstClass properly 2023-02-11 17:31:48 +01:00
Lucy
595795d3b0 Implement glamouring 2023-02-11 17:31:48 +01:00
Alice Ogeda
83a08ea149 Merge branch 'master' of https://github.com/SapphireServer/Sapphire into teletubbies-vacuum-cleaner 2023-02-10 17:14:24 -03:00
Alice Ogeda
2ae6600a03 fix bonus stats being unset on login; 2023-02-10 17:14:09 -03:00
Alice Ogeda
88f8c7c19a move teleport to warpmgr; more player to playermgr; cleanup; 2023-02-10 13:05:53 -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
dac6c63414 Fix dyeing and implement removeItem method 2023-02-10 04:54:50 +01:00
Alice Ogeda
3c4b55859f achievement code cleanup; 2023-01-27 18:54:54 -03:00
Mordred
6cde08d073 Cleanup inside the player class. 2023-01-27 11:13:57 +01:00
Mordred
b2f87c2f68
Merge pull request #848 from Skyliegirl33/ThreePointThree
[3.3] Some fixes and add companions and persistent emote cancel
2023-01-24 08:07:34 +01:00
Alice Ogeda
e36cdadb58 prototype achievement history; 2023-01-23 22:58:07 -03:00
Lucy
8f0c517514 [wip] Implement minions 2023-01-23 21:51:02 +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
Alice Ogeda
34213990bc AchievementMgr framework; styling fixes; 2023-01-19 13:03:54 -03:00
Matthew
f71230809b
Improved Persistence (#822)
* persistant money

* removed hardcoding and fixed debug console spam

* refactor: fix coding system inconsistencies

* refactor: fix coding style inconsistencies in loading

* refactor: Missed some inconsistents

* refactor: Missed some more inconsistents

* quest: Introduced marauder quest (can get class, but no cutscenes yet)

* refactor: Code updated to fmt::format

* Delete ClsMar999.cpp

* Delete ClsMar998.cpp

* script-loader fix

* script-loader formatting

* build-error: removed broken dep
2023-01-07 14:18:29 +11:00
Mordred
50fbdbfa12 renamed setSystemActionUnlock to setRewardFlag 2022-02-28 08:40:57 +01:00
Rushi
c03968b194 WIP: Implement gearset handler 2022-02-18 02:24:18 +01:00
Rushi
50102e0ff0 Add method for quest completion 2022-02-17 04:26:19 +01:00
Rushi
9644b61ae1 Update findFirstItemWithId to take list of bags 2022-02-12 00:58:52 +01:00
Mordred
2b3bb6297e Basic warptaxi work 2022-02-10 18:50:44 +01:00
Mordred
cf69e1876a Finish zoning converted aswell 2022-01-30 16:26:44 +01:00
Mordred
bfdf732579 Removed old function for performZoning 2022-01-30 15:37:24 +01:00
Mordred
0838881a5b Overhaul of the queued zoning system 2022-01-30 14:44:17 +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
4cef7cdab9 Map previously unmapped eobj and enpc 2022-01-23 23:00:50 +01:00
Mordred
92bd74cde2 More Moveplayer work in preparation of warp overhaul 2022-01-22 11:35:58 +01:00
Mordred
57da97236f Some more cleanup in regards of zones 2022-01-21 22:55:14 +01:00
Mordred
aa0c318494 More cleanup of territoryMgr in preparation of new move logic 2022-01-18 23:47:35 +01:00