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

6968 commits

Author SHA1 Message Date
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
631abf48aa remove extra call; 2023-03-24 18:09:12 -03: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
f6ce8207b2 switchy; 2023-03-24 14:11:07 -03:00
Alice Ogeda
09d0469c96 emplace_back for in-place move const for shared ptr; 2023-03-24 13:32:36 -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
Mordred
9ba263da00
Merge pull request #923 from collett8192/3.0_master
3.x crit, fix random generator and remove direct hit
2023-03-14 10:54:04 +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
b98f63eb75 Statuseffect fix #3 2023-03-12 21:19:44 +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
2c7b790da3
Merge pull request #916 from hkAlice/bs-stuff
[3.x - EncounterFight] add prototype encounterfight, encounterstate, ifrit normal;
2023-03-08 21:49:42 +01:00
Alice Ogeda
3f2cb2f7e9 more instancecontent work; 2023-03-08 17:18:13 -03:00
Alice Ogeda
9d5fc7930a fix typos; 2023-03-08 16:37:13 -03:00
Alice Ogeda
d621633137 more duty reset work, respawn players on duty reset; 2023-03-08 16:36:13 -03:00
Alice Ogeda
692c557f6d more work on duty resets; 2023-03-08 16:27:13 -03:00
Alice Ogeda
f80f210ad7 add timers and enrage mechanic; 2023-03-08 14:36:53 -03:00
Alice Ogeda
e3a140da40 add encounter to instancecontent; basic status handling; 2023-03-08 14:15:13 -03:00
Alice Ogeda
5217a474a5 encounter status control; 2023-03-08 12:07:08 -03:00
Alice Ogeda
a92bd336e7 add EncounterFight, EncounterState; add example ifritnormal; 2023-03-08 11:59:45 -03:00
Alice Ogeda
03d46ff2b8 remove scripts for battle; 2023-03-08 11:59:21 -03:00
Mordred
859f2329bb Another big batch of refactoring for readability. 2023-03-08 09:20:08 +01:00
Alice Ogeda
d18ee7871e ugly prototype of arenascript; 2023-03-07 11:24:47 -03:00
Mordred
4bee448f4b Syntax error which snuck in fixed. 2023-03-07 15:09:56 +01:00
Mordred
fb7be5053a Some more packet cleanup. 2023-03-07 15:08:28 +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
819f2842b0
Merge pull request #910 from pinapelz/fix_linux_build
[3.x] Fix Linux build (remove extra qualification)
2023-03-06 22:34:30 +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