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
e2e6b3e15d
Throw exception if duplicate definitions of actions are found
2024-06-27 13:39:00 +02:00
Rushi
0acff69b46
Add isFacingTarget and helper functions
2024-06-26 20:50:12 +02:00
Rushi
5dd893a0c7
Fix StatusEffect flags
2024-06-22 07:31:50 +02:00
Rushi
2965d8a03a
Add function to remove multiple statuseffects by id
2024-06-21 16:12:33 +02:00
Rushi
6b72992b9f
Change StatusEffect to return const-ref in modifier getters
2024-06-21 12:33:38 +02:00
Rushi
0ac79362cd
Change size() > 0 checks to !empty()
2024-06-21 12:33:31 +02:00
Rushi
d8ffb010a3
Change StatusEntry duration to unsigned int
2024-06-21 12:33:26 +02:00
Rushi
241ac491ef
Avoid copying modifiers to applyStatusEffect
2024-06-21 12:33:18 +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
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
66707a02c2
implement teleportation via aetheryte ticket
2024-05-17 16:44:44 -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
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
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
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
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
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