summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-25 10:13:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-25 10:13:52 +0000
commit56c38376f23bf7b942247ef42b36ab7401397f0b (patch)
tree3a1a67bce5c331481cdd2931da5160b86bed735d /src/map/battle.c
parent3f59201b9eafb42da8364672d6fe0c6b155b2812 (diff)
downloadhercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.gz
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.bz2
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.xz
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.zip
- You are allowed to expel guild mates that are not online now.
- Corrected damage of BloodDrain - Moved the "already connected" checks to pc_authok, since a dual login doesn't needs to be checked until the new connection is accepted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9916 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 171481d56..5060dfe28 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1367,10 +1367,8 @@ static struct Damage battle_calc_weapon_attack(
case NPC_DARKNESSATTACK:
case NPC_UNDEADATTACK:
case NPC_TELEKINESISATTACK:
- skillratio += 100*(skill_lv-1);
- break;
case NPC_BLOODDRAIN:
- skillratio += 100*skill_lv;
+ skillratio += 100*(skill_lv-1);
break;
case RG_BACKSTAP:
if(sd && sd->status.weapon == W_BOW && battle_config.backstab_bow_penalty)