Added TODO file
This commit is contained in:
+4
-1
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user