1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 22:17:45 +00:00
Commit graph

216 commits

Author SHA1 Message Date
Mordred
952391ae4f Song learn functions moved 2025-01-02 16:06:47 +01:00
Mordred
495f651bce levelup logic moved to playerMgr 2025-01-02 13:25:18 +01:00
Mordred
8a3d8775fe Removed old gainExp function in player 2025-01-02 09:55:21 +01:00
Mordred
78b800e36e exitInstance moved to playerMgr 2025-01-02 09:48:51 +01:00
Mordred
168cfb1a36 Cleanups in player 2025-01-02 09:22:10 +01:00
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
2ef9df61f8 fix styling 2024-05-18 12:35:34 -07:00
Pinapelz
66707a02c2 implement teleportation via aetheryte ticket 2024-05-17 16:44:44 -07: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
collett
78b860d9f8 fix some PlayerCondition flags 2023-04-30 19:36:24 +09: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
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
5fdbc90487 Next big batch of packet cleanup 2023-03-06 13:27:56 +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
e0ec74a6bc More cleanups. 2023-02-25 15:31:57 +01:00
Mordred
d34bddc6ae Removed redundant max_hp/max_mp 2023-02-21 07:58:53 +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
9b46b89c65 Changing various packet sending functions to clean up the project. 2023-02-17 15:34:51 +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
Mordred
85501effed Implemented a basic actionintegrity implementation, subject to be changed.
Fixed replay packet sending.
2023-02-16 08:25:03 +01:00
Mordred
9f100bc671 Fixed a couple minor struct issues and overall changed login packetflow to be more retail-like.
Added a few unknown actorcontrol packets for testing.
2023-02-14 13:50:08 +01:00
Lucy
7524e39304 Cleaner way to add gearsets 2023-02-12 23:11:26 +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
Mordred
a55e912d9f Merge attempt #2 2023-02-10 21:38:08 +01:00
Mordred
4a8092b71e Revert "Merge and minor cleanup"
This reverts commit 4c35944433.
2023-02-10 21:28:34 +01:00
Mordred
4c35944433 Merge and minor cleanup 2023-02-10 21:22:54 +01:00
Mordred
19d84b5eb3 Merge branch 'master' of https://github.com/SapphireMordred/Sapphire 2023-02-10 21:16:31 +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
38c176c4b6 raise anim on death return warp; 2023-02-10 15:21:48 -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
Mordred
2d3486ea1f Moved onFcLogout to a better place 2023-02-10 08:56:58 +01:00
Lucy
dac6c63414 Fix dyeing and implement removeItem method 2023-02-10 04:54:50 +01:00
Mordred
96b61dc3ed
Merge pull request #854 from hkAlice/3.3
[3.x] achievement code cleanup;
2023-01-29 12:36:03 +01:00
Alice Ogeda
3c4b55859f achievement code cleanup; 2023-01-27 18:54:54 -03:00
Mordred
01b262edc1 Entrances are being placed based on placard position 2023-01-27 22:33:30 +01:00
Mordred
6cde08d073 Cleanup inside the player class. 2023-01-27 11:13:57 +01:00
Mordred
cc0a7aa70a WiP Fixed exiting house 2023-01-26 22:39:50 +01:00