1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 15:47:46 +00:00
Commit graph

43 commits

Author SHA1 Message Date
Mordred
af07092978 Refactored the way timestamps are passed through update handlers 2019-04-04 23:29:52 +02:00
NotAdam
5c6b49cc0b costcheck refactored to has/consumeResources 2019-04-04 22:16:00 +11:00
NotAdam
0857af9439 slightly better name for the cost check function 2019-04-04 22:00:36 +11:00
NotAdam
360fd5ce69 add primary cost handling for actions for mp/tp 2019-04-04 21:56:59 +11:00
NotAdam
06e199a364 add rudimentary action comboing, doesn't highlight actions on the hotbar 2019-03-23 20:59:51 +11:00
NotAdam
6938e16618 minor cleanup and move mp cost calc into calcstats 2019-03-23 11:48:49 +11:00
NotAdam
5412677e9d pass actionid through to onEObjHit script callback 2019-03-19 00:01:34 +11:00
NotAdam
bcbbca056a fix recast time truncated by field size, correctly send actionstart 2019-03-08 00:26:41 +11:00
NotAdam
d9419b49b4 fix casting stateflag not being unset after finishing a cast 2019-03-07 22:41:05 +11:00
NotAdam
2f4ca9b589 add teleporting back in, remove action targeting for now 2019-03-07 21:58:12 +11:00
NotAdam
fc62be84a2 simplify action interface naming slightly - drops on prefix from vfuncs 2019-03-07 20:33:29 +11:00
NotAdam
9d6622b522 add ref to Data::Action inside action obj, move can cast logic to action 2019-03-07 20:28:35 +11:00
NotAdam
36b693fc70 minor refactoring, fix adventurer actions not working 2019-02-17 16:55:00 +11:00
NotAdam
8db5818371 Add EventActions back in so the opening quests work again 2019-02-17 15:47:03 +11:00
NotAdam
8e74681db1 cleanup some unneeded log output 2019-02-11 14:51:56 +11:00
NotAdam
5a94679b2d fix effect packets not showing the action name after the initial cast 2019-02-11 11:47:04 +11:00
NotAdam
9dccec2eee add players to aggro table when using actions so script callbacks work 2019-02-11 10:36:17 +11:00
NotAdam
c561b50058 refactor and simplify how actionscripts are called and used 2019-02-11 10:14:14 +11:00
NotAdam
8aeaa0c443 read aspect from exd, correct potency for heavy shot 2019-02-11 10:03:36 +11:00
NotAdam
d219b593a0 handle -1 range case for bard/archer 2019-02-11 01:50:41 +11:00
NotAdam
cd26f7f48c cleanup action start behaviour, interrupt any unimplemented actions 2019-02-11 00:40:00 +11:00
NotAdam
a5dd8fb816 send effect packets for single target damage attacks 2019-02-11 00:11:29 +11:00
NotAdam
a40859e4b4 add single target damage to actions 2019-02-10 23:53:44 +11:00
NotAdam
29f649ff0a correctly call action script callbacks + some mp debug output 2019-02-10 23:34:15 +11:00
NotAdam
7051734b68 restructure how actionscripts work 2019-02-10 23:28:15 +11:00
NotAdam
0890023532 add eobj action handling 2019-02-10 22:13:47 +11:00
NotAdam
17a15b847e refactor ActionInterruptType and move it into common 2019-02-10 21:21:34 +11:00
NotAdam
5acdef853a minor cleanup in regards to how we handle players who cast actions 2019-02-10 21:18:03 +11:00
NotAdam
98ccf34c32 handle damaged based interrupts versus regular cast interrupts 2019-02-10 21:12:22 +11:00
NotAdam
af59013dbe merge in interrupt behaviour from old branch, calculate cooldown time 2019-02-10 21:01:17 +11:00
NotAdam
e22316e425 cleanup cost subtraction code, won't be done inside action object 2019-02-09 23:16:35 +11:00
NotAdam
6a9d3c18ec change action cost system to allow for a variable amount of costs 2019-02-09 23:14:30 +11:00
NotAdam
458235685a VFX ItemAction handling 2019-02-09 21:48:42 +11:00
NotAdam
66f787ca0b add 99.99% accurate (probably) mp calculation 2019-02-09 20:49:22 +11:00
NotAdam
2d9baddb33 cleanup incorrect usage of HandleActionType 2019-02-09 19:24:32 +11:00
NotAdam
dc7d760c2f fix actions being interrupted incorrectly 2019-02-09 18:32:10 +11:00
NotAdam
d8a1c751fd add (some) cost types and cost data to action obj 2019-02-09 18:01:39 +11:00
NotAdam
c3e7043560 damage/heal helpers for actions 2019-02-09 17:36:44 +11:00
NotAdam
84073363a8 fix incorrect type used for action object 2019-02-09 16:58:16 +11:00
NotAdam
e3c0ae7403 fix a crash where m_pTarget was invalid 2019-02-09 15:45:02 +11:00
NotAdam
6cd3ad594b basic action sanity checking, partial casting support, some cleanup 2019-02-09 15:39:05 +11:00
NotAdam
b247f69a96 move the old actioncast code into base action class 2019-02-08 22:09:48 +11:00
mordred
8dcbfa5365 Restructured project slightly 2018-12-13 12:40:42 +01:00
Renamed from src/servers/sapphire_zone/Action/Action.cpp (Browse further)