summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2020-02-09Added skill_is_item_skill() function.Kenpachi Developer1-3/+20
2020-02-09Added pc_itemskill_clear() function.Kenpachi Developer1-0/+5
2020-02-09Moved the WZ_EARTHSPIKE check for TK_SPTIME skill from ↵Kenpachi Developer1-10/+1
skill_check_condition_castbegin() to pc_useitem().
2020-02-09Implemented the consumption of 10 SP when using Earth Spike Scroll while ↵Kenpachi Developer1-2/+5
SC_EARTHSCROLL is active.
2020-02-09Fixed skill conditions check and <flag> parameter in itemskill() script command.Kenpachi Developer1-23/+33
* itemskill() script command should check for the skill's conditions and also consumes them. SP are not consumed. * The same applies to Hocus-pocus skill. Conditions should be checked and consumed, SP are not consumed. * This was bugged for more than 6 years now. See linked bug report and commits. Related bug: * https://herc.ws/oldboard/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/ Related commits: * https://github.com/HerculesWS/Hercules/commit/b864056b8d088660fca9129bddad477732ed8df9 * https://github.com/HerculesWS/Hercules/commit/07272f7a16db87970583286db03167ca79604a69
2020-02-09Merge pull request #2586 from Asheraf/madostatueffectHaru1-1/+1
Implement support for switching madogear type
2020-02-09Merge pull request #2618 from Kenpachi2k13/issue#2558Haru1-18/+25
Updated PR_STRECOVERY to only cure status effects if defence element is not Undead.
2020-02-09Change unload NPC behavior to kill mobs that were spawned by unloaded NPC ↵Kenpachi Developer1-6/+6
(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-09Merge pull request #2248 from guilherme-gm/201810-asurafixHaru1-10/+24
Minor fixes to Asura Strike
2020-02-09Merge pull request #2596 from dastgirp/skill_idx_refactorHaru1-43/+43
Changed logic of skill_get_index
2020-02-08Fixed the number of cells that 'Asura Strike' caster walks when it failsGuilherme G. Menaldo1-8/+18
2020-02-08Makes Asura Strike caster not change look direction at the end of the skillGuilherme G. Menaldo1-1/+4
2020-02-08Fixed duplicated 'Skill Failed' message on Asura StrikeGuilherme G. Menaldo1-1/+2
2020-02-02Changed logic of skill_get_indexDastgir1-43/+43
skill_get_index can be edited easily to add custom skills
2020-02-02Applied code style to PR_STRECOVERY.Kenpachi Developer1-11/+14
2020-02-02Updated PR_STRECOVERY to only cure status effects if target's defence ↵Kenpachi Developer1-7/+11
element is not Undead.
2020-01-29Implement support for switching madogear typeAsheraf1-1/+1
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-12-15Merge pull request #2589 from HerculesWS/tarot_card_fixHaru1-1/+1
Fix Tarot Card breaking equipment behavior
2019-12-01Modified skill_cooldown_save() to ignore guild skills if ↵Kenpachi Developer1-9/+9
guild_skill_relog_delay is set to 1. If guild skills are not ignored when guild_skill_relog_delay is set to 1, the map server will throw error messages if the guild master relogs while cooldown. Also applied Hercules coding style to skill_cooldown_save(). See https://github.com/HerculesWS/Hercules/issues/2591
2019-11-27Fix Tarot Card breaking equipment on Garment and Shoe locations however on ↵Ibrahim Zidan1-1/+1
Aegis it only target Left Hand (Shield), Armor and Helm Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-11-17Merge pull request #2577 from Asheraf/dehardcodestatusiconsHaru1-8/+8
Dehardcode Status Icons
2019-11-06Dehardcode Status IconsAsheraf1-8/+8
2019-10-29Dehardcode combo skills checkAsheraf1-21/+9
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru1-1/+1
Dehardcode DB files path
2019-10-19Merge pull request #2556 from skyleo/homunculus_fixesHaru1-5/+13
Homunculus skill fixes
2019-10-18Merge pull request #2553 from skyleo/magnum_break_delay_fixHaru1-4/+0
Correct Magnum Break delay
2019-10-10Fix Chaotic Blessings never healing the enemyskyleo1-4/+12
It has a chance to roll for enemy and heal the enemy, While calculating the chance was correct, it was getting the enemy with battle->check_target. But unit->stop_attack has been called before in unit->skilluse_id2, making battle->check_target return NULL at that point, since it has no attack target anymore. So it defaulted to heal the Homunculus itself, instead of the enemy.
2019-10-10Fix Homunculus skill failure message not displaying required itemskyleo1-1/+1
2019-10-09Correct Magnum Break delayskyleo1-4/+0
Credit to: https://github.com/rathena/rathena/commit/fc2c6e02
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo1-1/+1
2019-10-02Moved hardcoded messages from source to messages.confDastgir1-3/+3
Fixes #1282
2019-09-22Mark some forgotten symbols as staticHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Fix an issue that prevents homunculus auto-vaporize on death or skill resetHaru1-1/+1
The >80% HP condition is now ignored in the cases the vaporization is forced by the server Signed-off-by: Haru <haru@dotalux.com>
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-05-06Merge pull request #2232 from guilherme-gm/201810-trap-visibilityHaru1-9/+31
Added option to make hunter traps invisible
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-1/+2
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-02-28Adds configuration for Magic Rod behavior (official/eAthena).EyesOfAHawk1-6/+9
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-10/+10
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-52/+53
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-10-21Merge pull request #2182 from guilherme-gm/201808-trapfixHaru1-16/+37
Fixes some issues with traps
2018-10-20Added setting to keep traps invisible when triggeredGuilherme G. Menaldo1-1/+3
2018-10-20Added option to make hunter traps invisibleGuilherme G. Menaldo1-9/+29
2018-09-19Update inventory packet for 2018-09-12 RE.Andrei Karas1-3/+3
2018-08-30Fixed Blastime and Claymore Trap damage that wasn't being split by the ↵Guilherme G. Menaldo1-16/+37
number of enemies
2018-08-26Merge pull request #2164 from mekolat/addvariableHaru1-8/+8
always set the type to C_NAME when adding variables through script->add_str
2018-08-11Supresses warning in skill_attack when MAGIC_REFLECTION_TYPE is 0.EyesOfAHawk1-0/+6
2018-07-30always set the type when doing script->add_strgumi1-8/+8
2018-07-26Fix Venom Splasher consuming its gemstome requirement twiceHaru1-0/+5
Fixes #1837 Signed-off-by: Haru <haru@dotalux.com>
2018-07-26Merge pull request #2143 from dastgirp/plugin/unit_layoutHaru1-2/+2
Added missing parameter to init_unit_layout_unknown