diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-08-07 09:26:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-08-07 09:26:17 -0300 |
commit | c53f8a099151f2e8c26c0ab36f35d34256c0d6cb (patch) | |
tree | 0558845f1cb8070f39f9af424c8ffcd930a33b90 /src/map/status.c | |
parent | f18ad8f29090dd7c95b47922aabfb5e5569c7630 (diff) | |
download | hercules-r12.4+1.tar.gz hercules-r12.4+1.tar.bz2 hercules-r12.4+1.tar.xz hercules-r12.4+1.zip |
This is Hercules v2019.08.25r12.4+1
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 9a235e5e3..dedfff49e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8859,7 +8859,9 @@ static int status_change_start(struct block_list *src, struct block_list *bl, en case SC_KAIZEL: val2 = 10*val1; //% of life to be revived with break; - // case SC_ARMORPROPERTY: + case SC_ARMORPROPERTY: + clif->status_change(bl, (val1 > 0 ? SI_RESIST_PROPERTY_WATER : (val2 > 0 ? SI_RESIST_PROPERTY_GROUND : (val3 > 0 ? SI_RESIST_PROPERTY_FIRE : (val4 > 0 ? SI_RESIST_PROPERTY_WIND : SI_BLANK)))), 1, tick, 0, 0, 0); + break; // case SC_ARMOR_RESIST: // Mod your resistance against elements: // val1 = water | val2 = earth | val3 = fire | val4 = wind |