forked from github/server
"Siebenmeilentee hat nicht gewirkt" Siebenmeilentee wirkt ab sofort nur auf Wesen, die nicht schwimmen koennen. Issue: 920
This commit is contained in:
parent
9f146d1a07
commit
93b5f5502a
|
@ -1289,7 +1289,7 @@ movement_speed(unit * u)
|
|||
#endif /* KARMA_MODULE */
|
||||
|
||||
/* Siebenmeilentee */
|
||||
if (!fval(u->region->terrain, SEA_REGION) && get_effect(u, oldpotiontype[P_FAST]) >= u->number) {
|
||||
if ((u->race->flags & RCF_SWIM) == 0 && get_effect(u, oldpotiontype[P_FAST]) >= u->number) {
|
||||
mp *= 2;
|
||||
change_effect(u, oldpotiontype[P_FAST], -u->number);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue