summaryrefslogtreecommitdiff
path: root/src/map/status.h
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29Implement support for switching madogear typeAsheraf1-0/+1
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-11-17Merge pull request #2577 from Asheraf/dehardcodestatusiconsHaru1-1032/+23
Dehardcode Status Icons
2019-11-06Dehardcode Status IconsAsheraf1-1032/+23
2019-10-29Dehardcode status effect boss resistanceAsheraf1-1/+2
2019-10-06Updates status changes to also keep their total timeGuilherme Menaldo1-1/+3
- This allows clients to continue the "timer" display after you login again
2019-10-05Renames status_change_start 'tick' param to 'total_tick'Guilherme Menaldo1-2/+2
2019-08-28Convert sc_config to use libconfigAsheraf1-2/+5
2019-07-31Added Elemental Resist Status IconEmistry Haoyan1-4/+4
- show status icon for elemental resist status change.
2019-06-01Fix some stats calculation issues by reverting basic stats type from uint32 ↵Andrei Karas1-2/+3
to uint16
2019-05-08Fix aspd and probably other stats issues.Andrei Karas1-2/+2
2019-05-06Change return type of attack related functions from unsigned int to intAndrei Karas1-8/+8
2019-05-06Change attack related status functions to return int variableAndrei Karas1-12/+12
2019-05-06Change most field sizes from short to int in status_data struct.Andrei Karas1-8/+6
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-41/+0
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2018-11-14Merge pull request #1215 from HerculesWS/HP_DisplayHaru1-3/+15
Fixes #889 & #840
2018-11-14Extend status->heal() with a flag to allow reviving a dead characterHaru1-0/+1
This adds `STATUS_HEAL_ALLOWREVIVE` to `enum status_heal_flag`. Fixes an issue caused by a hack in the resurrection code, that would make characters respawn with 2 HP instead of 1. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-3/+12
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Fixes #889 & #840Jedzkie1-0/+2
- Novice classes will never go below 50% hp when died. - Other classes will show 1 HP rather than 0 when died. - Added battle configuration. Signed-off-by: Haru <haru@dotalux.com>
2018-10-15Update Monster Modes DocumentationEmistry Haoyan1-1/+1
- Changed into markdown format.
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-04-23Move hp recover code from status_calc_pc_ into separate function.Andrei Karas1-0/+1
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+3
All official features work including the autokick for inactive members And the system is completely customizable.
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>