This commit is contained in:
aozhiwei 2023-11-02 14:40:35 +08:00
parent 9a38404d16
commit 0f33b52761

View File

@ -3202,10 +3202,10 @@ float Creature::GetSpeed()
ruduce += GetHeroMeta()->medicine_speed(); ruduce += GetHeroMeta()->medicine_speed();
} }
} else if (HasBuffEffect(kBET_InWater)) { } else if (HasBuffEffect(kBET_InWater)) {
if (GetHeroMeta()->medicine_speed() > ONE_LIMIT) { if (GetHeroMeta()->swim_speed() > ONE_LIMIT) {
addition += GetHeroMeta()->medicine_speed(); addition += GetHeroMeta()->swim_speed();
} else { } else {
ruduce += GetHeroMeta()->medicine_speed(); ruduce += GetHeroMeta()->swim_speed();
} }
} else if (shot_hold && } else if (shot_hold &&
GetCurrWeapon() && GetCurrWeapon() &&