summaryrefslogtreecommitdiff
path: root/src/emap/mob.c
AgeCommit message (Collapse)AuthorFilesLines
2025-02-12Fix "warning: the comparison will always evaluate as 'true' for the address ↵remove_unnecessary_nullptr_checkFedja Beader1-1/+1
of 'data' will never be NULL [-Waddress]" sc.data might be an empty array, but even then it's a valid pointer. Might be better to check if SC_BOTTER_SYNDROME < SC_MAX, but that should be an assert someplace else? Depending on how this extra SC mechanics work (did not look).
2024-05-16so yeah sd also needs cecked for nullTest_User1-10/+3
and you can drop the earlier *srcPtr null check
2024-05-16Disable this code as we don't really need it.Jesusaves1-0/+7
2024-05-16fixTest_User1-1/+1
2024-05-09<\Test_User> looks like you'll need if (srcPtr && *srcPtr) { for that oneTest_User1-3/+1
<\Test_User> BL_CAST will function if *srcPtr == NULL, but it'll also "return" NULL, which is then dereferenced in that code as sd
2024-05-08Botter SyndromeJesusaves1-2/+17
2021-02-15Drop support for skill attack rate adjustment; Add support to Elemental adjust.Jesusaves1-4/+8
2020-09-12Revert "fix the hooks for npc->unload and mob->spawn_dataset, remove the ↵Jesusaves1-2/+1
unused hook for status->change_end_" This reverts commit fc19fdff65ee1561b2b1e30e5bab6906f65d34fa.
2020-09-12fix the hooks for npc->unload and mob->spawn_dataset, remove the unused hook ↵gumi1-1/+2
for status->change_end_
2019-08-19Drop support for Monster CollisionJesusaves1-0/+4
2018-07-09Fix out of bound access in emob_load_weaponattacks.s20180713Andrei Karas1-0/+1
2016-10-02Add support for spawn collision for mobs.s20161024s20161017s20161004Andrei Karas1-0/+64
2016-09-01Add into mob_db skill type attacks modifier.Andrei Karas1-0/+30
New group in mob_db: SkillAttacks Example: SkillAttacks: { SM_BASH: 5000 // mean SM_BASH skill do 50% of normal damage } Default value is 10000 mean 100%
2016-08-31Add into mob_db weapot type attacks modifier.Andrei Karas1-0/+152
New group in mob_db: WeaponAttacks Example: WeaponAttacks: { Bows: 5000 // mean bow attack do 50% of normal attack } Default value is 10000 mean 100%
2016-05-02Update function hook prototypes for support new hercules.Andrei Karas1-10/+12
2016-05-02Add into all files where need #include "plugins/HPMHooking.h"Andrei Karas1-0/+2
2016-04-28Fix different warnings.Andrei Karas1-3/+3
2016-03-02Dehardcode mob ai flag MD_SURVIVE_WITHOUT_MASTER and change it value.Andrei Karas1-2/+4
2016-02-18Update for support latest hercules.Andrei Karas1-3/+4
2016-02-06Update plugin for support latest hercules.Andrei Karas1-4/+2
2015-10-18Rename malloc.h to memmgr.h in includes.Andrei Karas1-1/+1
2015-10-12Add support for mob ai attribute SurviveWithoutMaster.Andrei Karas1-0/+14
2015-10-12Add mob db field 'WalkMask' for now unused.Andrei Karas1-0/+21
2015-09-28Update copyright year.Andrei Karas1-1/+1
2015-08-16Fix compilation after HPM update in server.Andrei Karas1-0/+2
2015-07-04Rename login/char/map dirs to elogin/echar/emap for avoid conflicts with ↵Andrei Karas1-0/+48
hercules.