Finished slime king jump attack, account for Z axis when determining damage validity.

This commit is contained in:
2023-09-11 05:27:36 -05:00
parent 942e8e0ef7
commit 100a3ece57
14 changed files with 39 additions and 25 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ public:
void RemoveAllBuffs(BuffType type); //Removes all buffs of a certain type.
void RemoveAllBuffs(); //Remove every buff.
bool Hurt(int damage,bool onUpperLevel);
bool Hurt(int damage,bool onUpperLevel,float z);
//specificClass is a bitwise-combination of classes from the Class enum. It makes sure certain animations only play if you are a certain class.
void UpdateAnimation(std::string animState,int specificClass=ANY);
Animate2D::Frame GetFrame();