summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index a91576f36..45abe63b9 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -236,14 +236,6 @@ int battle_attr_fix(struct block_list *src, struct block_list *target, int damag
}
if (tsc && tsc->count)
{
- if(tsc->data[SC_ARMOR_ELEMENT])
- {
- if (tsc->data[SC_ARMOR_ELEMENT]->val1 == atk_elem)
- ratio -= tsc->data[SC_ARMOR_ELEMENT]->val2;
- else
- if (tsc->data[SC_ARMOR_ELEMENT]->val3 == atk_elem)
- ratio -= tsc->data[SC_ARMOR_ELEMENT]->val4;
- }
if(tsc->data[SC_SPIDERWEB] && atk_elem == ELE_FIRE)
{ // [Celest]
damage <<= 1;