Reduced powder keg explosion radius

both size and graphical effect looked really strange
Maikel de Vries 2010-12-02 14:17:56 +01:00
parent 097648f7ab
commit d833f7d788
1 changed files with 3 additions and 2 deletions

View File

@ -71,8 +71,9 @@ public func FxFuseTimer(object target, int num, int timer)
CastParticles("Spark",1,10,0,0,20,30,RGB(255,255,0),RGB(255,255,0));
if(timer > 90)
{
//20-50 explosion radius
Explode(Sqrt(1 + ContentsCount() * 2) * 10);
//17-32 explosion radius
var radius = Sqrt(64 * (4 + ContentsCount()));
Explode(radius);
}
}