summaryrefslogtreecommitdiff
path: root/src/map/mob.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-01Merge pull request #2713 from 4144/updatepacketsHaru1-0/+1
Update packets up to 2020-05-20
2020-06-01Make Unit->Target can be grouped by levelsKenpachi Developer1-1/+1
2020-06-01Make Unit->Id can be grouped by levelsKenpachi Developer1-1/+1
2020-06-01Add map check in mob_deadAndrei Karas1-0/+1
2020-05-22Implement MSC_MAGICATTACKED cast condition for monster skillsKenpachi Developer1-1/+3
2020-05-03Merge pull request #2691 from Kenpachi2k13/mob_skill_dbHaru1-289/+385
Extend and clean up monster skill DB code
2020-05-03Merge pull request #2690 from Kenpachi2k13/operator_use_fixHaru1-2/+2
Fix usage of *= operator
2020-05-03Merge pull request #2689 from Kenpachi2k13/pet_db_updateHaru1-2/+0
Renewal pet DB update
2020-04-14Apply code style to mob_skill_db_libconfig_sub_skill()Kenpachi Developer1-49/+75
2020-04-14Adjust return value of mob_skill_use() and mobskill_event() according to ↵Kenpachi Developer1-10/+10
code style
2020-04-14Apply code style to mob_skill_use()Kenpachi Developer1-174/+222
2020-04-14Apply code style to mob_getfriendstatus_sub()Kenpachi Developer1-18/+26
2020-04-14Apply code style to mob_getfriendstatus()Kenpachi Developer1-1/+12
2020-04-14Remove unnecessary skill target check for ground skills from ↵Kenpachi Developer1-11/+3
mob_skill_db_libconfig_sub_skill()
2020-04-14Add proper defaulting and capping to mob_skill_db_libconfig_sub_skill()Kenpachi Developer1-24/+24
2020-04-14Add error message for unsupported global skill clearingKenpachi Developer1-1/+4
2020-04-14Add error message for exceeding MAX_MOBSKILL in global skill assignmentKenpachi Developer1-1/+4
2020-04-14Allow MSC_AFTERSKILL to trigger every skill if ConditionData is set to 0 ↵Kenpachi Developer1-1/+2
(like MSC_SKILLUSED)
2020-04-14Adjust mob_getfriendstatus() to consider characters as friends for summoned ↵Kenpachi Developer1-19/+23
monsters like mob_getfriendhprate() does
2020-04-11Fix usage of *= operatorKenpachi Developer1-2/+2
2020-04-11Remove warning message for missing element in monster, since it is an ↵Kenpachi Developer1-2/+0
optional field
2020-04-08Add check for dead target to mob_ksprotected() to prevent starting ↵Kenpachi Developer1-0/+3
SC_KSPROTECTED on dead monsters
2020-03-08Change the name of all functions which got their return-value meaning changedskyleo1-3/+3
2020-03-08Change returning error-code in unit->walktoxy to obey code-style guidelinesskyleo1-3/+3
2020-02-09Merge pull request #2622 from Kenpachi2k13/mob_viewdata_fixHaru1-0/+4
Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.
2020-02-09Added an initial dmg_taken_rate value to clone spawns.Kenpachi Developer1-0/+1
Mobs, spawned by mob_clone_spawn() function were invulnerable, because their dmg_taken_rate was never set and thus became 0. Now, dmg_taken_rate will be set 100 to remove that invulnerability.
2020-02-09Applied code style and added some minor code improvements to src/map/mob.c.Kenpachi Developer1-337/+472
2020-02-09Applied code style and some minor improvements.Kenpachi Developer1-19/+25
* Added new message 1517 (Script could not be unloaded.) * Applied code style to several functions I touched. * Added some minor improments to the function where I applied code style.
2020-02-09Change unload NPC behavior to kill mobs that were spawned by unloaded NPC ↵Kenpachi Developer1-10/+11
(non-permanent monster spawns) [Issue #2530] Mobs spawned by NPC will be removed on @reloadnpc, @unloadnpc, and @unloadnpcfile. Additionally OnNPCUnload NPC label was added, to revert other changes made by NPC. For example set/removed mapflags or added mob drops.
2020-02-01Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.Kenpachi Developer1-0/+4
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-12-15Merge pull request #2572 from Asheraf/mobviewdatadbHaru1-38/+74
Add support for overriding default view data in mob database
2019-11-17Merge pull request #2567 from MishimaHaruna/steal-fixesHaru1-0/+8
Fix some issues in the Steal skill
2019-11-03Fix unintended nullpo errorsskyleo1-7/+6
Follow up to 6608308
2019-10-30Drop the usage of mob_availAsheraf1-38/+7
2019-10-30Add support for overriding default view data in mob databaseAsheraf1-0/+67
2019-10-22Fix Steal not showing HP bar right away but only when the target ↵Haru1-0/+8
leaves/enters sight range Signed-off-by: Haru <haru@dotalux.com>
2019-10-20Merge pull request #2550 from skyleo/cliff_aggro_ranged_no_attack_fixHaru1-7/+9
Fix aggressive ranged mobs not attacking from above a cliff
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru1-3/+1
Dehardcode DB files path
2019-10-19Merge pull request #2561 from skyleo/slave_anklesnare_fixHaru1-36/+64
Make slave mobs react to master's chase target
2019-10-18Remove trailing whitespaceskyleo1-15/+15
2019-10-18Make slave mobs react to master's chase targetskyleo1-21/+49
This fixes slaves not chasing after master's chase target, when master was immobilized by an Ankle Snare for example midway.
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo1-3/+1
2019-10-05Fix aggressive ranged mobs not attacking from above a cliffskyleo1-7/+9
Signed-off-by: Haru <haru@dotalux.com>
2019-10-02Moved hardcoded messages from source to messages.confDastgir1-2/+2
Fixes #1282
2019-08-26Prevent players from getting stuck when an MVP respawns while talking to its ↵Haru1-0/+8
tombstone Signed-off-by: Haru <haru@dotalux.com>
2019-07-30Fix missing file path in console.Emistry Haoyan1-3/+3
- show file path
2019-07-28Merge pull request #2510 from Emistry/mobdb_dmg_taken_rateHaru1-0/+7
Update mob_db - DamageTakenRate field
2019-07-28Merge pull request #2505 from Emistry/autoloot_adjustHaru1-1/+1
Added battle config autoloot_adjust
2019-07-24Update mob_db - DamageTakenRate fieldEmistry Haoyan1-0/+7
- adjust the damage taken by monster. (default = `100 = 1x`) - ref: https://github.com/idathena/trunk/commit/e267d2e2dada6196b479a6f2f35e9d25291ef22b