Tahir
75a2fcbb63
reference conditions globally in timeline
...
- add PhaseActive and GetAction conditions
- refactor ifrit to use controller
2024-06-24 22:45:06 +01:00
Tahir
9445bc0260
fix 0 duration timepoints
...
- fix BNpcSpawn timepoint
- temp workaround for actions
- fix selectors not working as intended
- todo: rewrite this shit to not abuse copy ctors
2024-06-24 18:41:18 +01:00
Tahir
8c952540d5
fix timeline advancing, add ifrit normal encounter script
2024-06-23 22:44:51 +01:00
Tahir
2f4efec34d
fix some timeline bugs, temporarily disable gambits
2024-06-23 01:30:07 +01:00
Tahir
7b2ea407e9
encounter timeline fix json parsing
2024-06-22 06:13:23 +01:00
Tahir
29c990311b
return const ref for Territory::getPlayers
...
- timeline cleanup
2024-06-22 00:28:52 +01:00
Tahir
26534d2a37
refactor timeline stuff, implement selectors
2024-06-22 00:28:52 +01:00
Tahir
7cc3f65571
split encounter timeline stuff into separate files
...
- todo: use selector in CastAction timepoint
2024-06-22 00:28:51 +01:00
Tahir
8fb9846c0b
wip: initial target select filter work
...
- todo: hook this up to EncounterTimeline
2024-06-22 00:28:51 +01:00
Tahir
011cf1b6d2
add position offset calcs
2024-06-22 00:28:51 +01:00
Tahir
0e55c62e2d
fix missing include in RNGMgr, expose rng engine
2024-06-22 00:28:50 +01:00
Tahir
6f7198bd5a
add debug command for actor move
2024-06-22 00:28:50 +01:00
Tahir
8ce3dece5e
wip: timeline refactor to use condition's ui assigned id
2024-06-22 00:28:49 +01:00
Tahir
b29971b9a3
wip: timeline refactor to use Territory instead of just InstanceContent (should support overworld now)
2024-06-22 00:28:49 +01:00
Tahir
989e1eeff7
fix build
2024-06-22 00:28:49 +01:00
Tahir
e4024a677b
wip: timeline shit
...
- add BattleTalk handling including packets
- add LogMessage handling
- add SetCondition handling (allow conditions to toggle others on/off)
- handle Director ops
- add basic CastAction (prolly doesnt work)
- add SpawnBNpc
2024-06-22 00:28:49 +01:00
Tahir
a4d712f32c
wip: encounter timeline oops
2024-06-22 00:28:48 +01:00
Tahir
cf712cb3c8
wip: encounter timeline actually populate the entry before adding to cache
2024-06-22 00:28:48 +01:00
Tahir
43f9254086
wip: refactor encounter timeline stuff to only modify state objects, cache should now work as intended
...
- tldr: fast as fuck boi
2024-06-22 00:28:48 +01:00
Tahir
025f57ce9b
wip: more encounter timeline stuff
2024-06-22 00:28:48 +01:00
Tahir
576930dcfc
wip: encounter timeline use InstanceContentPtr instead of EncounterFightPtr
2024-06-22 00:28:47 +01:00
Tahir
f96c633c6c
wip: encounter timepoint separate update from execute
...
- todo: implement conditions and timepoint parsing for remaining types
- todo: test lmao
2024-06-22 00:28:47 +01:00
Tahir
daf906d2ae
wip: add encounter combat state parsing
2024-06-22 00:28:47 +01:00
Tahir
959df68b63
fix build
2024-06-22 00:28:46 +01:00
Tahir
342c30aa43
wip: refactor some encounter timeline stuff
...
- todo: test if any of this actually works
2024-06-22 00:28:46 +01:00
Tahir
05f9feb6ed
wip: reorganise some timeline stuff
2024-06-22 00:28:46 +01:00
Tahir
6c5df82306
more encounter timeline work
2024-06-22 00:28:45 +01:00
Tahir
41ac3b88a6
fix build
2024-06-22 00:28:45 +01:00
Tahir
9331fa3dd1
wip: encounter timeline parsing
...
- todo: parse the json into usable data objects
2024-06-22 00:28:45 +01:00
Alice Ogeda
fd768eb18f
fix crash on bnpc fsm nullptr;
2024-06-22 00:28:45 +01:00
Alice Ogeda
6bd8dee22d
EncounterFight and state refactor;
2024-06-22 00:28:44 +01:00
Alice Ogeda
9d49139a0c
return spaced player name in case of player not found in db;
2024-06-22 00:28:44 +01:00
Alice Ogeda
9035d44c55
rezone player; wait for all players to unlock zone entrance;
2024-06-22 00:28:44 +01:00
Alice Ogeda
c8ab6debec
more instancecontent work;
2024-06-22 00:28:43 +01:00
Alice Ogeda
a5fdc0b323
fix typos;
2024-06-22 00:28:43 +01:00
Alice Ogeda
25dbd60cdf
more duty reset work, respawn players on duty reset;
2024-06-22 00:28:43 +01:00
Alice Ogeda
a10c0cdc0f
more work on duty resets;
2024-06-22 00:28:43 +01:00
Alice Ogeda
c1589c1f20
add timers and enrage mechanic;
2024-06-22 00:28:42 +01:00
Alice Ogeda
77089d4083
add encounter to instancecontent; basic status handling;
2024-06-22 00:28:42 +01:00
Alice Ogeda
69b767177e
encounter status control;
2024-06-22 00:28:42 +01:00
Alice Ogeda
f8b0cfb05b
add EncounterFight, EncounterState; add example ifritnormal;
2024-06-22 00:28:42 +01:00
Alice Ogeda
c3107b8d53
remove scripts for battle;
2024-06-22 00:28:41 +01:00
Alice Ogeda
fc46e5792e
ugly prototype of arenascript;
2024-06-22 00:28:41 +01: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