Brimstone Helmet v1 450 
                ![]() lvl: 16 
             | 
    
    
             ID: 214 
            Author: cedi 
            Rarity: rare 
            Status: Approved 
     | 
    
    
    
         
                Breath of Fire
            On attack, this item can change the carrier's attacktype to Elemental at the cost of 100 charges. Regenerates 50 charges per attack. This effect is not visible on the tower itself. Level Bonus: +1 charge regenerated  | 
    
        Download
        
        
        
        
         Toggle Triggers On Attack 
                        
                            goldcost: 0
                        
                            ONATTACK_chance: 1.0
                        
                            ONATTACK_chanceLevelAdd: 0.0
                        
                         
                    
                    
                        function onAttack takes Item itm returns nothing
    set itm.userReal = itm.userReal + 50.0 + 1.0 * itm.getCarrier().getLevel()
    call itm.setCharges( R2I( itm.userReal ) )
endfunction
                    
                On Damage 
                        
                            ONDAMAGE_chance: 1.0
                        
                            goldcost: 450
                        
                            ONDAMAGE_chanceLevelAdd: 0.0
                        
                         
                    
                    
                        function onDamage takes Item itm returns nothing
    local Tower T = itm.getCarrier()
    local Creep C = Event.getTarget()   //Remove original dmg bonus                                 |Add
    
    if itm.userReal >= 100.0 then
        set Event.damage = Event.damage     / T.getAttackType().getDamageAgainst( C.getArmorType() )    * AttackType.ELEMENTAL.getDamageAgainst( C.getArmorType() )
        call SFXOnUnit( "Abilities\\Spells\\Other\\Incinerate\\IncinerateBuff.mdl", C.getUnit(), "chest" )
        set itm.userReal = itm.userReal - 100.0
        call itm.setCharges( R2I( itm.userReal ) )
    endif
endfunction
                    
                On Item Pickup 
                        
                            goldcost: 0
                        
                         
                    
                    
                        function onPickup  takes Item itm returns nothing
    set itm.userReal = 0.0
    call itm.setCharges( 0 )
endfunction
                    
                 | 
Description:
Latest Upload Comment: