summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-12-15Fix SC_LEXAETERNA not getting removed when player receive SC_STONE or SC_FREEZEIbrahim Zidan1-0/+3
Closes #2559 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com> Signed-off-by: Haru <haru@dotalux.com>
2019-11-17Merge pull request #2577 from Asheraf/dehardcodestatusiconsHaru1-622/+425
Dehardcode Status Icons
2019-11-06Dehardcode Status IconsAsheraf1-621/+419
2019-11-06Add support for defining status icons in the sc configAsheraf1-3/+8
2019-10-29Dehardcode status effect boss resistanceAsheraf1-48/+4
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru1-2/+4
Dehardcode DB files path
2019-10-18Merge pull request #2551 from guilherme-gm/201910-fix-sc-timesHaru1-121/+148
Fixes status changes effect timer when relogging
2019-10-06Updates status changes to also keep their total timeGuilherme Menaldo1-10/+37
- 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-120/+120
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo1-2/+4
2019-10-05Fix HP bar not showing when unhiding in a partyskyleo1-6/+8
2019-09-22Fix the (disabled by default) custom Venom Splasher countdown timer codeHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-09-22Merge pull request #2524 from MishimaHaruna/homunculus-fixesHaru1-1/+1
Homunculus related fixes
2019-08-28Convert sc_config to use libconfigAsheraf1-12/+94
2019-08-26Fix an issue that prevents homunculus auto-vaporize on death or skill resetHaru1-1/+1
The >80% HP condition is now ignored in the cases the vaporization is forced by the server Signed-off-by: Haru <haru@dotalux.com>
2019-07-31Added Elemental Resist Status IconEmistry Haoyan1-1/+3
- show status icon for elemental resist status change.
2019-05-06Change return type of attack related functions from unsigned int to intAndrei Karas1-32/+32
2019-05-06Fix warnings after last changesAndrei Karas1-6/+10
2019-05-06Add configurable limits for attack related functionsAndrei Karas1-30/+30
2019-05-06Change attack related status functions to return int variableAndrei Karas1-39/+43
2019-05-05Remove all direct access to refine database from status.c and replace it ↵Ibrahim Zidan1-6/+6
with new refine interface functions Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix variables shadowing refine interface variable map-server sourceIbrahim Zidan1-6/+6
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-192/+5
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-02-01Merge pull request #1631 from Emistry/fix_voice_of_sirenHaru1-0/+3
Fix Voice of Siren minimum duration.
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-1/+1
2018-11-21Fix a regression that prevented characters from being resurrectedHaru1-1/+1
Caused by a wrong check in 8269fdcd5d036ddc3c24bc0ebb4ad958b5c19a3a Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Extend status->heal() with a flag to allow reviving a dead characterHaru1-1/+3
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-47/+64
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Fixes #889 & #840Jedzkie1-14/+49
- 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-07Fixed Logically Dead CodeDastgir1-23/+0
2018-07-01Fix some warnings caused by static functions defined and unusedHaru1-2/+6
Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Change functions to static where possible (Part 4 - map)Haru1-224/+233
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-06-29Fix packet 836 (search in stores).Andrei Karas1-1/+1
Added item options fields into this packet. Updated other things for support for report item options in vending. Buying store not supported for now.
2018-06-20Revert "Fixed Bug#8624"skyleo1-6/+1
This reverts commit 2c192fc93f4b5c8a19eaefbca4e24e160feb5d47. This `Fix` broke NPC_POWERUP (or rather SC_INCATKRATE) on Monsters, making MVPs like Atroce and Doppelganger not stronger in their Power Up phase as they used to be. Additionally it broke Divest Weapon's ATK Reduction on Monsters in Renewal.
2018-06-07Fix a crash caused by removing entries in job_dbAsheraf1-2/+4
2018-06-03Conversion of exp.txt to libconfigSmokexyz1-7/+41
2018-06-02Merge pull request #842 from AnnieRuru/request_6Haru1-0/+3
Add new *pcblock script command
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-0/+3
thanks to @MishimaHaruna for the updated syntax
2018-04-23Move hp recover code from status_calc_pc_ into separate function.Andrei Karas1-5/+14
2018-04-22Fixes interaction between Curse and BlessingJedzkie1-8/+16
When under Curse or Stone Curse, Blessing will only remove the negative statuses. Blessing needs to be cast twice to obtain the buff. Fixes #680 Signed-off-by: Haru <haru@dotalux.com>
2018-04-08Update Skill/Item messagesJedzkie1-1/+5
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/+21
All official features work including the autokick for inactive members And the system is completely customizable.
2017-12-17Merge pull request #1925 from MishimaHaruna/slowpoisonHaru1-13/+15
Natural expiration of Poison when under Slow Poison effect
2017-12-03Fix an issue that prevents the Poison status to naturally end when Slow ↵Haru1-13/+15
Poison is active The status change timer wasn't correctly rearmed in such a condition, keeping SC_POISON active indefinitely. Signed-off-by: Haru <haru@dotalux.com>
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-2/+2
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-11-04Allow each npc use own view_data structure.Andrei Karas1-4/+8
Allow npc to use player classes (for older than 20170726 npc visible as players). View_data structure can be copied from predefined view_data lists created new if npc using player type.
2017-09-19remove trailing whitespaces from sourcegumi1-7/+7