summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-05-31Fixed Bug#8673malufett5-50/+61
-http://hercules.ws/board/tracker/issue-8673-gt-energy-gain/?gopid=25265#entry25265 -Fixed some skills related to spiritball, should now work like official. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-31Follow up@027f124cbb96bb99d00bc31ad51345024edadf66malufett2-4/+6
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-28Fixed Bug#8694malufett1-0/+4
-http://hercules.ws/board/tracker/issue-8694-npc-earthquake-wrong-type/?gopid=25380#entry25380 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Fix Vacuum Extrem resistanceMichieru3-5/+6
In renewal Safetywall Hits Blocked depending also on Skill Level
2015-05-26Another batch of corrected skill level checkmalufett3-15/+29
-Followup@dbaff8bdff2552c94d83e71249ae9e2117f62a72 -Added missing code from previous commit@027f124cbb96bb99d00bc31ad51345024edadf66 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Fixed Bug#8682malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8682-bakuretsu-kunai/?gopid=25327#entry25327 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Merge pull request #524 from csnv/fixes2malufett1-3/+10
Fixes ninja skill Final Strike sliding. Bug report 8618 -http://hercules.ws/board/tracker/issue-8618-final-strike/?gopid=24952#entry24952
2015-05-25Corrected homunculus defense growing too much on level upHaru1-2/+3
- Caused by a variable not correctly re-initialized on level up. - Special thanks to Michieru, Malufett. Signed-off-by: Haru <haru@dotalux.com>
2015-05-24Fixes ninja skill Final Strike sliding. Bug report 8618: ↵csnv1-3/+10
http://hercules.ws/board/tracker/issue-8618-final-strike/
2015-05-24Corrected a skill level checkHaru1-2/+5
- Caused by yet another overwritten variable, this time from 61135037. - This fixes some of the failed assertions from bug 8672 http://hercules.ws/board/index.php?app=tracker&showissue=8672 - Special thanks to csnv. Signed-off-by: Haru <haru@dotalux.com>
2015-05-24Corrected distance check on homunculus skillsHaru1-9/+12
- Distance check on offensive skills was being done against the homunculus' master instead of the actual target, because of a variable accidentally overwritten in 8faef4ff. - Please don't reuse variables for unrelated things. You don't have to pay extra if you use one more variable, I promise. - Special thanks to MordekaiserGod. Signed-off-by: Haru <haru@dotalux.com>
2015-05-23Fixed Bug#8672malufett1-9/+11
-http://hercules.ws/board/tracker/issue-8672-map-server-error/
2015-05-21* Follow-up to 5be01dcMichieru1-1/+1
- effect was give at 100% chance - Special thanks to Haru
2015-05-20* Fixed a compile error.Michieru1-1/+1
Thanks to Haru
2015-05-19Fixed some issues reported by coverity scan [3/3]Haru9-135/+44
- Automatically zeroed variables are now zeroed in the correct size, regardless of padding. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [2/3]Haru2-8/+23
- Corrected some NPC ID range checks Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [1/3]Haru4-28/+49
Signed-off-by: Haru <haru@dotalux.com>
2015-05-18HPM Hooks UpdateHercules.ws3-99/+37
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-18Removed duplicates of clif->msgtableHaru6-91/+109
- Removed clif->msgtable, and renamed clif->msg to clif->msgtable. - Removed clif->msgtable_num, and renamed clif->msg_value to clif->msgtable_num - Renamed clif->msg_skill to clif->msgtable_skill - Removed clif_viewequip_fail - Replaced hardcoded message IDs with constants (see enum clif_messages) Signed-off-by: Haru <haru@dotalux.com>
2015-05-17Follow-up to 5be01dcHaru1-2/+2
Fixed a swapped-variable typo. Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-05-17HPM Hooks UpdateHercules.ws2-6/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-17Fixed some issues detected by coverity scanHaru12-42/+47
Signed-off-by: Haru <haru@dotalux.com>
2015-05-17Added bonus4 variant of bAddEff to specify a durationHaru3-16/+62
- When a duration value is specified, the effect will have a fixed, non-reducible duration, as required by item scripts. - Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-05-16Added charid2rid script commandHaru1-0/+18
- Returns the account ID (RID) for the given character ID. - As per Streusel's request. Signed-off-by: Haru <haru@dotalux.com>
2015-05-16Fix log10() function actually using log10. Used natural log before.Streusel1-1/+1
2015-05-15Renamed log to log10, as it is creating errors with items called Log.Streusel1-21/+2
Removed floor() and ceil() as they don't make sense since everything is int to begin with.
2015-05-15Added floor(), ceil() and log() functions for usage in scripts.Streusel1-10/+40
2015-05-13Fix a typo in packets.hDastgir1-1/+1
2015-05-13Added Packets for 2015-05-13aRagexe, Thanks to YommyDastgir1-13/+55
2015-05-13Follow-up to fb88a56Haru1-44/+47
- Fixes a division by zero while parsing the job_db. - Improves algorithm for guessing HP/SP table values when not enough levels are provided. Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Follow-up to 2b4f2993Haru1-1/+1
Related: fff2194, http://hercules.ws/board/tracker/issue-8672-map-server-error/ Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Follow-up to fff2194Haru1-10/+11
Related: http://hercules.ws/board/tracker/issue-8672-map-server-error/ Signed-off-by: Haru <haru@dotalux.com>
2015-05-12Fix issue http://hercules.ws/board/tracker/issue-8672-map-server-error/Andrei Karas1-5/+13
2015-05-11Merge pull request #508 from 4144/sanityHaruna2-26/+26
Extend sanity check configure flag with all sanity checks.
2015-05-11Fixed SC_BERSERK not starting SC_ENDUREHaru1-1/+1
- Issue present since cf56f7c9 (seemingly unintended edit of a condition in status_change_start). - Special thanks to MordekaiserGod. Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Deprecated command checkre().Haru1-1/+1
- The command is deprecated and it will be removed in about a month. Please use the constants RENEWAL, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EXP, RENEWAL_LVDMG, RENEWAL_EDP, RENEWAL_ASPD instead. Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Removed deprecated command isdayHaru1-6/+0
- Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189 Signed-off-by: Haru <haru@dotalux.com>
2015-05-08Added support for RENEWAL constants in scriptsHaru1-0/+37
Supported constants: - RENEWAL (globally enabled renewal mode) - RENEWAL_CAST (renewal cast time) - RENEWAL_DROP (renewal drop rate algorithms) - RENEWAL_EXP (renewal exp rate algorithms) - RENEWAL_LVDMG (renewal level modifier on damage) - RENEWAL_EDP (renewal enchant deadly poison algorithm) - RENEWAL_ASPD (renewal ASPD) Signed-off-by: Haru <haru@dotalux.com>
2015-05-05Typo when setting JoinAnnounce for channelsNihadm891-1/+1
The comment is right, but the wrong message number is there
2015-05-03Fixed Bug#8650malufett5-10/+22
-http://hercules.ws/board/tracker/issue-8650-minstrel-poem-of-netherworld-or-despair-song-skillleffect/?gopid=25083#entry25083 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-03Fixed Bug#8652malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8652-sp-again/?gopid=25092#entry25092 -Added missing weight factor of Minstrel/Wanderer. Thanks Michi Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-02Fix out of bound access if skill level is 0.Andrei Karas1-25/+25
2015-05-01Fix memory allocation error in atcommand.cAndrei Karas1-1/+1
2015-04-25Merge pull request #502 from k-py/bugfix-return-getvariableofnpcHaruna1-11/+21
Fix script function return always removing references from NPC variables.
2015-04-25HPM Hooks UpdateHercules.ws4-6/+70
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-04-25Fixed @changesex issues on PACKETVERs that don't support per-character sex.Haru6-142/+225
- Fixes bugreport:8504 http://hercules.ws/board/tracker/issue-8504-changesex/ - Existing database entries with an incorrect per-character sex will be fixed automatically when the character logs in to match the account's sex, if the PACKETVER doesn't support per-character sex. Signed-off-by: Haru <haru@dotalux.com>
2015-04-23Fixed Bug#8644malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8644-cr-fullprotection/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-23Fixed Bug#8474malufett1-5/+12
-http://hercules.ws/board/tracker/issue-8474-elemental-damage-amplifier-doesnt-apply-to-cart-cannon/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-22Minor refactoring of script function return.Kpy!1-10/+13
2015-04-22Fix a crash condition when incorrectly using return outside the scope of a ↵Kpy!1-1/+8
function or subroutine.