|
|
|
@ -33,7 +33,7 @@ bool FireBolt::MonsterHit(Monster& monster) |
|
|
|
|
for(int i=0;i<72;i++){ |
|
|
|
|
game->AddEffect(Effect(monster.GetPos(),util::random(0.5),AnimationState::DOT_PARTICLE,util::random(2),util::random(0.4),{util::random(300)-150,util::random(300)-150},{255,uint8_t(util::random(190)+60),60})); |
|
|
|
|
} |
|
|
|
|
game->SetupWorldShake(0.5); |
|
|
|
|
game->SetupWorldShake(0.25); |
|
|
|
|
for(Monster&m:MONSTER_LIST){ |
|
|
|
|
if(geom2d::line(monster.GetPos(),m.GetPos()).length()<=2.5*24){ |
|
|
|
|
m.Hurt(3*damage); |
|
|
|
|