summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2016-01-05Revert the price of Shadow Orb.Jedzkie1-1/+1
2016-01-05Fixed an unused variable warningHaru1-2/+0
Follow-up to 5020a123570a7b263f6b742df5891a36434473a0 Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Change the leftover ItemID's in skills.Jedzkie2-2/+3
Closes #1067 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Rename Dummy Lv# to Lv #.Jedzkie1-6/+6
This is kRO's mob name in prontera. Closes #1064 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Fix battle config Hp/Sp overflow valueAnnieRuru3-8/+35
- client can't handle value over 21474836 - SQL also can't save value over 16777215 due to mediumint unsigned Closes #965 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05ItemDB SQL SyncHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-05Fixes #1065Jedzkie1-1/+1
2016-01-05Update NPC_SUMMONMONSTER mobID to official valuemichieru1-36/+36
https://github.com/HerculesWS/Hercules/issues/1050
2016-01-05Added Support for BodyStyleDastgir18-55/+201
Closes #974 as merged
2016-01-05ItemDB SQL SyncHercules.ws1-11/+11
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-05Merge pull request #1053 from Jedzkie/Transformation_Scrolls_UpdateDastgir5-8/+22
Monster Transform Update:
2016-01-05Merge pull request #1047 from Kerubael/masterFrost1-1/+1
Spear Stab damage adjustment
2016-01-05ItemDB SQL SyncHercules.ws2-253/+411
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-05Merge pull request #1044 from Jedzkie/ItemDB_UpdatesDastgir2-275/+1880
Enchantment Stones Update:
2016-01-05Corrected the MTF_MATK, it should only give Fix MATK instead of MATK RateJedzkie1-1/+1
2016-01-05Enable the Status Icons for Transformation Candies.Jedzkie1-4/+4
2016-01-05Removal of Hard coded showscript command for Monster Transform.Jedzkie3-3/+17
2016-01-05Added New Enchantment Stones.Jedzkie1-0/+1605
2016-01-05Merge pull request #1058 from Emistry/scriptcommand_getitem2Dastgir2-3/+2
Fix *getitem2 and @item2 refine bug.
2016-01-04Level Penalty fixDastgir1-36/+36
2016-01-03HPM Hooks UpdateHercules.ws4-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-04Merge pull request #1056 from MishimaHaruna/skill_tree_fixAndrei Karas5-181/+280
Skill tree fix
2016-01-03Rewritten skill_tree parser in a more robust wayHaru4-177/+276
- Fixes an issue that prevented skills with more than 4 pre-requisites or more than 3 pre-requisites and a minimum level from being parsed correctly (and without any warning or error messages). - Removes the limit on 5 pre-requisites (replaced a fixed size array with a VECTOR) - Reduces memory usage of skill_tree from 794kB to 440kB (32 bit) or 523kB (64 bit). - Fixes an issue that prevented multiple inheritance from working correctly in rare cases (incorrect definition order), without any warning or error messages. Now a warning is displayed if a job is inherited before being defined. - Fixes an issue that prevented skills inherited from being correctly merged with the skills defined for the current job. - Prevents a job from inheriting itself by accident. - Correctly detects skills defined twice for the same job. Signed-off-by: Haru <haru@dotalux.com>
2016-01-03Corrected wrong use of MAX_PC_SKILL_REQUIRE instead of MAX_HOM_SKILL_REQUIREHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-01-03ItemDB SQL SyncHercules.ws1-702/+702
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-03Revert "Change the prices of some items according to kRO's item database."Haru1-701/+701
This reverts commit 6c4b4009038ba2de8d2d4239c8becdec94ec92d9. This commit wasn't based on regular server data (it looks like a f2p server)
2016-01-03Update morroc trader npc's to match kRO's morroc trader npc's.Jedzkie7-65/+294
Update some coordinates of the npc's in morroc. Added Marrol Battle Recruiter and Mr. Smile npc in morroc town.
2016-01-03Update Prontera trader npc's to match kRO's trader npc's.Jedzkie3-64/+193
2016-01-03ItemDB SQL SyncHercules.ws2-19/+45
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-03Fix some missing effects of Gunslinger & Rebellion bullets in PRE-RE and RE.Jedzkie2-12/+326
Added new Rebellion bullets in RENEWAL.