summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2021-08-02[TMW2] Partly reverts b5a92f944f126e920442307bebd3c2b53c9b0d54Jesusaves1-0/+2
This should kill lag. Maybe. Definitely. Hopefully.
2021-03-22[TMW2] Boost global critical defense factor 25% -> 20%Jesusaves1-1/+1
2021-03-20Force MDEF to follow the same arithmetic formula as regular DEF.Jesusaves1-1/+1
I don't want to keep doing crazy calculations for MDEF.
2021-02-14[TMW2 CHERRYPICK] Add NoPet mapflagEmistry Haoyan1-1/+0
- allow to set nopet mapflag at any maps. - mapflag to disable pet, and force return to egg. Original commit d3c24f7d9ae
2020-09-12This is Hercules v2019.10.20r12.5_BUGGYJesusaves1-7/+2
2020-07-31[TMW2] CRIT FIXJesusaves1-2/+2
2020-07-31[TMW2] DEF FIXJesusaves1-2/+2
2020-07-31[TMW2] ATTRFIXJesusaves1-1/+1
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
2018-10-13Fixed Issue #2177Dastgir1-0/+2
If Item Price is 0, it is now changed to 1.
2018-08-30Makes trap damage possible to be reflectedGuilherme G. Menaldo1-0/+35
2018-08-04Fixed defense overflow exploitDastgir1-0/+1
* The defense penalty for being attacked by many enemies at the same time can no longer make DEF go negative * Fixed two potential overflow exploits When being hit by a lot of monsters, your DEF will become negative and then eventually overflow, making you almost invincible. On official servers the simultaneous attacker count is limited to 22. So at max, your def is reduced by ((22-2)*5%) = 100%. So it should neither be able to make your DEF negative nor cause an overflow. Merge from https://github.com/rathena/rathena/commit/590f42cd15c58de78cff8be6053109852375bce1#diff-d96b6365b4bdad78139e676d6e7e3295R4589
2018-07-24Merge pull request #2088 from guilherme-gm/fix-ghostmonstersHaru1-0/+1
Fixed monsters not disappearing from some clients upon death
2018-07-12Fixed clearunit packet not being sent to clients going out of the view range ↵Guilherme G. Menaldo1-0/+1
when monster dies
2018-07-12Split btype and item_id parameters in function clif_skill_fail.Andrei Karas1-4/+4
2018-07-01Change functions to static where possible (Part 4 - map)Haru1-60/+112
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-06-25Implemented Pet AutofeedingDastgir1-0/+1
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-1/+1
thanks to @MishimaHaruna for the updated syntax
2018-04-25Merge pull request #2023 from MishimaHaruna/remove-stat-serverHaru1-171/+2
Remove stat server
2018-04-23Merge pull request #2005 from guilherme-gm/guildskillcdHaru1-1/+1
Allow guild skills cooldown to continue when logged out
2018-04-22Remove the stat-reporting mechanismHaru1-171/+2
Signed-off-by: Haru <haru@dotalux.com>
2018-04-08Merge pull request #2001 from guilherme-gm/tombspawnHaru1-0/+1
Added delay to tomb spawn
2018-04-08Allow guild skills cooldown to continue when logged outGuilherme G. Menaldo1-1/+1
2018-04-08Added delay to tomb spawnGuilherme G. Menaldo1-0/+1
2018-04-07Implementation of Attendance systemAsheraf1-0/+2
2018-04-07Add an option to prevent item usage when storage is openJedzkie1-0/+1
In official servers, you can't open boxes and use usable/consumables items when the storage is open. Fixes #1806
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-11/+21
All official features work including the autokick for inactive members And the system is completely customizable.