Rowing Boat v1
300
ID:
608
Family ID:
Author:
Natac
Rarity:
uncommon
Element:
iron
Attack Type:
Physical
Attack Range:
900
Attack CD:
1.7
Damage:
434-434
Status:
Approved

Description:

A small rowing boat with two seamen.
Specials:
Attacks GROUND only
Splash attack:
   25 AoE: 100% damage
   150 AoE: 40% damage
   250 AoE: 10% damage
Pirates
This tower plunders 0.3 gold each attack.
Treasure Seeker - Aura
Increases the bounty gain of towers in 300 range by 10%.

Level Bonus:
+0.5% bounty
Download

Toggle Triggers

Header

    globals
        //@export
        BuffType         natac_treasureSeeker_Buff
        //@export
        MultiboardValues natac_pirates_MultiboardValue 
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
        local Modifier bountyMod = Modifier.create()
        set   natac_treasureSeeker_Buff = BuffType.createAuraEffectType(true)
        call  bountyMod.addModification(MOD_BOUNTY_RECEIVED, 0.0 , 0.001 ) // Set by aura
        call  natac_treasureSeeker_Buff.setBuffModifier(bountyMod)
        call  natac_treasureSeeker_Buff.setBuffIcon('@@0@@')
        
        set   natac_pirates_MultiboardValue = MultiboardValues.create(1)
        call  natac_pirates_MultiboardValue.setKey(0,"Gold Plundered") 
    endfunction

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
    local real goldGranted = 0.3// The gold, that will be granted to the player on this attack 
    set  tower.userReal  = tower.userReal + goldGranted // Set the statistics
    call tower.getOwner().giveGold(goldGranted, tower.getUnit(), false, true)
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
    local Tower parent = Event.getPrecedingTower()
     if parent.getFamily() == parent.getFamily() then
        set tower.userReal = parent.userReal
    else
        set tower.userReal = 0 
    endif   // Total gold, earned by this towers pirates ability 
endfunction

On Tower Details

function onTowerDetails takes Tower tower returns MultiboardValues
    // Show total gold, stolen by this tower pirates ability
    call   natac_pirates_MultiboardValue.setValue(0,R2S(tower.userReal)) 
    return natac_pirates_MultiboardValue
endfunction

Tower Aura

AURA_auraEffect: natac_treasureSeeker_Buff AURA_power: 100 AURA_level: 100 AURA_auraRange: 300 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 5 AURA_powerAdd: 5 AURA_targetSelf: true
Frigate v1
900
ID:
609
Family ID:
Author:
Natac
Rarity:
uncommon
Element:
iron
Attack Type:
Physical
Attack Range:
900
Attack CD:
1.7
Damage:
1345-1345
Status:
Approved

Description:

A small ship with less weapons.
Specials:
Attacks GROUND only
Splash attack:
   25 AoE: 100% damage
   150 AoE: 40% damage
   250 AoE: 10% damage
Pirates
This tower plunders 1.3 gold each attack.
Treasure Seeker - Aura
Increases the bounty gain of towers in 300 range by 10%.

Level Bonus:
+1% bounty
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType         natac_treasureSeeker_Buff
        //@import
        MultiboardValues natac_pirates_MultiboardValue 
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
    endfunction

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
    local real goldGranted = 1.3// The gold, that will be granted to the player on this attack 
    set  tower.userReal  = tower.userReal + goldGranted // Set the statistics
    call tower.getOwner().giveGold(goldGranted, tower.getUnit(), false, true)
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
    local Tower parent = Event.getPrecedingTower()
     if parent.getFamily() == tower.getFamily() then
        set tower.userReal = parent.userReal
    else
        set tower.userReal = 0
    endif   // Total gold, earned by this towers pirates ability
endfunction

On Tower Details

function onTowerDetails takes Tower tower returns MultiboardValues
    // Show total gold, stolen by this tower pirates ability
    call   natac_pirates_MultiboardValue.setValue(0,R2S(tower.userReal)) 
    return natac_pirates_MultiboardValue
