summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-22Add battle flag for immediately removing the pet when its intimacy drops to 0Kenpachi Developer1-0/+1
2020-06-01Merge pull request #2718 from Kenpachi2k13/prere_use_items_skills_in_npcHaru1-1/+2
Add/extend battle flags to enable item/skill usage while interacting with NPC
2020-06-01Make AttackType can be grouped by levelsKenpachi Developer1-1/+1
2020-05-31Merge pull request #2699 from Kenpachi2k13/multi_itemskillHaru1-6/+6
Enable multiple itemskill() calls per item
2020-05-23Remove superfluous parameters file, line and func from skill_delunitgroup()Kenpachi Developer1-6/+6
2020-05-13Add skill_enabled_npc battle flag and implement usageKenpachi Developer1-0/+1
2020-05-13Extend item_enabled_npc battle flag with option for usable itemsKenpachi Developer1-1/+1
2020-05-10Use auto_cast_current instead of autocastKenpachi Developer1-6/+6
2020-05-04Merge pull request #1304 from inhyositsu/masterHaru1-8/+7
Fix some skills bugs
2020-04-05Add pet_catch_rate_official_formula battle flagKenpachi Developer1-0/+1
2020-04-05Remove pet_equip_min_friendly config settingKenpachi Developer1-1/+0
2020-04-05Remove pet_hungry_friendly_decrease config settingKenpachi Developer1-1/+0
2020-03-14Remove map_session_data->state.autocast and use ↵Kenpachi Developer1-13/+1
map_session_data->autocast.type instead
2020-03-14Add map_session_data->autocast.type assignmentsKenpachi Developer1-0/+12
2020-03-08Do not split assignment on commaLeo Pflug1-2/+2
2020-03-08Refactor code using directions to use enum unit_dirskyleo1-12/+11
This removes a lot of duplicated code, especially related to people not using the arrays dirx and diry. Assertions for whenever these arrays are used have been added as well, to ensure valid index range. Some trailing white space has been removed as well.
2020-03-08Merge pull request #2612 from skyleo/basilica_target_checkHaru1-4/+5
Fix Basilica unintentionally restraining boss mobs
2020-02-06Fix W_RIFLE damage calculation being too low than intendedskyleo1-0/+1
Rifle type weapons had a broken call to battle_calc_base_damage2 since they were passing the flag value 18 and flag&16 != 0 as stated by the documentation shall only be the case when no gun or bow is equipped. This bug existed since 2006 and got introduced by the commit e24d467f1ae47475e3441d7453f549e22f46f541 .
2020-01-16Update src/map/battle.cskyleo1-1/+1
Co-Authored-By: Kenpachi2k13 <Kenpachi.Developer@gmx.de>
2020-01-16Update src/map/battle.cskyleo1-1/+1
Co-Authored-By: Kenpachi2k13 <Kenpachi.Developer@gmx.de>
2020-01-14Fix Basilica unintentionally restraining boss mobsskyleo1-4/+5
Thanks to Marida from oRO Dev Team for fixing this.
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-11-26Fix racial crit bonuses not being affected by katar crit bonusskyleo1-2/+6
2019-11-06Dehardcode Status IconsAsheraf1-1/+1
2019-10-19Merge pull request #2561 from skyleo/slave_anklesnare_fixHaru1-1/+2
Make slave mobs react to master's chase target
2019-10-18Make slave mobs react to master's chase targetskyleo1-1/+2
This fixes slaves not chasing after master's chase target, when master was immobilized by an Ankle Snare for example midway.
2019-10-08Removed jAthena 1082 legacy code related to Castle Defense Rate.kisuka1-6/+0
2019-07-28Merge pull request #2507 from Emistry/homun_expHaru1-0/+1
Update Homunculus obtain EXP from master
2019-07-28Merge pull request #2510 from Emistry/mobdb_dmg_taken_rateHaru1-0/+12
Update mob_db - DamageTakenRate field
2019-07-28Update Homunculus obtain EXP from masterEmistry Haoyan1-0/+1
- homunculus will obtain a portion or full EXP from master. - fixes #2313
2019-07-24Update mob_db - DamageTakenRate fieldEmistry Haoyan1-0/+12
- adjust the damage taken by monster. (default = `100 = 1x`) - ref: https://github.com/idathena/trunk/commit/e267d2e2dada6196b479a6f2f35e9d25291ef22b
2019-07-14Added battle config autoloot_adjustEmistry Haoyan1-0/+1
Added battle config autoloot_adjust that allows autoloot to take player drop penalties and bonuses into account.
2019-05-06Merge pull request #2232 from guilherme-gm/201810-trap-visibilityHaru1-1/+6
Added option to make hunter traps invisible
2019-05-06Add configurable limits for attack related functionsAndrei Karas1-2/+16
2019-05-05Implement Refinery UIIbrahim Zidan1-0/+14
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Add option for drop connection on disconnect packet from clientAndrei Karas1-0/+1
New configuration option drop_connection_on_quit.
2019-04-20Added support for mobs to drop items with Random OptionsGuilherme G. Menaldo1-0/+1
2019-04-07Add ZC_PING and CZ_PING packetsAndrei Karas1-0/+2
For supported packet version, from now server send ping packets to client.
2019-04-07Fix possible null pointersAndrei Karas1-1/+1
2019-04-07Added configuration to enable/disable achievement systemDastgir1-0/+1
2019-02-28Adds configuration for Magic Rod behavior (official/eAthena).EyesOfAHawk1-0/+1
2019-02-11Change type for class variables from short to intAndrei Karas1-2/+2
2018-11-14Merge pull request #1233 from dastgirp/r5-defenseHaru1-30/+35
Fixed defense overflow exploit
2018-11-14Clarify the code around the def/flee reduction for multiple attackersHaru1-31/+35
This is just a clarification/sanitization, no functional changes intended. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-3/+3
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Fixes #889 & #840Jedzkie1-0/+1
- Novice classes will never go below 50% hp when died. - Other classes will show 1 HP rather than 0 when died. - Added battle configuration. Signed-off-by: Haru <haru@dotalux.com>
2018-10-21Merge pull request #2182 from guilherme-gm/201808-trapfixHaru1-0/+35
Fixes some issues with traps
2018-10-20Added setting to keep traps invisible when triggeredGuilherme G. Menaldo1-1/+2
2018-10-20add a warning for `traps_setting` in battle confgumi1-0/+4
2018-10-20Added option to make hunter traps invisibleGuilherme G. Menaldo1-1/+1