Ruined Wind Tower v1
400
|
ID: 156
Family ID:
Author: SirCoqaLot.
Rarity: uncommon
Element: storm
Attack Type: Physical
Attack Range: 1000
Attack CD: 2.8
Damage: 1343-1393
Abil. Factor: 1.1
Status: Approved
|
Rejection
This tower drops all except Common items on attack.
|
Download
Toggle Triggers On Attack
ONATTACK_chance: 1.0
ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
local Item itm
local integer i = 1
loop
exitwhen i > 6
set itm = tower.getHeldItem(i)
if itm != 0 and itm.getRarity() != Rarity.COMMON then
call itm.drop()
endif
set i = i + 1
endloop
endfunction
|
Description:
Latest Upload Comment: