summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c10
-rw-r--r--src/map/battle.c9
2 files changed, 8 insertions, 11 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 1577dfc99..e9c31495f 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2085,11 +2085,9 @@ ACMD_FUNC(go)
strncmp(map_name, "prison", 3) == 0 ||
strncmp(map_name, "jails", 3) == 0) {
town = 16;
- } else if (strncmp(map_name, "jawaii", 3) == 0 ||
- strncmp(map_name, "jawai", 3) == 0) {
+ } else if (strncmp(map_name, "jawaii", 3) == 0) {
town = 17;
- } else if (strncmp(map_name, "ayothaya", 3) == 0 ||
- strncmp(map_name, "ayotaya", 3) == 0) {
+ } else if (strncmp(map_name, "ayothaya", 3) == 0) {
town = 18;
} else if (strncmp(map_name, "einbroch", 5) == 0 ||
strncmp(map_name, "ainbroch", 5) == 0) {
@@ -2120,9 +2118,9 @@ ACMD_FUNC(go)
town = 31;
} else if (strncmp(map_name, "dewata", 3) == 0) {
town = 32;
- } else if (strncmp(map_name, "malangdo", 3) == 0) {
+ } else if (strncmp(map_name, "malangdo", 5) == 0) {
town = 33;
- } else if (strncmp(map_name, "malaya", 3) == 0) {
+ } else if (strncmp(map_name, "malaya", 5) == 0) {
town = 34;
} else if (strncmp(map_name, "eclage", 3) == 0) {
town = 35;
diff --git a/src/map/battle.c b/src/map/battle.c
index e36befad7..bde3bfb65 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2630,7 +2630,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
// FIX ME: Should Rolling Cutter be affected by EDP?
switch(skill_num){
case AS_SPLASHER: case AS_VENOMKNIFE:
- case AS_GRIMTOOTH: case GC_ROLLINGCUTTER:
+ case AS_GRIMTOOTH: case GC_ROLLINGCUTTER:
break;
#ifndef RENEWAL_EDP
case ASC_BREAKER: case ASC_METEORASSAULT: break;
@@ -2640,10 +2640,9 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
case GC_COUNTERSLASH:
case GC_CROSSIMPACT:
ATK_RATE(50); // only modifier is halved but still benefit with the damage bonus
- break;
#endif
default:
- ATK_ADDRATE(sc->data[SC_EDP]->val3);
+ ATK_ADDRATE(sc->data[SC_EDP]->val3);
}
}
}
@@ -5060,7 +5059,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
state |= BCT_ENEMY;
strip_enemy = 0;
break;
- default:
+ default:
if(su->group->skill_id == WM_REVERBERATION || su->group->skill_id == WM_POEMOFNETHERWORLD){
state |= BCT_ENEMY;
strip_enemy = 0;
@@ -5078,7 +5077,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
//Valid targets with no special checks here.
case BL_MER:
case BL_HOM:
- case BL_ELEM:
+ case BL_ELEM:
break;
//All else not specified is an invalid target.
default: