summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-05Merge pull request #1081 from Jedzkie/PR_MAGNIFICATDastgir1-0/+4
PR_MAGNIFICAT Skill Fix.
2016-01-16Removed Hard Coded data for SC_ALL_RIDING.Jedzkie1-1/+3
2016-01-15Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEEDDastgir1-2/+2
Fixes speed given by cloaking exceed
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru1-50/+54
Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Fixes #907Jedzkie1-2/+2
- Cloaking Exceed speed must 140%, not 200+%.
2016-01-09PR_MAGNIFICAT Skill Fix:Jedzkie1-0/+4
- PR_MAGNIFICAT HP Regeneration applies only in PRE-RENEWAL.
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru1-49/+47
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru1-228/+343
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Moved status_get_homXXX macros to status.cHaru1-15/+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 explicit casts with BL_UCAST/BL_UCCASTHaru1-3/+6
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx1-18/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_ELEM to struct elemental_data as per style guidelineshemagx1-24/+24
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx1-26/+27
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MER to struct mercenary_data as per style guidelineshemagx1-35/+34
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_HOM to struct homun_data as per style guidelineshemagx1-34/+34
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MOB to struct mob_data as per strly guidelineshemagx1-42/+44
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx1-137/+158
Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Added Support for BodyStyleDastgir1-0/+27
Closes #974 as merged
2016-01-05Corrected the MTF_MATK, it should only give Fix MATK instead of MATK RateJedzkie1-1/+1
2015-12-28Added Poring to the mob_id enumHaru1-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Standardized (source) mob_id enumHaru1-3/+3
- MOBID_ constant names now follow the Mob DB spritenames. - The following names were changed: * MOBID_EMPERIUM => MOBID_EMPELIUM * MOBID_TREAS01 => MOBID_TREASURE_BOX1 * MOBID_TREAS40 => MOBID_TREASURE_BOX40 * MOBID_BARRICADE1 => MOBID_BARRICADE * MOBID_BARRICADE2 => MOBID_BARRICADE_ * MOBID_GUARIDAN_STONE1 => MOBID_S_EMPEL_1 * MOBID_GUARIDAN_STONE2 => MOBID_S_EMPEL_2 * MOBID_FOOD_STOR => MOBID_OBJ_A * MOBID_BLUE_CRYST => MOBID_OBJ_A2 * MOBID_PINK_CRYST => MOBID_OBJ_B2 * MOBID_TREAS41 => MOBID_TREASURE_BOX41 * MOBID_TREAS49 => MOBID_TREASURE_BOX49 - Added several missing items Signed-off-by: Haru <haru@dotalux.com>
2015-12-25*Show the katar critical bonus in player status windowAnnieRuru1-0/+2
- this is unofficial behavior, so it has to be in battle config Related to #579 Closes #882 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-25Merge pull request #975 from dastgir/8-RefineDefhemagx1-4/+14
Added Costume/Shadow Atk/Def refine bonus setting
2015-12-25Added Costume/Shadow Atk/Def refine bonus settingDastgir1-4/+14
2015-12-23Item Update:Jedzkie1-77/+83
- Added official item effect for Mystic Powder. - Added Mystic Powder Box30 - Added effect for WOB_Amatsu - Added Songpyun_Box50 - White space adjustments
2015-12-23Update:Jedzkie1-7/+7
- Rename BLUE_CRYST and PINK_CRYST to BLUE_CRYSTAL and PINK_CRYSTAL - Rename FOOD_STOR to FOOD_STORAGE - Rename TREAS01, TREAS40, TREAS41, TREAS49 to TREASURE_01, TREASURE_40, TREASURE_41, TREASURE_49
2015-12-23Item Update:Jedzkie1-6/+14
- 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-14/+29
- Fix typo MOBID_GUARIDAN to MOBID_GUARDIAN - Added official item effect for Magic Candy.
2015-12-23Item Update:Jedzkie1-4/+4
- Remove the hard coded entry of Monster Transform Scrolls - Change mob names into mob constants.
2015-12-23Item Updates:Jedzkie1-6/+5
- Fix Speed Up Potion and Guyak Pudding effect, only movement speed reduction will not affect when in Quagmire, Decrease AGI and Slow Grace state. (thanks to kyeme) - Follow up https://github.com/Jedzkie/Hercules/commit/9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06 - Remove Yggdrasilberry and Yggdrasil Seed item re-use delay.
2015-12-23Item Update:Jedzkie1-71/+114
- 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/+8
- Added official item effect for Ancient Spirit Agimat.
2015-12-23Item Update:Jedzkie1-35/+44
- Added official Buche De Noel item effect. - Minor white space adjustments.
2015-12-22Follow up ↵Frost1-1/+1
https://github.com/HerculesWS/Hercules/commit/d79a996b1ecfe2dfdfe0069927f3aa0fbe584c8f Fix Spark Candy's Endure effect timer.
2015-12-22Item Update:Jedzkie1-30/+37
- 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-2/+21
- 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/+8
- 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-6/+31
- 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/+22
- Added official effect of Combat Pill and Advanced Combat Pill.
2015-12-20Item & Skill Update:Jedzkie1-32/+28
- Speed Potion & Guyak Pudding effects are now official. • Movement Speed changed from 50% to 100% • Removed its hard coded data in src. • Cannot be Slowed by Quagmire, Decrease AGI, and Slow Grace. - Modified Rudo Card effect. - NPC_AGIUP movement speed is now official • Movement speed changed from 50% to 100% • Fixed 100% movement speed per level. - Fix Slow Down Potion's movement speed reduction.
2015-12-17Added 8 Official kRO & jRO Costumes supported up to 2015-05-13aRagexe.Jedzkie1-2/+30
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-56/+0
2015-12-17Implement official effect of MVP ScrollsJedzkie1-4/+24
- 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-17Change all chat mute checks to use pc->can_talk instead of direct check.hemagx1-1/+1
Put new macro pc_ismuted and change all other kind of mutes to use it Closes #937 as merged 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/+4
Signed-off-by: Haru <haru@dotalux.com>
2015-12-13Fix SC_STOMACHACHE to its official behavior.Jedzkie1-6/+6
2015-12-13ItemDB Updates:Jedzkie1-0/+3
- 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-10Fix SPTable going low for MAX_LEVELDastgir1-2/+2