summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-04Fixed issue #556malufett1-2/+3
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-06-19Removed ".." from include directivesHaru1-30/+30
- 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-14Corrected an issue with Close ConfineHaru1-2/+2
- Fixes issue #539, thanks to @moguri85 - Introduced in 84785ca7, cbccd881 Signed-off-by: Haru <haru@dotalux.com>
2015-06-12RC_Player, RC_DemiPlayer, RC_NonPlayer, RC_NonDemiPlayer, RC_All and Ele_All ↵Dastgir1-2/+2
implemented (ref:Herc@9d1fe3cd3855bb973c55bdf98909c25bb80ee97a)
2015-06-02Fixed a crash when a Wink Charm user logs out during the skill effectHaru1-4/+9
- Fixes bugreport:8714, thanks to HermeMaton http://herc.ws/board/tracker/issue-8714-crash/ Signed-off-by: Haru <haru@dotalux.com>
2015-06-01Replaced some of the hardcoded values with constants (map)Haru1-41/+43
- 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-31Fixed Bug#8673malufett1-7/+6
-http://hercules.ws/board/tracker/issue-8673-gt-energy-gain/?gopid=25265#entry25265 -Fixed some skills related to spiritball, should now work like official. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-05-26Fix Vacuum Extrem resistanceMichieru1-3/+0
In renewal Safetywall Hits Blocked depending also on Skill Level
2015-05-25Corrected homunculus defense growing too much on level upHaru1-2/+3
- Caused by a variable not correctly re-initialized on level up. - Special thanks to Michieru, Malufett. Signed-off-by: Haru <haru@dotalux.com>
2015-05-19Fixed some issues reported by coverity scan [3/3]Haru1-82/+6
- 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-18Removed duplicates of clif->msgtableHaru1-5/+5
- Removed clif->msgtable, and renamed clif->msg to clif->msgtable. - Removed clif->msgtable_num, and renamed clif->msg_value to clif->msgtable_num - Renamed clif->msg_skill to clif->msgtable_skill - Removed clif_viewequip_fail - Replaced hardcoded message IDs with constants (see enum clif_messages) Signed-off-by: Haru <haru@dotalux.com>
2015-05-13Follow-up to fb88a56Haru1-44/+47
- Fixes a division by zero while parsing the job_db. - Improves algorithm for guessing HP/SP table values when not enough levels are provided. Signed-off-by: Haru <haru@dotalux.com>
2015-05-11Fixed SC_BERSERK not starting SC_ENDUREHaru1-1/+1
- Issue present since cf56f7c9 (seemingly unintended edit of a condition in status_change_start). - Special thanks to MordekaiserGod. Signed-off-by: Haru <haru@dotalux.com>
2015-05-03Fixed Bug#8650malufett1-1/+9
-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-05-03Fixed Bug#8652malufett1-0/+1
-http://hercules.ws/board/tracker/issue-8652-sp-again/?gopid=25092#entry25092 -Added missing weight factor of Minstrel/Wanderer. Thanks Michi Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-20Fixed Bug#8638malufett1-4/+5
-http://hercules.ws/board/tracker/issue-8638-sp/?gopid=25021#entry25021 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-19Fixed wrong job_db.conf path from 0f2b317372c2d1c95d4f09c94d054958418a39b4.Taylor Locke1-1/+1
2015-04-19Fixed Bug#8636malufett1-1/+6
-http://hercules.ws/board/tracker/issue-8636-unknown-weapon-type/?gopid=25011#entry25011 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-15In comment change job_db1.txt to job_db.confAndrei Karas1-1/+1
2015-04-15Allow for plugins read custom fields from jobdb1.Andrei Karas1-129/+138
2015-04-14Fixed Bug#8621malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8621-angra-manyu-with-aspd-low/?gopid=24959#entry24959 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-13Fixed Bug#8624malufett1-1/+6
-http://hercules.ws/board/tracker/issue-8624-damage-of-mvp/?gopid=24966#entry24966 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-04-02Merge branch 'master' of https://github.com/HerculesWS/Hercules into ↵malufett1-4/+3
JobDBRedesign
2015-03-29Fixed Bug#5654malufett1-4/+3
-http://hercules.ws/board/tracker/issue-5654-high-wizard-gravitational-field/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-28Follow up@fb88a56b9519adedfca06085de6c2ccc5da72582malufett1-36/+32
-Fix some flaw. Thanks to Michi Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-27Hercules 'job_db1.txt' Redesignmalufett1-146/+259
-Initial and for review Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-15Follow up 8aee60e91807930e4d43965a20c8991b416d7f29shennetsind1-3/+7
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-03-15Fixed Bug 8575shennetsind1-1/+1
Blame goes to 8aee60e91807930e4d43965a20c8991b416d7f29 http://hercules.ws/board/tracker/issue-8575-effects-arent-removed-when-time-gets-to-0/ Signed-off-by: shennetsind <ind@henn.et>
2015-03-14Multiple SC fixesshennetsind1-16/+44
First and foremost an ancient status_change_timer issue which'd cause a timer deletion error when an status within status_change_timer kills the unit. This commit also fixes some pointer/map-free-block logic which showed up while debugging status_change_timer. Special Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2015-03-11RENEWAL Updates:malufett1-10/+22
-Fixed card bonuses related to to ATK.(Added 'bRaceTolerance'). Thanks Michi for the support. -Fixed Renewal EDP. Special thanks to Awesome Yommy <3 -Enabled 'display_skill_fail' since '/skillfail' is already available in the client Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-25Fixed Bug#8522malufett1-2/+2
-http://hercules.ws/board/tracker/issue-8522-royal-guard-skill-reflect-damage-skill-duration-lapses-quicker-than-intended/?gopid=24526#entry24526 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-13Merge branch 'master' of github.com:HerculesWS/Herculesshennetsind1-1/+1
2015-02-13Fixed alchemist marine sphere causing double deletion on renewalshennetsind1-13/+13
Special Thanks to Haruna, Michieru.
2015-02-13Fixed Bug#8514malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8514-homunculus-not-gaining-aspd/?gopid=24511#entry24511 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-10Fixing Prestige formulaNihadm891-2/+2
It was giving too much def. Adjusted and confirmed with malufett
2015-01-23Cleaned up spirit charms implementation (optimized memory and CPU usage)Haru1-6/+4
Signed-off-by: Haru <haru@dotalux.com>
2015-01-20Minor fixes and tweaks suggested by cppcheckHaru1-122/+116
- Variable scopes reduced - Parenthesized ambiguous expressions - Removed or added NULL checks where (un)necessary - Corrected format strings - Fixed typos potentially leading to bugs Signed-off-by: Haru <haru@dotalux.com>
2015-01-18Replacing rand leftovers with the mt19937arshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2015-01-18Fixing 38 issuesshennetsind1-5/+9
Addressing out of bounds read/write, pointless null checks on already deferenced variables, dead code. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind <ind@henn.et>
2015-01-1727 Fixesshennetsind1-24/+27
Addressing out of bounds read/write, pointless null checks on already deferenced variables. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind <ind@henn.et>
2015-01-17Fixed Bug#8497malufett1-28/+33
-http://hercules.ws/board/tracker/issue-8497-all-mercenaries-miss-hit-for-0/?gopid=24434#entry24434 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-01-11Convert pcdb_checkid into function in pc interface.Andrei Karas1-4/+4
2015-01-02Add npcdb_checkid to npc interface.Andrei Karas1-1/+1
2014-12-31Fix wrong formattingAndrei Karas1-1/+2
2014-12-31Add some missing null pointer checks after automatic checks.Andrei Karas1-5/+11
2014-12-30Merge pull request #429 from csnv/overviewmalufett1-108/+110
Speeding up 'status_calc_aspd' processing in Renewal
2014-12-28Fixed Bug#8453malufett1-1/+5
-http://hercules.ws/board/tracker/issue-8453-mind-breaker/?gopid=24181#entry24181 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-28Merge pull request #427 from csnv/skillsworkHaruna1-0/+1
PR_KYRIE Visual fix, EDP corrections. Preliminary fix Maya Purple Hack update position.
2014-12-28Added RE version for 'size_fix.txt'.malufett1-1/+1
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-27Speeding up calc aspd process in Renewalcsnv1-108/+110
Only the requested type of aspd bonus is calculated