summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-10Fixed a compiler warning (statement with no effect)Haru1-6/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Move declaration of login config struct to login interfacehemagx3-107/+108
Closes #1030 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Revamped Aegis style songs behavior. Fixes #835Jorge C1-13/+75
Now it will automatically update with new values (according to the current song properties) when the status change is about to finish. Thanks Kyeme for the necessary proofs and reminders!
2016-01-09Added the unused attribute to BL_UCAST / BL_UCCASTHaru1-0/+2
- Fixes a warning when including map.h and not using those functions, depending on the compiler verbosity Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Sanitized various macrosHaru11-31/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Corrected various zero-argument function definitionsHaru11-20/+21
- Functions should always specify their arguments, even if they take none. In C, not specifying arguments is different than specifying (void). Signed-off-by: Haru <haru@dotalux.com>
2016-01-09HPM Hooks UpdateHercules.ws3-0/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-09Added support for MC_CARTDECORATE skill.Jedzkie11-10/+77
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Merge branch 'FreddieFatso-master'Dastgir1-1/+1
2016-01-09Merge branch 'master' of git://github.com/FreddieFatso/Hercules into ↵Dastgir1-1/+1
FreddieFatso-master
2016-01-09Fixes #907Jedzkie1-2/+2
- Cloaking Exceed speed must 140%, not 200+%.
2016-01-09Fixed #1033Dastgir1-2/+2
Eden quest were giving wrong equipments.
2016-01-09Script Cleanup:Dastgir1-168/+168
Removed some comments from eden quests
2016-01-09Fix Eden Quest 11-25 bug which allowed to bypass quest delay.Dastgir1-2/+3
Fixed #1084
2016-01-09typo fix in main.sqlDastgir1-1/+1
2016-01-09PR_MAGNIFICAT Skill Fix:Jedzkie1-0/+4
- PR_MAGNIFICAT HP Regeneration applies only in PRE-RENEWAL.
2016-01-09Fixes monsters not taking rude attack when OFFICIAL_WALKPATH is used.Jorge C1-1/+15
Rude attack was not checking for this setting.
2016-01-08Fixed a mapserver crash (too small allocation)Haru1-1/+1
- Follow-up to e3eac134b1607cfe78331e298aaa20b260662571 - Fixes #1074 Signed-off-by: Haru <haru@dotalux.com>
2016-01-08Cleaned up the pilebunker item checkHaru2-6/+5
- Follow-up to e3da170660e8c52ec5657c086057085ef20e382f - Removed redundant checks for sd->equip_index[EQI_HAND_R] validity - Added itemid_is_pilebunker macro - Restored correct indentation of the return instruction Signed-off-by: Haru <haru@dotalux.com>
2016-01-07Skill Update:Jedzkie3-4/+11
- According to this kRO's Patch Note: https://rathena.org/board/topic/101392-4082015-maintenance/ • Mechanic's Pile Bunker added 3 new weapons.
2016-01-07ItemDB SQL SyncHercules.ws1-0/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-07ItemDB Update:Jedzkie1-0/+50
- Added 3 New Mechanic's Pile Bunkers.
2016-01-06Fix null pointer access after previous commits.Andrei Karas1-4/+8
2016-01-06HPM Hooks UpdateHercules.ws3-86/+214
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-06Merge pull request #1034 from HerculesWS/bl_castAndrei Karas34-2368/+2988
Changed all TBL_* to the appropriate structs
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru19-251/+276
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru12-641/+843
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Moved status_get_homXXX macros to status.cHaru2-22/+37
- The macros were very specific to a small set of functions, they don't belong to status.h. - The macros have been edited to take two parameters instead of relying on external variables. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some map->id2sd calls with the proper map->id2XX functionHaru11-213/+360
- Also added new map->id2XX convenience functions for the other bl types. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru15-274/+475
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru13-92/+79
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Added const variants of BL_CAST/BL_UCAST: BL_CCAST/BL_UCCASTHaru1-0/+42
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Introduced the BL_UCAST() macro as an alternative to explicit castsHaru1-1/+40
- The benefit of using BL_UCAST() instead of an explicit cast is that it produces a compiler error if the argument is not a block_list. - The benefit of using BL_UCAST() instead of BL_CAST() is that the block_list argument is guaranteed to be evaluated only once. As such it can be used in places where the argument is a function. - No block_list type checking is done. As such, if a different block_list type is passed, behavior is undefined. The user should do the checking beforehand. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx8-106/+110
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_ELEM to struct elemental_data as per style guidelineshemagx5-30/+30
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx9-49/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx5-18/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MER to struct mercenary_data as per style guidelineshemagx9-53/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_HOM to struct homun_data as per style guidelineshemagx10-56/+57
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MOB to struct mob_data as per strly guidelineshemagx13-169/+176
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx26-915/+863
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Revert the changes in scope. thanks @dastgir.Jedzkie1-1/+2
2016-01-06Fixed #1071Jedzkie2-9/+12
Change the official message for NC_MAGICDECOY.
2016-01-06Reverted the fixed cast delay of Arrow Shower, thanks to @MichiJedzkie1-1/+1
2016-01-05Add *swap script commandAnnieRuru2-0/+84
- extremely useful when writing algorithm functions Closes #1012 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Fixed typoFreddieFatso1-1/+1
2016-01-06Renewal Arrow Shower UpdateJedzkie2-2/+2
Arrow Shower now has 3x3 AoE on level 1~5 and 5x5 AoE on level 6~10 Arrow Shower now has a fixed after cast delay of 500ms Thanks to @Playtester
2016-01-05ItemDB SQL SyncHercules.ws2-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-06Fix Necromancer Card effect, should now work w/ One-Hand and Two-Hand Staffs.Jedzkie2-2/+4
Thanks to @Playtester.
2016-01-05ItemDB SQL SyncHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>