summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-13Update formula of Vulcan Arm, Flame Laucher and Cold Slower.Michieru1-5/+18
Add Hesperuslit formula effect. Banding now count the caster. Fix a bug with Lex Aeterna that not double the damage of Acid Demo. (bug:8098) Update to official formula Reproduce skill. Fix Mind Breaker Matk. (bug:8328) Fix a map crash with Gentle Touch change. (bug:8326) Special Thanks to Ind
2014-09-12Improved code readabilitycsnv1-2/+4
2014-09-12Fixed songs, working with setting song_timer_reset: 0csnv1-12/+11
2014-09-11Added option for song timers behaviour. Fixes bug 8265csnv1-8/+16
- Fixes bug 8265: http://hercules.ws/board/tracker/issue-8265-bragis-poem-overlapped-20-seconds-effect/ - Added setting in /conf/battle/skill.conf song_timer_reset: switch between official behaviour (songs don't reset time from prior songs) or eathena (every song resets the timer)
2014-09-10Fixes songs refresh bug, updates BA_ASSASSINCROSScsnv1-6/+18
- Fixes bug 7125: http://hercules.ws/board/tracker/issue-7125-song-refresh/ (Rathena fix) - Updated BA_ASSASSINCROSS ASPD Renewal Formula according to latest tests - Added 'Skill failed' message to Devotion
2014-09-08Merge pull request #339 from csnv/skillchecksMichieru1-1/+1
Fixes CR_DEVOTION and MG_STONECURSE behaviour, hiding behaviour.
2014-09-06Update BA_ASSASSINCROSS for renewalcsnv1-0/+5
2014-09-06Fix ASPD bonus with some skillscsnv1-0/+1
Bug introduced in ca9b662d436d16c4ea5244cef51a2fb41eccf23d
2014-09-06Fixes CR_DEVOTION and MG_STONECURSE behaviour, hiding behaviour.csnv1-1/+1
Fixed CR_DEVOTION to not be casted on other characters while the limit is already reached. Follow-up: e7be72538ea9c203bfd7a976d82e268e04303ca4 MG_STONECURSE now correctly displays effect when terminating SC_STONE. No longer works on hidden characters. Bug report http://hercules.ws/board/tracker/issue-7958-stone-curse/ Hiding no longer prevents skills from working if they were casted before hiding and are not intended to inflict damage (buff/de-buff skills). Tested on aegis.
2014-09-03Fixes Dancer' song Service for youcsnv1-2/+2
Corrected Max SP and Regeneration bonus from Dancing lesson. Thanks to Kyeme. Bug report 7914 http://hercules.ws/board/tracker/issue-7914-gypsy-kiss-service-for-you/
2014-09-03Fixes bard song assassin cross of sunset. Thanks to Juviacsnv1-7/+1
Corrected skill level/status formula and Musical Lesson bonus
2014-08-23Fixed official devotion behaviour, various cleanupsnadiyama1-17/+17
Fixed devotion behaviour according to bug report 8292 http://hercules.ws/board/tracker/issue-8292-devotion (precast conditions pending) Cleaned non existing flag from status->change_start calls. Removed redundant condition in battle->check_range.
2014-08-20Follow-up to b294026e6614a652c23bb0cea8a0d4dc69d8b125Haru1-39/+46
- Added documentation for the pc->search_item function and formalized its return values. If the searched item is not found, now it returns the newly introduced constant INDEX_NOT_FOUND. - Updated pc->search_item checks to make use of INDEX_NOT_FOUND. - Fixed an issue with anvils not detected by the weapon forginc code, if they were in the first position of the inventory. - Added ITEMID constants for the four anvil types. Signed-off-by: Haru <haru@dotalux.com>
2014-08-10- Fix makes knockback default to the leftMichieru1-0/+1
- Fix Back Sliding should not have animation
2014-08-10- Fix shield protection should not protect the left hand dagger same for ↵Michieru1-26/+53
full chimical protection (bug:7731)
2014-08-08HPM Hooks UpdateHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-08- Fix during Severe Rainstorm you can't swith equipment (bug:8193)Michieru1-0/+2
2014-08-08- Fix Expiatio Range (bug:7778)Michieru1-1/+1
- Fix Dark Illusion Range - Fix Absorb Spirit Sphere on Duels (bug:4085)
2014-08-08- Fix strip chance from Earth Strain and animation speed (bug:8123&8208)Michieru1-2/+2
2014-08-08HPM Hooks UpdateHercules.ws1-7/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-08- Update Fire Cloack to official formulaMichieru1-5/+9
- Update Water Barrier to official formula - Insignia end status for everyone but spirits - Neutral Barrier def/mdef bonus should not be show in status window - Striking should be show in status window (bug:7945) - Reverberation should be cast on the caster (bug:8291)
2014-08-07Corrected several format-string errors through the codeHaru1-2/+2
- Functions that expect a printf-style format string are now marked as such, so that gcc/clang will emit a warning warn you if you mismatch format string and arguments. Signed-off-by: Haru <haru@dotalux.com>
2014-08-06HPM Hooks UpdateHercules.ws1-81/+81
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-06- Fix 3rd class skills on pre-renewal.Michieru1-31/+88
- When under Mind Break Matk Effect and Mdef reduction should not show on ALT Q(bug:7915) - Plagiarism should not copy New 3rd class skills. Thanks to OmegaRed (bug:8118) - Update Runstone Lux Anima to official formula (bug:8285) - Add official formula for Demonic Fire - Update damage formula for Unlimit, apply Def and Mdef to 1 during the skill and adjust the cooldown to official. (bug:8227) - Flash Combo should not consume hp-sp and the skill not ignore the distance. - Fix a bug with Full Throttle that not consuming sp correctly and adjust the cooldown to official. - All WoE items are inactive outside WoE or PVP - Add bonus3 bSPVanishRate for Vellum Items. - Script Vellum Items. - Add 2 new bonus bSetDefRace and bSetMDefRace for the Vellum Items. (rAthena c046668034) - Fixed Bowling Bash, Brandish Spear, Grand Darkness and Meteor Assault reducing def during cast; the only skill that does this officially is Grand Cross (rAthena 694719048e) - Implemented official Bowling Bash with all its special behaviors including the gutter line * As many servers probably want to remove the gutter line problem, it is configurable; just adjust the bowling_bash_area setting in skill.conf (Bug:4209) - Sonic Blow now has a fixed range of 1, even for monsters; a monster can't use this skill if you tank it from farther away (rAthena a15cee063d)
2014-08-02Fixed several issues with SO_EL_SYMPATHYHaru1-1/+5
- Corrected an issue that caused the elemental's HP and SP would _decrease to_ summon_level*5% instead of _increasing by_ said amount. - Corrected an issue that decreased the SP cost of summon elemental skills by 5% even when the Spirit Sympathy skill wasn't present. - Added/renamed some variables to prevent confusion. Please don't reuse 'i' variables for things that aren't array indices. Or don't reuse variables altogether for different purposes than their original one. - Special thanks to Kisuka. Signed-off-by: Haru <haru@dotalux.com>
2014-07-12Updated SR_FLASHCOMBO behaviourpanikon1-26/+36
- Added SC_FLASHCOMBO Relocated some code related to SC_ALL_RIDING Updated SI table and skill table according to 3CeAM, special thanks to Rytech
2014-07-11Follow up to da190e09a33591aaabfd2c7735fd64ebb12f78e9panikon1-1/+1
- Added SC_FALLENEMPIRE and updated const.txt Special thanks to Rytech
2014-07-11Mado behaviour changespanikon1-41/+25
- Corrected list of skills that can be used while using mado - Corrected list of supportive skills that can't be cast in users with mado - Fixed *setmadogear behaviour, it would set mado to any character Added SI_FALLENEMPIRE to SR_FALLENEMPIRE Added SI_SILENTBREEZE to MH_SILENTBREEZE Fixed MH_SILENTBREEZE entry in skill_db Special thanks to Rytech
2014-07-11Updated warg skill check, special thanks to Rytechpanikon1-2/+10
2014-07-09Fixed issue with mounts and jobchange, ranger and mechanic mounts weren't ↵panikon1-7/+12
being checked and properly removed in pc_setoption Abstracted running functions into two other methods (unit_run and unit_wugdash) Added checks in skill_dance_switch so it'd be safe to call it whenever it's needed Documented unit_run, unit_run_hit, skill_dance_switch and sc_conf_type
2014-07-05Corrected HT_POWER behaviour, combo and type of skill, and fixed TK-combos ↵panikon1-8/+16
walking delay (issue: 8241 http://hercules.ws/board/tracker/issue-8241-cant-move-during-certain-combos/)
2014-07-05Fixed issue with mistress card and WL_COMET/AB_ADORAMUS (issue: 7935 ↵panikon1-1/+4
http://hercules.ws/board/tracker/issue-7935-nogemstone/ )
2014-07-05Follow up to 9173fa50ef2887b28603f223a102448a2c69a234panikon1-5/+6
2014-07-05Fixed issue in LG_SHIELDSPELL, the skill was working in lv 2 and 3 when it ↵panikon1-6/+11
shouldn't be, some small refactoring as well. Small refactoring in SR_ASSIMILATEPOWER
2014-07-02Refactoring in AB_PRAEFATIO in order to prevent crashes and to clean code.panikon1-10/+7
Removed some redundant checks in WM_LULLABY_DEEPSLEEP and in WM_VOICEOFSIREN
2014-07-02Fixed issue of crash when using LG_SHIELDSPELL, issue: 8172 ↵panikon1-1/+3
http://hercules.ws/board/tracker/issue-8172-mapserver-crash-skill-lg-shieldspell/
2014-07-02Fixed issue where 'reflect' skills would bypass disable_pvm and disable_pvp, ↵panikon1-0/+8
issue: 8203 http://hercules.ws/board/tracker/issue-8203-disable-pvm-true/
2014-06-06HPM Hooks UpdateHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-06-06Fix bug 8225Michieru1-1/+3
http://hercules.ws/board/tracker/issue-8225-gentle-touch-revitalize/ Complete Sorcerer Elemental Skills.
2014-05-30Fixed typos inside src/Shido1-93/+95
2014-05-21Corrected a nullpo report in 4c8d773d72ae134f7cc4d43861104ecd9f4ae134Haru1-8/+4
Special thanks to ossi0110 Signed-off-by: Haru <haru@dotalux.com>
2014-05-19Fixed issue 8182panikon1-0/+43
http://hercules.ws/board/tracker/issue-8182-cloaking-on-ice-wall/ Fixed minor typo on script_commands
2014-05-19Fixed issue 8201panikon1-1/+1
http://hercules.ws/board/tracker/issue-8201-map-server-crash/
2014-05-13Removed trailing whitespace (sources)Haru1-21/+21
Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru1-31/+33
This reverts commit 94657284973f4037596bae468ebfbee5c217e02b.
2014-05-10Revert "Fixed order of includes in all source files"panikon1-33/+31
This reverts commit b6b3f58795288701d0e162d43fa6f0a47af913b3. Fixes issue 8184 http://hercules.ws/board/tracker/issue-8184-cart-related/
2014-05-09Fixed order of includes in all source filesHaru1-31/+33
- Changed order according to the (upcoming) code style guidelines. - Fixes several issues caused by missing headers when their include order is changed or in plugins. Signed-off-by: Haru <haru@dotalux.com>
2014-05-08Homonculus S Updatemalufett1-52/+40
-Updated and fixed Eira skills to official behavior. Fixed Bug#8168 -http://hercules.ws/board/tracker/issue-8168-crush-strike/?gopid=22703#entry22703 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-05-07Fixed Bug 8122Michieru1-1/+1
http://hercules.ws/board/tracker/issue-8122-sc-groomy-sc-weakness-and-sc-ignorance/ Fix success chance formula of SC_ENERVATION, SC_GROOMY, SC_IGNORANCE, SC_LAZINESS, SC_UNLUCKY and SC_WEAKNESS
2014-04-19Follow up to 6f6a6b3panikon1-0/+5
* Added new method to handle refreshing the storage window when it was closed automatically by the client * http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills * http://hercules.ws/board/tracker/issue-7694-guild-notice Follow up to d57781c * Fixed minor typo as pointed by @MishimaHaruna