Added TODO file

This commit is contained in:
2023-12-22 17:19:54 -06:00
parent b81058e296
commit e89d18d84f
6 changed files with 55 additions and 2 deletions
+4 -1
View File
@@ -655,9 +655,12 @@ Key Player::GetFacingDirection(){
}
void Player::CancelCast(){
bool wasCasting=castInfo.castTimer>0;
castInfo={"",0};
std::erase_if(buffList,[](Buff&b){return b.type==RESTORATION_DURING_CAST;}); //Remove all buffs that would be applied during a cast, as we got interrupted.
DAMAGENUMBER_LIST.push_back(std::make_shared<DamageNumber>(GetPos(),0,true,INTERRUPT));
if(wasCasting){
DAMAGENUMBER_LIST.push_back(std::make_shared<DamageNumber>(GetPos(),0,true,INTERRUPT));
}
}
void Player::Moved(){