blob: 8fdcf9d946f0add9b5c6a2bcc8a749888f01d484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*-- Flintregen --*/
#strict
protected func Initialize() {
SetPosition(0,0);
AddEffect("Flnt",0,1,20,0,GetID());
return(1);
}
func FxFlntTimer()
{
if (!Random(20))
{
//Wurmloch
CreateObject(MGWP,Random(LandscapeWidth()),Random(LandscapeHeight()))->Activate(FindObject());
//Und einmal Free-Shaken
ShakeFree(Random(LandscapeWidth()),Random(LandscapeHeight()),Random(100));
}
//Zum Schluss noch ein kleines Geschenk des Himmels
var flnt = CreateObject(SFLN,Random(LandscapeWidth()),0);
return(1);
}
|