I was working on custom damaging sprites, starting with the well known spinning wall of fire, but for some reason the fireballs aren't damaging Link.
const int FIREBALL_COMBO=48;
ffc script SpinningFireballs{
void run(int amount, int distance, float angle, float speed, int damage){
while(true){
int radius=distance*16;
for(int i=1; i<=amount; i++){
eweapon e=Screen->CreateEWeapon(EW_SCRIPT1);
e->X=this->X+(distance*radius)*Cos(angle);
e->Y=this->Y+(distance*radius)*Sin(angle);
e->Damage=damage;
e->Tile=EMPTY_TILE;
e->CollDetection=true;
e->DeadState=2;
Screen->FastCombo(3,this->X+(distance*radius)*Cos(angle),this->Y+(distance*radius)*Sin(angle),FIREBALL_COMBO,0,128);
radius+=16;
}
angle+=speed;
Waitframe();
}
}
} //SpinningFireballs
When I turn cheating on and check for hitboxes, ZC confirms that there are hitboxes, but Link doesn't interact with the fireballs at all. What am I doing wrong? I made sure Collision Detection is true, and even if I try using a longer Deadstate nothing happens.

