summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 20:34:02 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 20:34:02 +0000
commit4843efac1f35011a8490ece2aeabb25be3e480e8 (patch)
tree059e97fc8b68959521ddfd4089814716615b2113 /src/map/battle.c
parentfd2afa501d4b887fe13966ce57cea84012b8bed7 (diff)
downloadhercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.gz
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.bz2
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.tar.xz
hercules-4843efac1f35011a8490ece2aeabb25be3e480e8.zip
Renamed RRMODE to REMODE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b1232b488..c1faed285 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2092,7 +2092,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
if (!flag.idef || !flag.idef2)
{ //Defense reduction
short vit_def;
-#if RRMODE
+#if REMODE
short def1 = status_get_def(target); //Don't use tstatus->def1 due to skill timer reductions.
#else
signed char def1 = status_get_def(target); //Don't use tstatus->def1 due to skill timer reductions.
@@ -2704,7 +2704,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
break;
default:
{
- #if RRMODE //Renewal MATK Appliance according to doddler (?title=Renewal_Changes#Upgrade_MATK)
+ #if REMODE //Renewal MATK Appliance according to doddler (?title=Renewal_Changes#Upgrade_MATK)
/**
* min: (weaponMATK+upgradeMATK) * 2 + 1.5 * statusMATK
* max: [weaponMATK+upgradeMATK+(wMatk*wLvl)/10] * 2 + 1.5 * statusMATK
@@ -3025,7 +3025,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
}
if(!flag.imdef){
-#if RRMODE
+#if REMODE
short mdef = tstatus->mdef;
#else
char mdef = tstatus->mdef;
@@ -3041,7 +3041,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
//mdef2-= mdef2* i/100;
}
}
- #if RRMODE
+ #if REMODE
/**
* RE MDEF Reduction (from doddler:?title=Renewal_Changes#MDEF)
* Damage from magic = Magic Attack * 111.5/(111.5+eMDEF)