1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-08 19:57:46 +00:00
Commit graph

460 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
Rushi
0acff69b46 Add isFacingTarget and helper functions 2024-06-26 20:50:12 +02:00
Rushi
2965d8a03a Add function to remove multiple statuseffects by id 2024-06-21 16:12:33 +02: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
928729326c Gambit packs added. Basic timelines for bnpc actions can be defined. 2023-03-24 22:52:38 +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
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
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
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
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
Pinapelz
8591cb857a Remove extra qualification 2023-03-06 11:11:25 -08:00
Mordred
5fdbc90487 Next big batch of packet cleanup 2023-03-06 13:27:56 +01: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
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
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
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
f91494fa7b sendToInRangeSet removed 2023-02-17 22:46:02 +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
Mordred
85501effed Implemented a basic actionintegrity implementation, subject to be changed.
Fixed replay packet sending.
2023-02-16 08:25:03 +01:00