summaryrefslogtreecommitdiff
path: root/src/map/status.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru1-7/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Moved status_get_homXXX macros to status.cHaru1-7/+0
- 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-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx1-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Added Support for BodyStyleDastgir1-0/+3
Closes #974 as merged
2016-01-05Enable the Status Icons for Transformation Candies.Jedzkie1-4/+4
2015-12-23Item Update:Jedzkie1-0/+1
- Added official item effect for Mystic Powder. - Added Mystic Powder Box30 - Added effect for WOB_Amatsu - Added Songpyun_Box50 - White space adjustments
2015-12-23Item Update:Jedzkie1-0/+2
- Added official effect for Rapid Life Water. - Added new items: - Fruit Salad (http://www.divine-pride.net/database/item/11715) - Shepherd Salad (http://www.divine-pride.net/database/item/11716) - Yogurt (http://www.divine-pride.net/database/item/11717) - Bisket Dessert (http://www.divine-pride.net/database/item/11718)
2015-12-23Item Update:Jedzkie1-0/+1
- Fix typo MOBID_GUARIDAN to MOBID_GUARDIAN - Added official item effect for Magic Candy.
2015-12-23Item Update:Jedzkie1-0/+2
- Update the Genetic Sling / Food items - AegisNames - iRO Names - Prices - Weight - Added official effect for HP Increase Potions and SP Increase Potions. - Fix Banana Bomb sitting behavior.
2015-12-23Item Update:Jedzkie1-0/+1
- Added official item effect for Ancient Spirit Agimat.
2015-12-23Item Update:Jedzkie1-0/+1
- Added official Buche De Noel item effect. - Minor white space adjustments.
2015-12-22Item Update:Jedzkie1-1/+3
- Added SC_MOVHASTE_POTION and SC_MOVESLOW_POTION. - Change some item effects based on Aegis's special.sc. - White space adjustments
2015-12-21ItemDB Update:Jedzkie1-1/+2
- Added official effect for Jumping Candy (Spark_Candy) (Ref: http://herc.ws/board/topic/1125-please-implement-the-magic-scroll-mental-potion-etc/) Follow up Mercenary Skill update, disable AL_HEAL skill due to mercenary_skill_db doesn't recognize the skill.
2015-12-20ItemDB Update:Jedzkie1-0/+2
- Added effects for Inc_Str_Scroll and Inc_Int_Scroll - Update some Statuses in sc_config.txt, removed some duplicate entries.
2015-12-20ItemDB Update:Jedzkie1-0/+1
- Added official effect for RWC_Cele_Fire and RWC_Cele_Fire2. - Fix Battle Scroll not applying additional attack. - Fix Mystic Scroll not applying cast reduction - Fix Combat Pill and Advance Combat Pill giving ATK not ATKRATE. - Fix Combat Pill and Advance Combal Pill should not stack each other when used.
2015-12-20ItemDB Update:Jedzkie1-0/+3
- Added official effect of Combat Pill and Advanced Combat Pill.
2015-12-17Added 8 Official kRO & jRO Costumes supported up to 2015-05-13aRagexe.Jedzkie1-10/+48
Change the AegisName of Music Decoration to its official name. Update Status Change ID's. (Thanks to Rytech) Note: • Some of the costumes items are missing or not implemented on this commit, but this is their official SC's. • SC's that don't have costume items: - SC_FLOWERSMOKE - SC_HAPPINESS_STAR - SC_MAGICAL_FEATHER
2015-12-17Removal of SC_ITEMSCRIPT.Jedzkie1-2/+2
2015-12-17Implement official effect of MVP ScrollsJedzkie1-0/+6
- Ghostring Scroll - Phreeoni Scroll - Tao Gunka Scroll - Mistress Scroll - Orc Hero Scroll - Orc Lord Scroll (thanks to Dastgir) Note: in Aegis, the reflect damage from Orc Lord Scroll is in the user not in the attacker, but in this commit, the attacker receives the reflect damage. - Added New Cash Boxes * Tao Gunka Scroll Box * Mistress Scroll Box Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-4/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-12-14Added official effect of Mora Berry.Jedzkie1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-12-13ItemDB Updates:Jedzkie1-1/+1
- Added 'Malang Cat Can' item. - Added 'Ru Blue Spear' item. - Change the item id of 'RWC Silver Brooch' from 2998 to 2999. - Follow up https://github.com/HerculesWS/Hercules/commit/e511dcf5940cee7a6e43744543a5ca96bc23cf84, thanks to zackdreaver. - item_db.conf renewal minor clean-up xD
2015-12-10Change the sequence of Status ID's according to its number. Minor clean-up.Jedzkie1-152/+160
2015-11-23ItemDB Update:Jedzkie1-1/+2
- Added new official item status effect, 'SC_CUP_OF_BOZA'. - Follow up https://github.com/HerculesWS/Hercules/commit/f512a0b9cf93e2432f79b57fb05ccda4b6311b02. - Follow up https://github.com/HerculesWS/Hercules/commit/ce33936de2fcb9c565437cb80e6329ab76626500. - Follow up https://github.com/HerculesWS/Hercules/commit/d8909d9b2cf29f45c025fb93fc1df94ec1a40854. - Follow up https://github.com/HerculesWS/Hercules/commit/f65e0326ac7e6faf17451d4c6d275e4fd3133cc0. - Some white spaces adjustments.
2015-11-22ItemDB Update:Jedzkie1-0/+2
- Fix some item behaviors based on Official Servers. • Str_Dish10 (Healing percent) • Citron • Meat Skewer • Mre_B • Mre_C • Spray Of Flowers • Strawberry Cake • Pineapple Juice • Spicy Sandwich • Grilled Corn - Implemented the follow SC: • SC_FOOD_CRITICALSUCCESSVALUE (Based on Aegis VAR_CRITICALSUCCESSVALUE)
2015-11-22ItemDB Update:Jedzkie1-2/+5
- Added official item effect of 'Gold Pill 1' and 'Gold Pill 2'. - Update SC_ACARAJE flag in sc_config.txt. Ref: http://www.divine-pride.net/database/item/12274, http://www.divine-pride.net/database/item/12275
2015-11-22SC Update:Jedzkie1-0/+11
- Added 'Eden Crystal Synthesis' statuses. - Added 'Geffen Magic Tournament' statuses. Note: their sc_config.txt are not yet implemented, needs more information on official servers.
2015-11-22ItemDB Update:Jedzkie1-1/+13
- Implemented the Geffen Scrolls and Mental Potion official effects. Thanks to Kyeme. (Ref: http://herc.ws/board/topic/1125-please-implement-the-magic-scroll-mental-potion-etc/)
2015-11-18ItemDB Update:Jedzkie1-0/+2
- Fixes Issue #688. - Update the item 'Acaraje' to its official effect. (Ref: http://herc.ws/board/tracker/issue-7773-acaraje-12375/) - Fix 'Vitata500' not giving additional % in sp. (Thanks to Haru) (Ref: http://www.divine-pride.net/database/item/12436) - Fix Ljosalfar and Mermaid Bubbles disappear its effect when died / dispell and etc.
2015-11-17Revert "Item DB Updates:"Haru1-314/+303
This reverts commit 912578159c8ccca9545e3c7dce9f7ce2b92bee2e. This will be re-committed in a more atomic form.
2015-11-17Item DB Updates:Jedzkie1-303/+314
- Update Geffen Scrolls to its official behavior and effect. - Added Official item effect of Mental Potion. - Fixed Chinese Pestel item effect. - Fixed Vitata500 not giving 5% sp. - Added 'Costume: Time Accessory'.
2015-10-26- Update the Status Icons based in kRO Update 10-21-2015.Jedzkie1-5/+112
- Update 2 new costume items: • Ljosalfar (ID# 20099) • Mermaid Bubbles (ID# 20209) Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
2015-10-02Convert refine_db.txt to refine_db.conf (libconfig)Smokexyz1-1/+2
Thanks for Haru and 4414 for pointing out inefficiency in code, edited as suggested. Rework - Changed refine_db.conf format to a more concise one, thanks to Haru for suggesting. [2/10/15] Updated with corrections pointed out by Haru. Updated warning and error messages.
2015-08-15HPM compatibility improvementsHaru1-5/+3
Improved compatibility, portability and standards conformance. - Since it is not possible to portably and reliably re-use the core's symbols in plugins, symbols are no longer exported unless explicitly required, in the UNIX builds. This mimics the Windows behavior and adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas for making this possible. - For convenience, it is no longer necessary to call GET_SYMBOL, since the plugin will automatically import all the available symbols when it's loaded, depending on the included headers. - Plugins are now supposed to include the "common/hercules.h" header before including anything else. Incluing common/HPMi.h, common/cbasetypes.h or conf/core.h is no longer necessary, as those are guaranteed to be automatically included by hercules.h. - HPM API version bumped to 1.1. Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Merge pull request #464 from dastgir/AdditionalStatusAndrei Karas1-0/+1
Additional Status Calculation for Plugins.
2015-08-09Additional Status Calculation for Plugins.dastgir1-0/+1
2015-07-25Reduce memory usage in HPM in status.cAndrei Karas1-11/+15
2015-06-19Removed ".." from include directivesHaru1-4/+5
- Include directives are now directory-independent. - This will allow building plugins from other directories in future. Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Replaced some of the hardcoded values with constants (char)Haru1-43/+0
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [3/3]Haru1-1/+4
- 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-03Fixed Bug#8650malufett1-1/+1
-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-04-15Allow for plugins read custom fields from jobdb1.Andrei Karas1-1/+2
2015-03-27Hercules 'job_db1.txt' Redesignmalufett1-8/+5
-Initial and for review Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-15Follow up 8aee60e91807930e4d43965a20c8991b416d7f29shennetsind1-0/+1
Added a new way to know whether a status has a duration (as the aforementioned commit made the previous method unusable). Special Thanks to Haruna! Signed-off-by: shennetsind <ind@henn.et>
2015-01-12Blocked compilation of plugins that use unavailable functionsHaru1-0/+2
- Rather than failing at runtime, plugins that try to access non-interfaced, unavailable functions or variables, will now show an error at compile-time. Signed-off-by: Haru <haru@dotalux.com>
2014-12-10RENEWAL Updates:malufett1-1/+8
-Homunculus Official Statuses -Updated RE @mobinfo to show proper status data.(Follow up 28a8b0f7b06a6af86aff6ececf7d9541d457e297) -Some official behaviors. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-11-16Whitespace cleanup (no code changes)Haru1-61/+61
This includes, and is not limited to: mixed or wrong indentation, excess whitespace (horizontal and vertical), misalignment, trailing spaces. Signed-off-by: Haru <haru@dotalux.com>
2014-11-06revert Git:10e6f1a189f20ca346ada2f6199378869b370442Michieru1-1/+0
For now MD_RANDOMTARGET is not use and create problem with clone http://hercules.ws/board/tracker/issue-8424-taekwon-stanceskill-transfered/
2014-10-29Added 2014 Halloween Event and made status change parameter optional on ↵Taylor Locke1-1/+7
montransform.
2014-09-20Replaced hardcoded values with constants for status_change_start's flagHaru1-3/+17
- Please use the values from enum scstart_flag when calling status_change_start or related functions. - This also applies to the sc_start script commands. Signed-off-by: Haru <haru@dotalux.com>