summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 97b1c48..b49e90a 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1961,7 +1961,7 @@ static struct Damage battle_calc_pet_weapon_attack(
damage *= div_;
break;
case NPC_RANDOMATTACK: // ƒ‰ƒ“ƒ_ƒ€ATKUŒ‚
- damage = damage*(MMRAND(50, 150))/100;
+ damage = damage*(MPRAND(50, 150))/100;
break;
// ‘®«UŒ‚i“K“–j
case NPC_WATERATTACK:
@@ -2434,7 +2434,7 @@ static struct Damage battle_calc_mob_weapon_attack(
damage *= div_;
break;
case NPC_RANDOMATTACK: // ƒ‰ƒ“ƒ_ƒ€ATKUŒ‚
- damage = damage*(MMRAND(50, 150))/100;
+ damage = damage*(MPRAND(50, 150))/100;
break;
// ‘®«UŒ‚i“K“–j
case NPC_WATERATTACK:
@@ -2884,9 +2884,9 @@ static struct Damage battle_calc_pc_weapon_attack(
// ‰ß踘Bƒ{[ƒiƒX
if(sd->overrefine>0 )
- damage+=MMRAND(1, sd->overrefine);
+ damage+=MPRAND(1, sd->overrefine);
if(sd->overrefine_>0 )
- damage2+=MMRAND(1, sd->overrefine_);
+ damage2+=MPRAND(1, sd->overrefine_);
if(da == 0){ //ƒ_ƒuƒ‹ƒAƒ^ƒbƒN‚ª”­“®‚µ‚Ä‚¢‚È‚¢
// ƒNƒŠƒeƒBƒJƒ‹ŒvŽZ
@@ -3176,8 +3176,8 @@ static struct Damage battle_calc_pc_weapon_attack(
damage2 *= div_;
break;
case NPC_RANDOMATTACK: // ƒ‰ƒ“ƒ_ƒ€ATKUŒ‚
- damage = damage*(MMRAND(50, 150))/100;
- damage2 = damage2*(MMRAND(50, 150))/100;
+ damage = damage*(MPRAND(50, 150))/100;
+ damage2 = damage2*(MPRAND(50, 150))/100;
break;
// ‘®«UŒ‚i“K“–j
case NPC_WATERATTACK: