summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
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
2014-03-25Added new return values to make_new_char_sqlpanikon1-3/+3
Added char_id to charlog Corrected RE check in skill_magic_reflect (see commit c9310f3)
2014-03-23HPM Hooks UpdateHercules.ws1-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-23Fix Bug 8106Michieru1-0/+3
http://hercules.ws/board/tracker/issue-8106-crescent-elbow-knockback-range/ Increase reflect damage make by crescent elbow Fix Bug 8099 http://hercules.ws/board/tracker/issue-8099-renewal-acid-bomb-damage/ Cart Revolution will now always knock targets to the West - rAthena:1f26499994af9b64aa96d5ed46f6e7cdefdb025b Fix a bug with Backslide that let you continue to move even if you hit a wall on some case. Thanks to Ind
2014-03-22Fixed a skill_castend_nodamage_id warning for SO_ELEMENTAL_SHIELDshennetsind1-0/+2
skill_castend_nodamage_id: Unknown skill used:5008 Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Fixed Bug 8109shennetsind1-12/+16
elemental's action could cause itself to be destroyed (e.g. due to target's reflect) and would thus cause sd->ed to be null, and would cause a crash when trying to access sd->ed->db, so moving the duration check to prior to elemental's action trigger. Special Thanks to OmegaRed. http://hercules.ws/board/tracker/issue-8109-mapserver-crash-skill-so-el-action Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-33/+55
2014-03-22Fixed Bug 8107shennetsind1-9/+4
feintbomb issue which could cause endless hiding. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-8107-feint-bomb-super-bug/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-20Fixed issue 6415panikon1-6/+16
http://hercules.ws/board/tracker/issue-6415-kaite-skills-reflect/
2014-03-20Fixed issue: 8047panikon1-23/+35
http://hercules.ws/board/tracker/issue-8047-taekwon-stance-item/
2014-03-20Fixed issue 8059 ↵panikon1-4/+4
http://hercules.ws/board/tracker/issue-8059-teakwon-100-chance-on-stances/
2014-03-16Fixed Bug#8086malufett1-22/+7
-http://hercules.ws/board/tracker/issue-8086-overbrand-mega-bug/ Notice: old behavior of LG_OVERBRAND contains exploitable bug..this patch must pull to eliminate the bug Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-15Fixed Bug 8089shennetsind1-1/+3
In the scenario where damage is reflected and kills the caste sc->data[SC__SHADOWFORM] would be null (caster no longer is under the condition) and thus the crash. http://hercules.ws/board/tracker/issue-8089-map-crash/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-12Fixed Bug#8038malufett1-7/+14
-http://hercules.ws/board/tracker/issue-8038-shadow-chaser-feint-bomb/?gopid=22073#entry22073 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-10Fixed issue 8043panikon1-3/+4
http://hercules.ws/board/tracker/issue-8043-arch-bishop-lauda-ramus/ Also corrected similar issue with AB_LAUDAAGNUS, now both skills can be used properly whether the caster is in a party or not. Special thanks to kyeme for reporting this issue
2014-03-09fixing permissions from my last commitMatej Pristak1-0/+0
2014-03-08Homunculus initimacy is always stored in interval <0,100000>, ↵Matej Pristak1-2/+2
MH_LIGHT_OF_REGENE shouldn't reset it to almost zero - cordial is 75000, not 750 and neutral is 25100, not 251. This was ultimately reseting your intimacy on use, shat wasn't the intention.
2014-03-04Fix bug 8036Michieru1-0/+4
http://hercules.ws/board/tracker/issue-8036-gate-of-hell-over-powered/ Fix bug 7074 http://hercules.ws/board/tracker/issue-7074-suragoh-issues/ Fix bug 6866 http://hercules.ws/board/tracker/issue-6866-gate-of-hell/?gopid=15411#entry15411 Remove cast, after cast and cool down of All Odin Power as aegis info. All Odin Power is now watk and it's show the matk in the status window. http://hercules.ws/board/tracker/issue-7715-odins-power-lvl-2/ Fix Insignia consume the item correctly and can't be cast on Land Protector.
2014-03-01Fix Bug 8029Michieru1-1/+1
http://hercules.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/
2014-02-27Cleaned up messages.confHaru1-2/+2
- Removed some unused messages. - Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/ - Fixed some issues with the message range loaded by the char server. - Reworded some messages, fixed typos in others. Note for translation users: some messages have been remapped to new IDs. You'll need to remap them in your custom translations as well. The list of changes is as follows: - Removed messages (you can safely remove them from your translations): 15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142, 164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275, 289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063, 1079, 1291-1294 - New messages (you need to add them to your translations): 15 - Moved messages (you need to change their IDs in your translations file): * [Unknown Job] 656 -> 620, * [Job names] 681~693 -> 656~668 * [Tombstone related] 656~661 -> 856~861 * [Etc messages] 662~680 -> 862~880 * [@version] 1436 -> 1294 * [Hercules Chat] 1475 -> 1436 Signed-off-by: Haru <haru@dotalux.com>
2014-02-19Fixed warmer issue that'd cause a crash when clear_skills_on_death is enabledshennetsind1-1/+3
Perhaps the cause to 8026 http://hercules.ws/board/tracker/issue-8026-map-server-crash-feb-16th-2014/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-14sc sourcesshennetsind1-425/+426
Signed-off-by: shennetsind <ind@henn.et>