Changeset 3342

Show
Ignore:
Timestamp:
12/01/08 08:59:38 (5 weeks ago)
Author:
lurker
Message:

* Try a larger radius to spawn in

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mods/ca/LuaRules/Gadgets/planetwars.lua

    r3328 r3342  
    3434                        local unitDef = UnitDefs[unitDefID] 
    3535                        if not unitDefID then break end 
    36                         randRadius = 100 
     36                        randRadius = 150 
    3737                        while(true) do 
    3838                                tryx = random(x - randRadius, x + randRadius) 
     
    5555                                else 
    5656                                        spawnTries = spawnTries + 1 
    57                                         randRadius = randRadius + 10 
     57                                        randRadius = randRadius + 50 
    5858                                end 
    5959                        end