1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-08 11:47:45 +00:00
Commit graph

23 commits

Author SHA1 Message Date
Mordred
2014ec41dc Refactored the way timestamps are passed through update handlers 2019-04-04 23:29:52 +02:00
Mordred
920ab52508 Re-added setOwner method to BNpc, not working yet though 2019-03-28 23:57:58 +01:00
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
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
8bb5f9737d add naive bnpc pushing behaviour 2019-01-31 22:49:04 +11:00
NotAdam
166074a559 add deminishing aggro range based on level difference 2019-01-31 17:53:20 +11:00
NotAdam
1bbc01f04f manage timer vars and call onTick from Chara update instead of derived classes 2019-01-28 19:16:44 +11:00
Mordred
956b115e58 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
NotAdam
83eeacb1ce style fix 2019-01-26 14:59:04 +11:00
Mordred
7e935df56f Initial roaming tests, still very rough and ugly 2019-01-26 00:06:24 +01:00
goaaats
6894996fba Merge branch 'develop' into pathfinding 2019-01-23 23:09:02 +01:00
Mordred
b0649858fa Despawn and respawn dead bnpcs 2019-01-23 22:37:55 +01:00
goaaats
06ee4daf69 change movement in BNpc 2019-01-23 17:07:40 +01:00
Mordred
46205e9db4 BNpcs will now also initiate combat when being attacked, Death should reset them properly. 2019-01-20 13:36:34 +01:00
NotAdam
603604b28d fix bnpcs not despawning, stop passive mobs from aggroing the player 2019-01-19 17:50:33 +11:00
Mordred
83a8fc4456 Cleaned up bnppc code, fixed effect packet 2019-01-19 01:15:17 +01:00
Mordred
79daa7ac56 Make sure to reinit DB -> Various small fixes and refactors 2019-01-17 23:54:47 +01:00
Mordred
06e214956c Mobs spawn with randomized rotation and are actually targetable now 2019-01-13 00:51:31 +01:00
Mordred
da67f6cae8 Very rudementary spawn implementation and db fix 2019-01-08 17:08:48 +01:00
Mordred
c345033aa5 Seems like everything works again... here is hoping 2018-12-29 00:53:52 +01:00
mordred
ea64b65331 Restructured project slightly 2018-12-13 12:40:42 +01:00
Renamed from src/servers/sapphire_zone/Actor/BNpc.h (Browse further)