Tentacle Spawn v1
60
|
ID: 169
Family ID:
Author: drol
Rarity: common
Element: darkness
Attack Type: Physical
Attack Range: 850
Attack CD: 1.5
Damage: 65-76
Status: Approved
|
Rend
The tentacle has a 25% chance to rend a target, making it suffer 3% increased spell damage and dealing 20 spell damage per second for 6 seconds. Does not stack. Level Bonus: +1% chance +0.8 spell damage per second |
Download
Toggle Triggers Header globals
//@export
BuffType drol_tentacleDot
endglobals
function drol_tentacleDamage takes Buff b returns nothing
if not b.getBuffedUnit().isImmune() then
call b.getCaster().doSpellDamage(b.getBuffedUnit(), b.userReal, b.getCaster().calcSpellCritNoBonus())
call SFXOnUnit("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodRifleman.mdl", b.getBuffedUnit().getUnit(),"chest")
endif
endfunction
private function init takes nothing returns nothing
local Modifier m = Modifier.create()
call m.addModification( MOD_SPELL_DAMAGE_RECEIVED, 0.02, 0.01 )
set drol_tentacleDot = BuffType.create( 6., 0, false)
call drol_tentacleDot.setBuffIcon('@@0@@')
call drol_tentacleDot.addPeriodicEvent(EventHandler.drol_tentacleDamage,1)
call drol_tentacleDot.setBuffModifier(m)
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(), 1).userReal = 20. + 0.8 * tower.getLevel()
endfunction
|
Small Light v1
65
|
ID: 80
Family ID:
Author: SternBogen
Rarity: uncommon
Element: astral
Attack Type: Energy
Attack Range: 850
Attack CD: 1
Damage: 53-59
Status: Approved
|
Description: A strong tower against the undead. Can see nearby invisible units.
Magical Sight:
Can see invisible enemy units in 650 range.
Power of Light
The mighty holy light weakens enemy undead creeps for 3 seconds, so they will receive 5% more damage from physical and spell attacks. Level Bonus: +0.12 seconds +0.2% damage |
Download
Toggle Triggers Header globals
//@export
BuffType sternbogen_holy_Buff
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 light_mod = Modifier.create()
set sternbogen_holy_Buff = BuffType.create(3,0.012,false)
call light_mod.addModification(MOD_SPELL_DAMAGE_RECEIVED, 0.0 , 0.001 )
call light_mod.addModification(MOD_ATK_DAMAGE_RECEIVED, 0.0 , 0.001 )
call sternbogen_holy_Buff.setBuffModifier(light_mod)
call sternbogen_holy_Buff.setBuffIcon('@@1@@')
endfunction
On Damage
ONDAMAGE_chance: 1.0
ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
local Unit creep = Event.getTarget()
// 0.001 Basic Bonus
local integer bufflevel = 50 + 2 * tower.getLevel()
if (CATEGORY_UNDEAD == creep.getCategory()) then
call sternbogen_holy_Buff.apply(tower,Event.getTarget(),bufflevel)
endif
endfunction
|
Thief Apprentice v1
65
|
ID: 108
Family ID:
Author: i_mOck_death
Rarity: uncommon
Element: darkness
Attack Type: Physical
Attack Range: 800
Attack CD: 1.5
Damage: 103-103
Status: Approved
|
Description: Trained in the shadows, the thief is an expert in finding gold.
Specials:
-10% dmg to undead (+0.4%/lvl) +0.5% bounty collected/lvl +5% item chance (+0.2%/lvl) +5% item quality (+0.2%/lvl)
Steal
Every time the thief damages a creep there is a 10% chance he steals 0.3 gold. Level Bonus: +0.012 gold +0.4% chance |
Download
Toggle Triggers Header globals
//@export
ProjectileType mOck_steal
//@export
MultiboardValues mOck_thief_multiboard
endglobals
function steal takes Projectile p,Unit creep returns nothing
local Tower tower= p.getCaster()
local real goldGranted = (tower.userInt+(tower.getLevel()*tower.userInt*.04))/10
call tower.getOwner().giveGold(goldGranted,tower.getUnit(),false,true)
set tower.userReal = tower.userReal + goldGranted
endfunction
//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
set mOck_steal = ProjectileType.createInterpolate("Abilities\\Weapons\\WardenMissile\\WardenMissile.mdl",1000)
call mOck_steal.setEventOnInterpolationFinished(ProjectileTargetEvent.steal)
set mOck_thief_multiboard = MultiboardValues.create(1)
call mOck_thief_multiboard.setKey(0,"Gold Stolen")
endfunction
On Damage
ONDAMAGE_chance: .1
ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
call Projectile.createLinearInterpolationFromUnitToUnit(mOck_steal,tower,0,0,Event.getTarget(),tower,0,true)
endfunction
On Tower Creation function onCreate takes Tower tower returns nothing
set tower.userReal = 0.0
set tower.userInt = 3
call AddUnitAnimationProperties(tower.getUnit(), "stand alternate", false)
endfunction
On Tower Details function onTowerDetails takes Tower tower returns MultiboardValues
call mOck_thief_multiboard.setValue(0,I2S(R2I(tower.userReal)))
return mOck_thief_multiboard
endfunction
|
Lesser Flamy Defender v1
65
|
ID: 482
Family ID:
Author: Natac
Rarity: common
Element: fire
Attack Type: Elemental
Attack Range: 700
Attack CD: 1.5
Damage: 111-124
Status: Approved
|
Description: Common elementar defender. |
Download
|
Lesser Dark Defender v1
65
|
ID: 487
Family ID:
Author: Natac
Rarity: common
Element: darkness
Attack Type: Decay
Attack Range: 825
Attack CD: 1.1
Damage: 68-76
Status: Approved
|
Description: Common elementar defender. |
Download
|
Lesser Storm Defender v1
65
|
ID: 496
Family ID:
Author: Natac
Rarity: common
Element: storm
Attack Type: Energy
Attack Range: 950
Attack CD: 0.8
Damage: 31-60
Status: Approved
|
Description: Common elementar defender. |
Download
|
Lesser Natural Defender v1
65
|
ID: 498
Family ID:
Author: Natac
Rarity: common
Element: nature
Attack Type: Essence
Attack Range: 875
Attack CD: 1.3
Damage: 75-94
Status: Approved
|
Description: Common elementar defender. |
Download
|
Description: