1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 16:37:45 +00:00
Commit graph

59 commits

Author SHA1 Message Date
AriAvery
3db99814c3 Mostly retial like movement + bnpcs auto attack move delay 2019-02-06 18:51:51 +01:00
Mordred
412202cc0b Temprarly disabling pushing of other bnpcs 2019-01-31 23:08:43 +01:00
NotAdam
c349142929 don't send position updates when pushing bnpcs 2019-02-01 00:04:19 +11:00
NotAdam
8c9c98e896 Revert "fix npcs not facing target after being pushed"
This reverts commit 692c32b934.
2019-02-01 00:03:15 +11:00
NotAdam
692c32b934 fix npcs not facing target after being pushed 2019-01-31 23:55:55 +11:00
NotAdam
31cb9ba97c minor cleanup, some improvements to bnpc avoidance 2019-01-31 23:44:53 +11:00
NotAdam
dc89f0af10 slight improvements to bnpc avoidance 2019-01-31 23:19:25 +11:00
NotAdam
9fde7918be add naive bnpc pushing behaviour 2019-01-31 22:49:04 +11:00
NotAdam
b019a1a0c1 ignore aggro range calc if level difference >= 10 2019-01-31 21:46:05 +11:00
NotAdam
085a184ad3 add deminishing aggro range based on level difference 2019-01-31 17:53:20 +11:00
NotAdam
73ceb36d7d style fix, type consistency 2019-01-31 12:46:51 +11:00
Mordred
d5bb3c847e Some more targetId fixes 2019-01-30 23:48:09 +01:00
Mordred
223e94e9bd #48 - Fixed bnpcs not despawning properly, aswell as not updating cell as they go 2019-01-30 22:37:58 +01:00
Mordred
a387f649fa Small bnpc fixed. Target / initial state 2019-01-29 23:54:52 +01:00
mordred
5605a2227a Added onMobKill call for it to actually be forwarded to scripts 2019-01-29 08:02:39 +01:00
Mordred
14cbda944e Quest mobs will be highlighted as such. Retreating mobs will have the target properly reset. Spawning range slightly decreased 2019-01-29 00:10:21 +01:00
NotAdam
7741acefcd manage timer vars and call onTick from Chara update instead of derived classes 2019-01-28 19:16:44 +11:00
NotAdam
ac709c5945 fix formatting and drop MAX_POLYS back down 2019-01-28 16:35:03 +11:00
NotAdam
0b9e1fb1ab Slightly increase bnpc speed and restore update rate to 250ms 2019-01-28 15:47:46 +11:00
NotAdam
9af04e0fb7 fixed roaming/following speed inconsistency 2019-01-28 15:44:27 +11:00
NotAdam
04b7870b11 add more verbose logging to pathing failures 2019-01-28 15:40:05 +11:00
NotAdam
762add95d1 minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
NotAdam
2011c8ca91 probably fix stepping past the next step destination 2019-01-27 23:47:36 +11:00
NotAdam
c2356b9057 cap poly length for generated nav paths 2019-01-27 23:26:34 +11:00
Mordred
edf682cc00 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
NotAdam
b9520a6c3e heal npcs when retreating, set hp to max when retreat finishes, cleanup 2019-01-26 13:40:02 +11:00
NotAdam
b1bbfe3acd set correct bnpc animation when aggro'd/passive 2019-01-26 11:39:44 +11:00
Mordred
f8d4b4f9c0 Do not crash on zones without navi data 2019-01-26 00:12:54 +01:00
Mordred
0c1cef8050 Initial roaming tests, still very rough and ugly 2019-01-26 00:06:24 +01:00
mordred
18f23dbc64 Navmeshes should now work again using bgpath 2019-01-25 08:45:00 +01:00
mordred
039a9662e2 Slightly simplified path calculation 2019-01-24 13:15:30 +01:00
mordred
1acacdbb3c Fixing code for consistency, const correctness, include tree and style. 2019-01-24 12:10:31 +01:00
goaaats
8da67dd2c5 Fix logging, Linux 2019-01-23 23:50:31 +01:00
goaaats
25478e3a1c Spaces 2019-01-23 21:36:26 +01:00
goaaats
258eb1d1ab Style 2019-01-23 21:26:48 +01:00
goaaats
77d64697e9
Merge branch 'develop' into pathfinding 2019-01-23 23:09:02 +01:00
Mordred
2973b27e26 Despawn and respawn dead bnpcs 2019-01-23 22:37:55 +01:00
goaaats
1ac495192a Cleanup 2019-01-23 21:10:53 +01:00
goaaats
9423a8576e Add NaviMgr 2019-01-23 19:23:49 +01:00
goaaats
7552c08ae3 Handle steps better 2019-01-23 17:42:09 +01:00
goaaats
09ce04b37e change movement in BNpc 2019-01-23 17:07:40 +01:00
goaaats
65e9d57880 it works 2019-01-22 00:41:18 +01:00
goaaats
30f4040774 More pathfinding 2019-01-21 18:25:22 +01:00
goaaats
1927b2b1a4 More pathing 2019-01-21 15:15:28 +01:00
goaaats
8c6c8bc787 More pathing 2019-01-21 14:02:47 +01:00
goaaats
78c0878610 path things 2019-01-21 02:42:47 +01:00
Mordred
239a98848e Fixed bnpc movement 2019-01-20 23:49:43 +01:00
Mordred
b17ce80ce6 BNpcs will now also initiate combat when being attacked, Death should reset them properly. 2019-01-20 13:36:34 +01:00
NotAdam
53061e455e fix dead mobs following you around and beating you to death 2019-01-20 19:14:35 +11:00
Mordred
c4d7160bff Fixed mobs not being killable and spawning will use the correct state 2019-01-20 00:20:35 +01:00