summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-08 11:36:34 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-08 11:36:34 +0000
commitbce77426d42cb845ca1c2d81b027d3f1ced293d5 (patch)
tree6e0ee15b16f0a949087b7b9a5728a68c33d981eb /src/map/status.c
parent89bb1a8cd77e095cd85d698cd134b91f00c8d99c (diff)
downloadhercules-bce77426d42cb845ca1c2d81b027d3f1ced293d5.tar.gz
hercules-bce77426d42cb845ca1c2d81b027d3f1ced293d5.tar.bz2
hercules-bce77426d42cb845ca1c2d81b027d3f1ced293d5.tar.xz
hercules-bce77426d42cb845ca1c2d81b027d3f1ced293d5.zip
Fixed bugreport:5513 Chaos Panic should now inflict Confusion/Chaos effect work properly.
Follow up r16085 Fixed the min cap value for negative mdef. Thanks Epoque git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16086 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c
index c1ed31d4a..6f31613aa 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -612,7 +612,7 @@ void initChangeTables(void)
set_sc( SC_WEAKNESS , SC__WEAKNESS , SI_WEAKNESS , SCB_FLEE2|SCB_MAXHP );
set_sc( SC_STRIPACCESSARY , SC__STRIPACCESSORY , SI_STRIPACCESSARY , SCB_DEX|SCB_INT|SCB_LUK );
set_sc_with_vfx( SC_MANHOLE , SC__MANHOLE , SI_MANHOLE , SCB_NONE );
- add_sc( SC_CHAOSPANIC , SC_CHAOS );
+ add_sc( SC_CHAOSPANIC , SC_CONFUSION );
set_sc( SC_BLOODYLUST , SC__BLOODYLUST , SI_BLOODYLUST , SCB_DEF|SCB_DEF2|SCB_BATK|SCB_WATK );
/**
* Sura
@@ -6468,8 +6468,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC__IGNORANCE:
case SC__LAZINESS:
case SC__WEAKNESS:
- case SC__UNLUCKY:
- case SC_CHAOS:
+ case SC__UNLUCKY:
return 0;
case SC_COMBO:
case SC_DANCING:
@@ -7901,7 +7900,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC_BITE:
case SC_THORNSTRAP:
case SC__MANHOLE:
- case SC_CHAOS:
case SC_CRYSTALIZE:
case SC_WHITEIMPRISON:
case SC_VACUUM_EXTREME:
@@ -7945,7 +7943,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC_SILENCE: sc->opt2 |= OPT2_SILENCE; break;
case SC_SIGNUMCRUCIS:
- case SC_CHAOS:
sc->opt2 |= OPT2_SIGNUMCRUCIS;
break;
@@ -8763,7 +8760,6 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
sc->opt2 &= ~OPT2_DPOISON;
break;
case SC_SIGNUMCRUCIS:
- case SC_CHAOS:
sc->opt2 &= ~OPT2_SIGNUMCRUCIS;
break;