summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2014-08-07Corrected several format-string errors through the codeHaru14-295/+310
- 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-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-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-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-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-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-11Fixed reserved __identifier violationsHaru49-160/+160
- Complies with CERT DCL37-C - Fixes issue #293 (special thanks to elfring) Signed-off-by: Haru <haru@dotalux.com>
2014-07-11Updated warg skill check, special thanks to Rytechpanikon1-2/+10
2014-07-10Corrected some SC behaviour, special thanks to Rytechpanikon5-15/+67
- Extracted some methods to check SC blocks - Fixed issue that when players couldn't attack they couldn't talk to NPCs with mob view id either Follow up to ec51176326c6028630835538db67826281d34ffe, fixed minor typo
2014-07-09Fixed issue with [AT]mount, it wasn't displaying the expected messages, all ↵panikon1-15/+27
errors would simply display "You can not mount a Peco Peco with your current job.", now it's displaying a different message for each possible error
2014-07-09Fixed issue with mounts and jobchange, ranger and mechanic mounts weren't ↵panikon6-120/+86
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-09Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 ↵panikon2-0/+3
(http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/) Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669
2014-07-09Fixed status_calc_regen crash ↵panikon2-0/+4
issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/ Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947
2014-07-08Minor script core fixespanikon1-100/+131
Removed useless calls in script.c Removed nullpo calls in script.c, scripts shouldn't crash the server Added checks in several functions in order to prevent possible crashes *resetstatus, *resetskill, *skillpointcount, *changesex, *successremovecards, *failedremovecards, *getequipcardid, *skilleffect, *atcommand, *cardscnt, *equip, *useatcmd Corrected *specialeffect2 behaviour, when no player was attached and another player name was supplied it would stop script execution instead of displaying the effect
2014-07-08Removed redundant data from guardian_data, saving up to 40 bytes per ↵panikon6-76/+72
guardian (10240 bytes total)
2014-07-06Fixed issue with getlookpanikon1-0/+2
Follow up to 2e6016f, increased MAX_SKILL_TREE in order to fit WE_BABY in Expanded Super Novice
2014-07-05Corrected HT_POWER behaviour, combo and type of skill, and fixed TK-combos ↵panikon3-16/+31
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-07-02Fixed issue that when players used [at]fakename when disguised their names ↵panikon1-0/+4
wouldn't be updated for them
2014-06-28Changes in npc_parse_shop in order to fit documentation standard, now an ↵panikon1-7/+29
unlimited item amount is supported in SHOP/CASHSHOP NPC objects and when value is a negative value other than -1 a warning is shown
2014-06-28Changes in npc_parsefile in order to decrease the number of unecessary calls ↵panikon1-11/+16
to strcmp Fixed issue that different header syntax would lead to a deprecation warning instead of the proper error
2014-06-27Removed Unused Include.Potte1-1/+0
Signed-off-by: Shido <the.keikun@gmail.com>
2014-06-21MAX_NPC_CLASS2_END updated to latest ID. Added more NPC constants.Taylor Locke1-1/+1
2014-06-18Fixed 'value computed is not used', issue: 8236 ↵panikon1-2/+1
http://hercules.ws/board/tracker/issue-8236-compile-error-in-centos-65-x64/ couldn't test it and this warning doesn't show on MSVC 2010 /W4 if the warning continues to show please use the issue page.
2014-06-18Merge branch 'master' of https://github.com/HerculesWS/Herculespanikon1-1/+1
2014-06-18Fixed issue in all skills that used status->get_matk, the function was ↵panikon2-41/+105
altering MATK even when was only supposed to get it. It was seamless most of the time because this function is mainly used in flag 2 that doesn't change anything but it was noticeable after using AL_HEAL. This issue was reported in http://hercules.ws/board/tracker/issue-8235-reply-skills-reduce-attac/
2014-06-17Fixed partial of the sentence + typo.Mysteries1-1/+1
Follow up to 2fb3c85
2014-06-17Fixed issue where a crash would occur in mobs with MD_RANDOMTARGET, issue: ↵panikon1-2/+5
8231 http://hercules.ws/board/tracker/issue-8231-server-received-crash-signal/
2014-06-17Removed ZENY_HACKER according to issue 295 (github)panikon1-9/+9
Documented impossible_trade_check
2014-06-06HPM Hooks UpdateHercules.ws2-54/+54
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-06-06Fix bug 8225Michieru3-29/+57
http://hercules.ws/board/tracker/issue-8225-gentle-touch-revitalize/ Complete Sorcerer Elemental Skills.
2014-05-31Corrected GM level override checks for Nouse and TradeHaru1-2/+2
- Values are now clamped to the [0,100] range. Removed useless positivity check for item_usage.override (fixes a compiler warning). - Special thanks to KeiKun, ossi0110. Signed-off-by: Haru <haru@dotalux.com>
2014-05-31Extended ItemDB to support several other formats (part 2)Dastgir Pojee2-222/+220
- Actual source edits Signed-off-by: Haru <haru@dotalux.com>
2014-05-31 Added ItemNouseRestriction enumHaru2-8/+14
- To be used in a follow-up item_db.conf edit. Signed-off-by: Haru <haru@dotalux.com>
2014-05-31 Added ItemTradeRestriction enumHaru3-12/+30
- To be used in a follow-up item_db.conf edit. Signed-off-by: Haru <haru@dotalux.com>
2014-05-30Merge pull request #282 from MrKeiKun/fix_typoHaruna29-323/+325
Fixed some typo