1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00
Commit graph

89 commits

Author SHA1 Message Date
Mordred
16288044a1
Merge pull request #558 from NotAdam/develop
warn instead of crash with missing navmeshes
2019-04-30 22:57:41 +02:00
Mordred
6dbee16682 Show default hit effect on autoattacks, also send 2nd hate packet 2019-04-30 22:54:35 +02:00
NotAdam
11013d7940 warn instead of crash with missing navmeshes 2019-04-30 21:41:10 +10:00
Mordred
ad6de5fe00 Properly reset aggro on mob retreat 2019-04-23 00:00:07 +02:00
Mordred
f704aa4582 Movement speed of BNpcs will double when in combat or retreat mode 2019-04-22 23:30:43 +02:00
Mordred
6567e2ae7b Fxed bnpcs sometimes being immobile 2019-04-22 00:16:39 +02:00
NotAdam
9362b3a3e4 fix bnpcs not being pushed 2019-04-22 00:05:04 +10:00
NotAdam
98e5e25e87 make larger enemies stack further away from the player 2019-04-21 23:52:41 +10:00
Mordred
680f8ea477 Fix autoattack 2019-04-20 23:15:58 +02:00
Mordred
3b783c9c80 Maybe better scales? 2019-04-20 15:42:48 +02:00
NotAdam
c42d4416a4 correctly calculate deltatime, set agent flags on dormant bnpcs 2019-04-20 15:13:46 +10:00
Mordred
842ac5a5aa Further improvement of crowd logic 2019-04-20 00:11:00 +02:00
NotAdam
ce3db81303 more accurate bnpc scale calculation 2019-04-19 23:01:27 +10:00
Mordred
5a50a59128 Following and retreating works 2019-04-19 14:50:00 +02:00
Mordred
7facc939e0 Pushing of idle actors implemented 2019-04-19 14:19:14 +02:00
Mordred
dc7497e350 Fix roaming 2019-04-19 14:04:38 +02:00
Mordred
f4958e004d Some progress on the crowd front, somehwat working roaming... 2019-04-19 12:15:09 +02:00
NotAdam
b68e1b7876 fix naviprovider not being set on instances 2019-04-19 18:52:55 +10:00
Mordred
04427bda76 Crowd avoidance works. Roaming and following a player, not so much 2019-04-19 02:15:18 +02:00
Mordred
61e0b0c013 Detour crowd experiments 2019-04-19 00:39:42 +02:00
Mordred
7844d0b463 QuestBattle Chasing shadows actually playable... ish 2019-04-17 22:36:23 +02:00
mordred
813e74555b Flags added to control BNpc behaviour in fights 2019-04-17 12:37:24 +02:00
mordred
fe4c2d7a0c implicitly add bnpc to player hatelist if player hate is added to the bnpc 2019-04-17 08:34:58 +02:00
Mordred
01537f12ce First iteration of questbattle update logic 2019-04-17 00:10:32 +02:00
Mordred
af07092978 Refactored the way timestamps are passed through update handlers 2019-04-04 23:29:52 +02:00
Mordred
5c9d40fa9b Claimed mobs will now display in the correct color. Red if owned by self, purple if owned by others 2019-03-29 17:12:22 +01:00
Mordred
3f22f0de18 Re-added setOwner method to BNpc, not working yet though 2019-03-28 23:57:58 +01:00
NotAdam
259c69c3ca remove most code related to the old action implementation 2019-02-08 21:18:01 +11:00
AriAvery
2dca8f9f72 Update BNpc.cpp 2019-02-06 23:29:51 +01:00
AriAvery
9dbd53d9c0 Update BNpc.cpp 2019-02-06 23:28:17 +01:00
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