1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 23:27:45 +00:00
Commit graph

98 commits

Author SHA1 Message Date
kbasikhin
4c4fff58ce using static and reinterpret casts instead of old style casts 2019-12-30 13:58:41 +03:00
Mordred
cfc4a997fe Changed makeActorControl calls aswell 2019-10-09 18:42:25 +02:00
Mordred
9bfb9c74f0 Renamed ActorControl packets and definitions according to usage 2019-10-09 18:14:53 +02:00
NotAdam
467ce65a5d revert worldchannelpacket changes 2019-08-09 17:50:31 +10:00
NotAdam
b1e6ad3141 some cleanup, kinda working battle dmg calc 2019-08-09 17:50:31 +10:00
NotAdam
7f686ffee5 rename some getters and zonechannelpacket -> worldchannelpacket 2019-08-09 17:49:40 +10:00
NotAdam
891a73720d rename zone to territory 2019-08-09 17:49:40 +10:00
NotAdam
ed3e44afcc Merge branch 'stat_calc' into develop 2019-05-29 21:35:07 +10:00
Mordred
5cc390d772 Merge pull request #558 from NotAdam/develop
warn instead of crash with missing navmeshes
2019-04-30 22:57:41 +02:00
Mordred
b6863678c8 Show default hit effect on autoattacks, also send 2nd hate packet 2019-04-30 22:54:35 +02:00
NotAdam
3f6d7934a5 warn instead of crash with missing navmeshes 2019-04-30 21:41:10 +10:00
NotAdam
4de66b1064 autoattack damage stat calc funcs, bnpc stat calculation 2019-04-24 23:25:07 +10:00
Mordred
8002e88d10 Properly reset aggro on mob retreat 2019-04-23 00:00:07 +02:00
Mordred
ad4d8049e0 Movement speed of BNpcs will double when in combat or retreat mode 2019-04-22 23:30:43 +02:00
Mordred
1621b9fd20 Fxed bnpcs sometimes being immobile 2019-04-22 00:16:39 +02:00
NotAdam
cb7a91d9d8 fix bnpcs not being pushed 2019-04-22 00:05:04 +10:00
NotAdam
6ebdad3855 make larger enemies stack further away from the player 2019-04-21 23:52:41 +10:00
Mordred
37cff8580f Fix autoattack 2019-04-20 23:15:58 +02:00
Mordred
d934863673 Maybe better scales? 2019-04-20 15:42:48 +02:00
NotAdam
4112ae712a correctly calculate deltatime, set agent flags on dormant bnpcs 2019-04-20 15:13:46 +10:00
Mordred
8fa3fa325d Further improvement of crowd logic 2019-04-20 00:11:00 +02:00
NotAdam
19e6a0f748 more accurate bnpc scale calculation 2019-04-19 23:01:27 +10:00
Mordred
c0c88ca783 Following and retreating works 2019-04-19 14:50:00 +02:00
Mordred
eeded4c4f0 Pushing of idle actors implemented 2019-04-19 14:19:14 +02:00
Mordred
19a0ea2e93 Fix roaming 2019-04-19 14:04:38 +02:00
Mordred
018046d03b Some progress on the crowd front, somehwat working roaming... 2019-04-19 12:15:09 +02:00
NotAdam
a7f31c77a9 fix naviprovider not being set on instances 2019-04-19 18:52:55 +10:00
Mordred
a344990a63 Crowd avoidance works. Roaming and following a player, not so much 2019-04-19 02:15:18 +02:00
Mordred
018096266a Detour crowd experiments 2019-04-19 00:39:42 +02:00
Mordred
7615f83748 QuestBattle Chasing shadows actually playable... ish 2019-04-17 22:36:23 +02:00
mordred
bfda1adca4 Flags added to control BNpc behaviour in fights 2019-04-17 12:37:24 +02:00
mordred
8badc6e34d implicitly add bnpc to player hatelist if player hate is added to the bnpc 2019-04-17 08:34:58 +02:00
Mordred
6c43c79af1 First iteration of questbattle update logic 2019-04-17 00:10:32 +02:00
Mordred
2014ec41dc Refactored the way timestamps are passed through update handlers 2019-04-04 23:29:52 +02:00
Mordred
38701d647c 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
920ab52508 Re-added setOwner method to BNpc, not working yet though 2019-03-28 23:57:58 +01:00
NotAdam
a90dfca45f remove most code related to the old action implementation 2019-02-08 21:18:01 +11:00
AriAvery
382af071da Update BNpc.cpp 2019-02-06 23:29:51 +01:00
AriAvery
cd88426d7d Update BNpc.cpp 2019-02-06 23:28:17 +01:00
AriAvery
64c814157b Mostly retial like movement + bnpcs auto attack move delay 2019-02-06 18:51:51 +01:00
Mordred
858ae86075 Temprarly disabling pushing of other bnpcs 2019-01-31 23:08:43 +01:00
NotAdam
8c8dc18ffa don't send position updates when pushing bnpcs 2019-02-01 00:04:19 +11:00
NotAdam
527a93d97c Revert "fix npcs not facing target after being pushed"
This reverts commit e7ad1da1dc.
2019-02-01 00:03:15 +11:00
NotAdam
e7ad1da1dc fix npcs not facing target after being pushed 2019-01-31 23:55:55 +11:00
NotAdam
e6c59935e6 minor cleanup, some improvements to bnpc avoidance 2019-01-31 23:44:53 +11:00
NotAdam
12e09da3ca slight improvements to bnpc avoidance 2019-01-31 23:19:25 +11:00
NotAdam
8bb5f9737d add naive bnpc pushing behaviour 2019-01-31 22:49:04 +11:00
NotAdam
f3722be358 ignore aggro range calc if level difference >= 10 2019-01-31 21:46:05 +11:00
NotAdam
166074a559 add deminishing aggro range based on level difference 2019-01-31 17:53:20 +11:00
NotAdam
faf39e8942 style fix, type consistency 2019-01-31 12:46:51 +11:00