summaryrefslogtreecommitdiff
path: root/src/map/status.h
AgeCommit message (Collapse)AuthorFilesLines
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-1/+1
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
2017-10-21Add names for some unnamed enums.Andrei Karas1-3/+3
Need for packet parser.
2017-08-13Save near 200 places in arrays with size SC_MAX.Andrei Karas1-1/+1
SC_X conatants can be with any numbers.
2017-07-30Implementation of RoDEXKirieZ1-1/+4
2017-07-27Move handling unknown sc code from status_change_start into separate function.Andrei Karas1-0/+1
2017-07-27Move adding icon code from status_change_start into separate function.Andrei Karas1-0/+1
2017-07-27Move getting val_flag based on type from status_change_start into separate ↵Andrei Karas1-0/+1
function.
2017-07-27Move set options from status_change_start into separate function.Andrei Karas1-0/+1
2017-07-27Move code for stop actions into separate function from status_change_start.Andrei Karas1-0/+1
2017-07-27Move from status_change_start code for end previous sc to separate function.Andrei Karas1-0/+1
2017-07-27Move some immune/resists checks from status_change_start into separate ↵Andrei Karas1-0/+2
functions.
2017-05-21Refine rate correction from kRO.smokexyz1-2/+10
Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941553&curpage=1 Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941565&curpage=1 Event Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941558&curpage=1 Event Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941567&curpage=1
2017-05-09Merge pull request #1699 from Jedzkie/11-SummerCostumeHaru1-1/+3
Implemented Official Summer 2 Costume
2017-04-19Implemented Official Summer 2 CostumeJedzkie1-1/+3
Added summer2_ignorepalette configuration
2017-04-18Update Status IDJedzkie1-10/+74
2017-04-04Implementation of Item Options System.Smokexyz1-0/+1
Allows the infusing of equipments with bonus item options. This feature is constrained to clients of packet versions greater than or equal to `20150226`. Item Options and their effects are defined server-side in `db/item_options.conf` and client side in `data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub` The ID of the option must tally with the correct index of the description provided in the client side lua file to avoid bugs. IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants. An additional flag `disable_options` has been added to sql, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to item_db.conf files. Script commands documentation is also included. SQL file updates are included. Credits: [Smokexyz](https://github.com/Smokexyz) Style and Script Fixes by [Asheraf](https://github.com/Asheraf) Initial design Idea by [secretdataz](https://github.com/secretdataz)
2016-10-28Fixed copyright year for 2016Lemongrass31101-1/+1
2016-10-22Added Summoner Skills(in DB)Dastgir Pojee1-10/+22
Added Summoner SC ID's in status.h
2016-07-10Add sc_config.txt flag for always visible effects.Andrei Karas1-8/+9
Remove hardcoded visible effects from status.c and add visible flag into sc_config.txt
2016-07-05Move static methods into interface in status.cAndrei Karas1-0/+4
2016-06-30Add #ifndef for different constants / sizes in status.hAndrei Karas1-2/+6
2016-03-19Added const qualifier to several status->get_XXX() functionsHaru1-10/+10
Signed-off-by: Haru <haru@dotalux.com>
2016-03-16Fixes HerculesWS/Hercules#1198 and fixes HerculesWS/Hercules#1194 introduced ↵Kolkka1-1/+1
in pull request #1189 Changed other instances of MAX_WEAPON_TYPE to MAX_SINGLE_WEAPON_TYPE.
2016-03-14Update status id's up to the latest from kRO.Jedzkie1-1/+4
2016-03-06Check allowed range for "View" field in item_db for weapon items.Andrei Karas1-1/+1
Also fix some array sizes.
2016-02-28Changed mob mode field to 32 bit, for future expansionHaru1-21/+28
Signed-off-by: Haru <haru@dotalux.com>
2016-02-28Added NoKnockback Mode for monstersDastgir1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-17Replaced some now unnecessary includes with forward declarations in header filesHaru1-1/+1
Added some forgotten <stdio.h> and "common/conf.h" includes to .c files, that were previously masked by the above. Signed-off-by: Haru <haru@dotalux.com>
2016-02-17Removed unnecessary typedefs from libconfigHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
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>