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

273 commits

Author SHA1 Message Date
Mordred
8cacf35e4b Pieity bonus applies to mp and vitality to hp now 2019-03-21 18:53:32 +01:00
Mordred
35d859d57a Gear matters!
Gear stats are applied now, excluding materia.
2019-03-21 18:06:48 +01:00
Mordred
2c4b4127c8 Preload defense / block values into items 2019-03-20 22:16:02 +01:00
Mordred
986a692fcd Calculate and display character stats correctly 2019-03-20 21:29:34 +01:00
Mordred
11e06540b2 Added SubWil020
Changed the way QuestFlags are indexed to directly mimic retail.
This should make implementing new quests more straight forward as
indices can be used as they appear in the decompiled scripts.
2019-03-17 22:25:52 +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
mordred
df8a5aacae Renamed GamePacketNew... finally 2019-03-08 15:34:38 +01:00
NotAdam
e1ddf27d56 add teleporting back in, remove action targeting for now 2019-03-07 21:58:12 +11:00
NotAdam
6c5fc0b270 simplify action interface naming slightly - drops on prefix from vfuncs 2019-03-07 20:33:29 +11:00
NotAdam
3b670ebe57 add ref to Data::Action inside action obj, move can cast logic to action 2019-03-07 20:28:35 +11:00
NotAdam
f692c7bccf minor refactoring, fix adventurer actions not working 2019-02-17 16:55:00 +11:00
NotAdam
c5a0b97f33 Add EventActions back in so the opening quests work again 2019-02-17 15:47:03 +11:00
NotAdam
83f6bd247b restructure how actionscripts work 2019-02-10 23:28:15 +11:00
NotAdam
087523c72f refactor transactionId -> sequence 2019-02-09 22:59:14 +11:00
NotAdam
3099189cf2 cleanup unused getClassAsInt function 2019-02-09 18:01:53 +11:00
NotAdam
274a591fed move effectentry to common, minor refactoring 2019-02-09 17:07:53 +11:00
NotAdam
37f71da03c cleanup teleport query code 2019-02-08 21:20:53 +11: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
AriAvery
baedbf6e71 Improved player momvement 2019-02-06 08:49:57 +01:00
NotAdam
5d965493e9 fix name inconsistency with bnpc kill script callbacks 2019-02-02 23:32:36 +11:00
NotAdam
b777f24195 refactor minion to companion and add companion spawning 2019-02-02 23:06:57 +11: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
Mordred
ace1d043ac Some more targetId fixes 2019-01-30 23:48:09 +01:00
Mordred
c5882e0ed9 #48 - Fixed bnpcs not despawning properly, aswell as not updating cell as they go 2019-01-30 22:37:58 +01:00
Mordred
972a5ae806 Small bnpc fixed. Target / initial state 2019-01-29 23:54:52 +01:00
mordred
99a02d8c9b Added onMobKill call for it to actually be forwarded to scripts 2019-01-29 08:02:39 +01:00
Mordred
0ea201fd5e 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
2478b0b264 log a warning to world log/player in the event an actor wasn't spawned 2019-01-28 21:02:51 +11:00
NotAdam
93e8c5359a Increase cell size and spawn distance, fix player despawn issue 2019-01-28 20:30:22 +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
NotAdam
49e86e22ac fix formatting and drop MAX_POLYS back down 2019-01-28 16:35:03 +11:00
NotAdam
e12ff7e7da Slightly increase bnpc speed and restore update rate to 250ms 2019-01-28 15:47:46 +11:00
NotAdam
0cb0b5bc23 fixed roaming/following speed inconsistency 2019-01-28 15:44:27 +11:00
NotAdam
f0d28bf30f add more verbose logging to pathing failures 2019-01-28 15:40:05 +11:00
NotAdam
fcd934034d minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
NotAdam
82489de201 probably fix stepping past the next step destination 2019-01-27 23:47:36 +11:00
NotAdam
549542efe5 cap poly length for generated nav paths 2019-01-27 23:26:34 +11:00