1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-15 06:57:45 +00:00
Commit graph

407 commits

Author SHA1 Message Date
mordred
65bdba4dfe Refactor -> removal of unnessecary player pointer in eventhandler 2019-03-14 14:08:21 +01:00
Mordred
4eee04156d Plenty more cleanup and code quality adjustments. 2019-03-11 22:48:33 +01:00
mordred
df8a5aacae Renamed GamePacketNew... finally 2019-03-08 15:34:38 +01:00
mordred
3e4964e65c Refactor -> this has been bothering me for a while... 2019-03-08 09:43:56 +01:00
Mordred
e34c4a805c Merge pull request #524 from NotAdam/action_rewrite
WIP action rewrite
2019-03-08 00:08:10 +01:00
NotAdam
dea1f30f8b fix recast time truncated by field size, correctly send actionstart 2019-03-08 00:26:41 +11:00
NotAdam
d948ac942a fix casting stateflag not being unset after finishing a cast 2019-03-07 22:41:05 +11:00
NotAdam
e1ddf27d56 add teleporting back in, remove action targeting for now 2019-03-07 21:58:12 +11:00
NotAdam
6c5fc0b270 simplify action interface naming slightly - drops on prefix from vfuncs 2019-03-07 20:33:29 +11:00
NotAdam
3b670ebe57 add ref to Data::Action inside action obj, move can cast logic to action 2019-03-07 20:28:35 +11:00
Mordred
34b437e16d Improving log readability for client actions 2019-02-24 11:10:55 +01:00
NotAdam
35dfef2079 Merge branch 'develop' into action_rewrite 2019-02-20 23:26:47 +11:00
NotAdam
e23559eec6 pass instancecontent by reference instead of shared ptr 2019-02-20 19:53:54 +11:00
NotAdam
f692c7bccf minor refactoring, fix adventurer actions not working 2019-02-17 16:55:00 +11:00
NotAdam
c5a0b97f33 Add EventActions back in so the opening quests work again 2019-02-17 15:47:03 +11:00
NotAdam
c5f2409234 only allow area aoe actions through the aoe handler 2019-02-11 19:10:42 +11:00
NotAdam
7ecbbd07c7 cleanup some unneeded log output 2019-02-11 14:51:56 +11:00
NotAdam
f9abeee2f7 fix effect packets not showing the action name after the initial cast 2019-02-11 11:47:04 +11:00
NotAdam
9fb1f8c2d5 add players to aggro table when using actions so script callbacks work 2019-02-11 10:36:17 +11:00
NotAdam
4fcef21481 refactor and simplify how actionscripts are called and used 2019-02-11 10:14:14 +11:00
NotAdam
f40f0a30e2 read aspect from exd, correct potency for heavy shot 2019-02-11 10:03:36 +11:00
NotAdam
a60d55250a handle -1 range case for bard/archer 2019-02-11 01:50:41 +11:00
NotAdam
4185ef5f38 cleanup action start behaviour, interrupt any unimplemented actions 2019-02-11 00:40:00 +11:00
NotAdam
b64049a94a send effect packets for single target damage attacks 2019-02-11 00:11:29 +11:00
NotAdam
0c3cdf959e add single target damage to actions 2019-02-10 23:53:44 +11:00
NotAdam
f07a743511 correctly call action script callbacks + some mp debug output 2019-02-10 23:34:15 +11:00
NotAdam
83f6bd247b restructure how actionscripts work 2019-02-10 23:28:15 +11:00
NotAdam
2e9e127f56 add eobj action handling 2019-02-10 22:13:47 +11:00
NotAdam
7ccea66120 refactor ActionInterruptType and move it into common 2019-02-10 21:21:34 +11:00
NotAdam
9fe821c676 minor cleanup in regards to how we handle players who cast actions 2019-02-10 21:18:03 +11:00
NotAdam
ff712cfb0b handle damaged based interrupts versus regular cast interrupts 2019-02-10 21:12:22 +11:00
NotAdam
a23e273182 merge in interrupt behaviour from old branch, calculate cooldown time 2019-02-10 21:01:17 +11:00
NotAdam
5f98d00d48 correctly capture itemaction source slot/container from cast packet 2019-02-10 19:50:28 +11:00
NotAdam
fe5ff1a80f set target correctly on action objs 2019-02-09 23:54:49 +11:00
NotAdam
44a797db71 cleanup cost subtraction code, won't be done inside action object 2019-02-09 23:16:35 +11:00
NotAdam
089712dd9d change action cost system to allow for a variable amount of costs 2019-02-09 23:14:30 +11:00
NotAdam
a6619031f1 fix default damage aspect 2019-02-09 23:07:13 +11:00
NotAdam
087523c72f refactor transactionId -> sequence 2019-02-09 22:59:14 +11:00
NotAdam
2e0d76c50f log invalid itemaction types 2019-02-09 22:45:29 +11:00
NotAdam
4c888aba1b VFX ItemAction handling 2019-02-09 21:48:42 +11:00
NotAdam
f142f8f8d0 add 99.99% accurate (probably) mp calculation 2019-02-09 20:49:22 +11:00
NotAdam
18d5611d11 fix windows build? 2019-02-09 19:43:30 +11:00
NotAdam
5b66b5433f proper action type handling 2019-02-09 19:26:31 +11:00
NotAdam
e16995c997 cleanup incorrect usage of HandleActionType 2019-02-09 19:24:32 +11:00
NotAdam
6a88a6e694 fix actions being interrupted incorrectly 2019-02-09 18:32:10 +11:00
NotAdam
0ceb18a8e1 add classjob check to casting actions 2019-02-09 18:02:11 +11:00
NotAdam
3099189cf2 cleanup unused getClassAsInt function 2019-02-09 18:01:53 +11:00
NotAdam
399f75bb75 add (some) cost types and cost data to action obj 2019-02-09 18:01:39 +11:00
NotAdam
c8c66b0003 damage/heal helpers for actions 2019-02-09 17:36:44 +11:00
NotAdam
274a591fed move effectentry to common, minor refactoring 2019-02-09 17:07:53 +11:00