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

6952 commits

Author SHA1 Message Date
Alice Ogeda
ee72f2e447 fix crash on mobkills due to misuse of classjob index; 2025-01-02 23:56:59 -03:00
Tahir
73094fb85c fix incorrect radius for bnpc
- pass filters to snapshot
- fix replay not formatting debug message correctly
2024-06-26 20:44:36 +01:00
Tahir
3727306613 add chara dirty flag, move bnpc position updates to tick
- add knockback
- use pos set in action rather than always using source actor
2024-06-25 17:41:14 +01:00
Tahir
e794df50ba Merge branch 'bs-stuff' of https://github.com/hkAlice/Sapphire into bs-stuff-rebase2 2024-06-25 03:15:15 +01:00
Tahir
b38afc0256 add left/right to nudge command
- fix Common::Util::getOffsettedPosition
- fix action timepoint getting stuck (todo: fix actions legit)
2024-06-25 03:14:33 +01:00
Alice Ogeda
34fc49f153 added cbt; 2024-06-24 22:48:04 -03:00
Alice Ogeda
cf2d6108e1 fick director bgm; 2024-06-24 22:33:45 -03:00
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