summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-09-03Fixes bard song assassin cross of sunset. Thanks to Juviacsnv2-8/+2
Corrected skill level/status formula and Musical Lesson bonus
2014-09-01Fixed a compile warning on old gcc versions in battle_calc_damageHaru1-16/+15
- Improves code readability - Fixes bugreport:8312, thanks to Ancyker http://hercules.ws/board/tracker/issue-8312-warning-in-latest-hercules/ Signed-off-by: Haru <haru@dotalux.com>
2014-09-01Add MAX_REFINE as hard-coded constantAnnieRuru1-0/+1
MAX_REFINE has different value for renewal(20) and non-renewal(10) and some server even adjust this value so its better to add this constant so there's no need to add a configuration when making custom refiner scripts
2014-08-31follow upAnnieRuru1-2/+2
https://github.com/HerculesWS/Hercules/commit/a06e53479131c25ce2343c431c688c57b3bfa2c0 to mimic the *sc_start documentation to rathena and fixed return 0; into return true; thx to Litro for bringing up http://hercules.ws/board/topic/6997-debug-whats-wrong/
2014-08-30Follow-up to d45cf975aab39d04bd43dabaa455fde35b61b8daHaru1-2/+2
- Fixed faulty / misleading indentation of a closing curly brace Signed-off-by: Haru <haru@dotalux.com>
2014-08-30Merge pull request #330 from AnnieRuru/request_1Michieru3-19/+44
New Optional Configuration for unequipped disabled equipments
2014-08-29Fix status def calculation (bug:8306)Michieru4-137/+69
Updated script command 'sc_start' to allow for more variables and options rAthena 17326 (bug:8217) Fix Cart Tornado damage to official elemental crashing/memory error (thanks to Ind)
2014-08-28New Optional Configuration for unequipped disabled equipmentsAnnieRuru3-19/+44
http://hercules.ws/board/topic/334-suggestion-for-restricted-equipment-making-a-new-conf-for-it/?p=31003
2014-08-23Fixed official devotion behaviour, various cleanupsnadiyama4-40/+49
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 b294026e6614a652c23bb0cea8a0d4dc69d8b125Haru11-89/+104
- 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-20Fixed an issue when Token_Of_Siegfried is used, under certain conditionsIbrahim Hossam1-4/+4
- If the Token_Of_Siegfried is the first item in inventory, it would not get detected and consumed correctly.
2014-08-20Extended item_check to also add unique_ids to any non-stackable items that ↵Ibrahim Hossam1-4/+34
lack it - This is useful in case an old server that didn't have the unique_id feature enabled is updated to the latest version. - It'll only have effect if item_check is enabled in the configuration files.
2014-08-14Fixed a crash when a mercenary warps back to its masterHaru1-1/+1
- Issue introduced in 6c066dc6 (that sure was a while ago!) - Special thanks to Ancyker Signed-off-by: Haru <haru@dotalux.com>
2014-08-12Battle config option for knockback style when on same tile.Taylor Locke3-3/+6
2014-08-10HPM Hooks UpdateHercules.ws1-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-10- Fix makes knockback default to the leftMichieru4-7/+7
- 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-09Fix warning compilation (Follow bug:8193)Michieru1-1/+1
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)Michieru3-2/+6
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.ws3-10/+10
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-08- Update Fire Cloack to official formulaMichieru3-24/+28
- 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-07Fixed some MSVC incompatibilitiesHaru5-0/+6
- Resolves bugreport:8289 http://hercules.ws/board/tracker/issue-8289-compile-error-vs-2013/ - Disables some winsock-related deprecation warnings. Signed-off-by: Haru <haru@dotalux.com>
2014-08-07- Fix item that should not be used by Royal Guards (bug:7924)Michieru1-9/+12
- Fix Peuz's Set item bonus (bug:8141) - Add Missing Status Effects for Miming_Card and Sropho_Card (bug:7462)
2014-08-07Corrected several format-string errors through the codeHaru36-451/+475
- 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-07HPM Hooks UpdateHercules.ws1-4/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-07- Acid Demo is now reduce by Defender (bug: 8287)Michieru1-4/+6
- Fix a behavior with Fog Wall
2014-08-06HPM Hooks UpdateHercules.ws6-154/+154
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-06- Fix 3rd class skills on pre-renewal.Michieru9-72/+197
- 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-05Merge pull request #308 from nadiyama/masterFlipp1-0/+1
Fixed sa_dispel behaviour with hiding/cloaking/chasewalk characters
2014-08-02Fixed several issues with SO_EL_SYMPATHYHaru2-30/+38
- 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-29Merge pull request #312 from vthibault/fix-argument-errorKisuka1-1/+1
Fix argument error in Client Hash
2014-07-28Fix argument error in Client HashVincent Thibault1-1/+1
2014-07-22HPM Hooks UpdateHercules.ws3-48/+17
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-22Fixed some issues with CELL_NOSTACKpanikon2-28/+35
- Crashing issue when loading maps using map cache (issue: 8270) http://hercules.ws/board/tracker/issue-8270-enable-cell-nostack-crash/ - Counter was not being decrease correctly when leaving a cell Merged map_addblcell and map_delblcell
2014-07-21Merge pull request #1 from HerculesWS/masternadiyama1-8/+14
Syncing from HerculesWS
2014-07-19Corrected a dangling pointer in various DBMap/DBIterator functionsHaru1-8/+14
- If the DBMap has the DB_RELEASE_DATA option set and it contains a pointer, the optional returned out_data will now have its pointer value set to NULL. - Credits to Ind for discovering the issue. Signed-off-by: Haru <haru@dotalux.com>
2014-07-18Update status.cnadiyama1-0/+1
2014-07-15Fixed some skill checks considering Super Novices the same as NovicesHaru1-4/+4
- This fixes Super Novices being able to use Trick Dead while they shouldn't. - Follow-up to 21b13ae7ef4747caf52784f4fb753e9a98ff2bd8 - Special thanks to Mordekaiser, Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-07-14Fixed issues with resetskill, OPTION_RIDING wasn't being removed properly ↵panikon1-1/+16
and neither were TK stances. Issue: 8264 http://hercules.ws/board/tracker/issue-8264-reset-skill-bug-peco-peco-and-some-skills/
2014-07-12Merge branch 'master' of https://github.com/HerculesWS/Herculespanikon1-4/+4
2014-07-12Updated SR_FLASHCOMBO behaviourpanikon4-95/+181
- 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-12HPM Hooks UpdateHercules.ws1-4/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-11Fixed issue with quest exp and bonuses, issue: 8247 ↵panikon3-13/+18
http://hercules.ws/board/index.php?app=tracker&showissue=8247 Corrected *getexp documentation Documented and changed pc_gainexp type
2014-07-11Follow up to da190e09a33591aaabfd2c7735fd64ebb12f78e9panikon5-6/+8
- Added SC_FALLENEMPIRE and updated const.txt Special thanks to Rytech
2014-07-11HPM Hooks UpdateHercules.ws1-9/+8
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-07-11Mado behaviour changespanikon5-57/+43
- 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-11HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>