-----------------------------------------------------------------

-- File     :  /effects/Entities/EXCluster01Effect02/EXCluster01Effect05_script.lua
-- Author(s):  Gordon Duclos

-- Summary  :  Nuclear explosion script

-- Copyright © 2005,2006 Gas Powered Games, Inc.  All rights reserved.
-----------------------------------------------------------------

local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local EffectTemplate = import('/lua/EffectTemplates.lua')

EXCluster01Effect05 = Class(NullShell) {
    
    OnCreate = function(self)
        NullShell.OnCreate(self)
        self:ForkThread(self.EffectThread)
    end,
    
    EffectThread = function(self)
        local army = self:GetArmy()
        
        for k, v in EffectTemplate.TNukeBaseEffects02 do
            CreateEmitterOnEntity(self, army, v):ScaleEmitter(0.03125)-- Exavier Modified Scale 
        end    
    end,      
}

TypeClass = EXCluster01Effect05

