| 1 |
import Crossfire,random,math |
| 2 |
Params=Crossfire.ScriptParameters() |
| 3 |
if Params=="Fog": |
| 4 |
whoami=Crossfire.WhoAmI() |
| 5 |
Rand=random.randint(0,8) |
| 6 |
if Rand!=0: |
| 7 |
whoami.Move(Rand) |
| 8 |
whoami.Speed*=1.5 |
| 9 |
whoami.Weight-=1 |
| 10 |
if whoami.Weight>=0: |
| 11 |
Crossfire.SetReturnValue(1) |