endfunction

Tower Aura

AURA_auraEffect: natac_treasureSeeker_Buff AURA_power: 100 AURA_level: 100 AURA_auraRange: 300 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 10 AURA_powerAdd: 10 AURA_targetSelf: true
Battleship v1
1500
ID:
610
Family ID:
Author:
Natac
Rarity:
uncommon
Element:
iron
Attack Type:
Physical
Attack Range:
900
Attack CD:
1.7
Damage:
2342-2342
Status:
Approved

Description:

A big ship for naval battles.
Specials:
Attacks GROUND only
Splash attack:
   25 AoE: 100% damage
   150 AoE: 40% damage
   250 AoE: 10% damage
Pirates
This tower plunders 2.4 gold each attack.
Treasure Seeker - Aura
Increases the bounty gain of towers in 300 range by 15%.

Level Bonus:
+1% bounty
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType         natac_treasureSeeker_Buff
        //@import
        MultiboardValues natac_pirates_MultiboardValue 
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
    endfunction

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
     local real goldGranted = 2.4// The gold, that will be granted to the player on this attack 
    set  tower.userReal  = tower.userReal + goldGranted // Set the statistics
    call tower.getOwner().giveGold(goldGranted, tower.getUnit(), false, true)
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
    local Tower parent = Event.getPrecedingTower()
     if parent.getFamily() == tower.getFamily() then
        set tower.userReal = parent.userReal
    else
        set tower.userReal = 0 
    endif   // Total gold, earned by this towers pirates ability
endfunction

On Tower Details

function onTowerDetails takes Tower tower returns MultiboardValues
    // Show total gold, stolen by this tower pirates ability
    call   natac_pirates_MultiboardValue.setValue(0,R2S(tower.userReal)) 
    return natac_pirates_MultiboardValue
endfunction

Tower Aura

AURA_auraEffect: natac_treasureSeeker_Buff AURA_power: 150 AURA_level: 150 AURA_auraRange: 300 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 10 AURA_powerAdd: 10 AURA_targetSelf: true
Destroyer v1
2400
ID:
611
Family ID:
Author:
Natac
Rarity:
uncommon
Element:
iron
Attack Type:
Physical
Attack Range:
900
Attack CD:
1.7
Damage:
3932-3932
Status:
Approved

Description:

The pride of the navy.
Specials:
Attacks GROUND only
Splash attack:
   25 AoE: 100% damage
   150 AoE: 40% damage
   250 AoE: 10% damage
Pirates
This tower plunders 4 gold each attack.
Treasure Seeker - Aura
Increases the bounty gain of towers in 300 range by 20%.

Level Bonus:
+1% bounty
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType         natac_treasureSeeker_Buff
        //@import
        MultiboardValues natac_pirates_MultiboardValue 
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
    endfunction

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
    local real goldGranted = 4// The gold, that will be granted to the player on this attack 
    set  tower.userReal  = tower.userReal + goldGranted // Set the statistics
    call tower.getOwner().giveGold(goldGranted, tower.getUnit(), false, true)
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
    local Tower parent = Event.getPrecedingTower()
     if parent.getFamily() == tower.getFamily() then
        set tower.userReal = parent.userReal
    else
        set tower.userReal = 0 
    endif   // Total gold, earned by this towers pirates ability
endfunction

On Tower Details

function onTowerDetails takes Tower tower returns MultiboardValues
    // Show total gold, stolen by this tower pirates ability
    call   natac_pirates_MultiboardValue.setValue(0,R2S(tower.userReal)) 
    return natac_pirates_MultiboardValue
endfunction

Tower Aura

AURA_auraEffect: natac_treasureSeeker_Buff AURA_power: 200 AURA_level: 200 AURA_auraRange: 300 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 10 AURA_powerAdd: 10 AURA_targetSelf: true