Fix bug where move spd % set bonus effect applied two times in a row. 56/56 tests passing. Release Build 9923.
This commit is contained in:
@@ -277,7 +277,6 @@ const int Player::GetDefense()const{
|
||||
float Player::GetMoveSpdMult(){
|
||||
float moveSpdPct=GetEquipStat("Move Spd %")/100.f;
|
||||
float mod_moveSpd=moveSpdPct;
|
||||
mod_moveSpd+=GetBonusStat("Move Spd %");
|
||||
for(const Buff&b:GetBuffs(BuffType::SLOWDOWN)){
|
||||
mod_moveSpd-=moveSpdPct*b.intensity;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ All rights reserved.
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_PATCH 3
|
||||
#define VERSION_BUILD 9922
|
||||
#define VERSION_BUILD 9923
|
||||
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
|
||||
Reference in New Issue
Block a user