Enchanted Well v1
2400
ID:
578
Family ID:
Author:
drol
Rarity:
rare
Element:
nature
Attack Type:
Essence
Attack Range:
1000
Attack CD:
1.1
Damage:
1514-1593
Mana:
400
Mana regen:
5
Status:
Approved

Description:

This well contains healing powers.
Specials:
+20% dmg to orcs (+0.8%/lvl)
Replenish
Restores 15% (only half on towers of this family) of each towers maximum mana for towers in 500 range.

Level Bonus:
+0.6% maximum mana

AC_TYPE_ALWAYS_BUFF
 200, 500 range, 5s cooldown
Cleansing Water - Aura
Increases the spell damage dealt by all towers in 200 range by 20%.

Level Bonus:
+0.8% spell damage
Download

Toggle Triggers

Autocast

caster_art: Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl AUTOCAST_cooldown: 5 AUTOCAST_numBuffsBeforeIdle: 0 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_ALWAYS_BUFF AUTOCAST_manacost: 200 AUTOCAST_range: 500 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: true AUTOCAST_targetType: 0 target_art: Abilities\Spells\Items\AIma\AImaTarget.mdl AUTOCAST_autoRange: 500
private function onAutocast takes Tower tower returns nothing
local Iterate towers = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_TOWERS,500)
local Tower u
local real mana
local real currentmana
    
loop  
    set u = towers.next() 
    exitwhen u == 0
    if u != tower then
    set mana = GetUnitState(u.getUnit(), UNIT_STATE_MAX_MANA)
    set currentmana = GetUnitState(u.getUnit(), UNIT_STATE_MANA)
    if u.getFamily() == tower.getFamily() then
    call SetUnitState(u.getUnit(), UNIT_STATE_MANA, currentmana + mana * (0.075 + 0.003*tower.getLevel()))
    else
    call SetUnitState(u.getUnit(), UNIT_STATE_MANA, currentmana + mana * (0.15 + 0.006*tower.getLevel()))
    endif
    endif
endloop
endfunction

Header

    globals
        //@import
        BuffType drol_wellAura
    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

Tower Aura

AURA_auraEffect: drol_wellAura AURA_power: 200 AURA_level: 200 AURA_auraRange: 200 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 8 AURA_powerAdd: 8 AURA_targetSelf: true
Ancient Lightning Totem v1
2400
ID:
606
Family ID:
Author:
Boekie
Rarity:
rare
Element:
storm
Attack Type:
Energy
Attack Range:
800
Attack CD:
0.7
Damage:
1205-1205
Status:
Approved

Description:

This totem uses ancient magic to boost lightning spells.
Ancient Magic - Aura
Increases spell crit chance of towers in 500 range by 20%. 

Level Bonus:
+0.2% spell crit chance
Download

Toggle Triggers

Header

    globals
    //@import 
    BuffType boekie_spellCrit_aura 
    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

Tower Aura

AURA_auraEffect: boekie_spellCrit_aura AURA_power: 100 AURA_level: 100 AURA_auraRange: 500 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 2 AURA_powerAdd: 2 AURA_targetSelf: false
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
Elder Library v1
2400
ID:
621
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
astral
Attack Type:
Energy
Attack Range:
960
Attack CD:
2.6
Damage:
5546-5546
Status:
Approved

Description:

Basic astral tower that strengthens itself by acummulating knowledge from its books.
High Knowledge
Grants 1 experience on attack.
Download

Toggle Triggers

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
    call tower.addExp (1.0)
endfunction
Monolith of the Gathering Storm v1
2400
ID:
643
Family ID:
Author:
drol
Rarity:
common
Element:
storm
Attack Type:
Physical
Attack Range:
1050
Attack CD:
1.5
Damage:
1924-2163
Status:
Approved

Description:

Covered with ancient runes from rituals practiced ages ago.
Specials:
Bounce attack:
   3 targets
   -30% damage per bounce
+10% dmg to air (+1%/lvl)
Download
Giant Tentacle v1
2448
ID:
616
Family ID:
Author:
drol
Rarity:
common
Element:
darkness
Attack Type:
Physical
Attack Range:
850
Attack CD:
1.5
Damage:
2267-3082
Status:
Approved

Description:

Sometimes hits its targets in a weak spot, leaving them rended.
Rend
The tentacle has a 25% chance to rend a target, making it suffer 8% increased spell damage and dealing 960 spell damage per second for 6 seconds. Does not stack.

Level Bonus:
+1% chance
+40 spell damage per second
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType drol_tentacleDot
    endglobals
    
    private function init takes nothing returns nothing
    endfunction

On Damage

ONDAMAGE_chance: 0.25 ONDAMAGE_chanceLevelAdd: 0.01
function onDamage takes Tower tower returns nothing
    set drol_tentacleDot.apply(tower, Event.getTarget(), 6).userReal = 960. + 40. * tower.getLevel()
endfunction
Gold Mine v1
2450
ID:
129
Family ID:
Author:
drol
Rarity:
common
Element:
iron
Attack Type:
Decay
Attack Range:
900
Attack CD:
1.85
Damage:
4391-4693
Status:
Approved

Description:

Sometimes even the most fruitless places still have some treasure left.
Specials:
+20% bounty collected (+0.9%/lvl)
Download