summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorplaytester <playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-03-16 20:53:23 +0000
committershennetsind <ind@henn.et>2013-04-11 16:19:35 -0300
commit931058402a47abd14f022c12bdf29c68e261204d (patch)
tree56312028151b6f4729476757aa81ddceb9104fdd /src/map/battle.c
parent278e9949a662dd320c5fc408f585da4600526154 (diff)
downloadhercules-931058402a47abd14f022c12bdf29c68e261204d.tar.gz
hercules-931058402a47abd14f022c12bdf29c68e261204d.tar.bz2
hercules-931058402a47abd14f022c12bdf29c68e261204d.tar.xz
hercules-931058402a47abd14f022c12bdf29c68e261204d.zip
- Strongly improved the structure of status_get_sc_def so it's a lot easier to apply official formulas and make sure the checks are applied in the correct order
- In the process, fixed the effect of luk on status changes and removed the static 3% resistance that has been proven to not exist (97 vit, 1 luk can get stunned on officials) - As there is no general luk resistance as it depends on each status change, removed the luk_status_def configurations - Updated the success chance of Decrease Agi to the formula that was extracted from Aegis (blevel/5 + int/5 + skill_lv*3 + 50) Note: I tested all the status changes thoroughly, but as this is a quite large update, it would be nice if someone could cross-check it. Note2: Renewal status resistances (for pre-renewal status changes) are currently not implemented in rAthena at all. They need to be added in another update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17201 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c8af6badc..81c616928 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5782,8 +5782,6 @@ static const struct _battle_data {
{ "status_cast_cancel", &battle_config.sc_castcancel, BL_NUL, BL_NUL, BL_ALL, },
{ "pc_status_def_rate", &battle_config.pc_sc_def_rate, 100, 0, INT_MAX, },
{ "mob_status_def_rate", &battle_config.mob_sc_def_rate, 100, 0, INT_MAX, },
- { "pc_luk_status_def", &battle_config.pc_luk_sc_def, 300, 1, INT_MAX, },
- { "mob_luk_status_def", &battle_config.mob_luk_sc_def, 300, 1, INT_MAX, },
{ "pc_max_status_def", &battle_config.pc_max_sc_def, 100, 0, INT_MAX, },
{ "mob_max_status_def", &battle_config.mob_max_sc_def, 100, 0, INT_MAX, },
{ "sg_miracle_skill_ratio", &battle_config.sg_miracle_skill_ratio, 1, 0, 10000, },