Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => The search never ends.
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfValor.blp
[abilList] => Array
(
)
[Name] => Truthseeker
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 900
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Drop
[code] => call itm.getCarrier().modifyProperty(MOD_ITEM_CHANCE_ON_KILL, -itm.userReal)
call itm.getCarrier().modifyProperty(MOD_ITEM_QUALITY_ON_KILL, -itm.userReal)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[1] => Array
(
[name] => On Item Creation
[code] => set itm.userReal = 0
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[2] => Array
(
[name] => On Attack
[code] => local Tower tower = itm.getCarrier()
local real change = 0.01 * tower.getBaseAttackspeed()
if itm.userReal + change > 0.5 then
call itm.getCarrier().modifyProperty(MOD_ITEM_CHANCE_ON_KILL, 0.5 - itm.userReal)
call itm.getCarrier().modifyProperty(MOD_ITEM_QUALITY_ON_KILL, 0.5 - itm.userReal)
set itm.userReal = 0.5
elseif itm.userReal < 0.5 then
call itm.getCarrier().modifyProperty(MOD_ITEM_CHANCE_ON_KILL, change)
call itm.getCarrier().modifyProperty(MOD_ITEM_QUALITY_ON_KILL, change)
set itm.userReal = itm.userReal + change
endif
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[3] => Array
(
[name] => Header
[code] => globals
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
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[4] => Array
(
[name] => On Kill
[code] => call itm.getCarrier().modifyProperty(MOD_ITEM_CHANCE_ON_KILL, -itm.userReal)
call itm.getCarrier().modifyProperty(MOD_ITEM_QUALITY_ON_KILL, -itm.userReal)
set itm.userReal = 0
[values] => Array
(
[explain] => Each attack increases item chance and item quality by |cffFFFF801%|r, adjusted by base attack speed, up to a maximum of |cffFFFF8050%|r. This bonus resets upon killing an enemy and is bound to the item.
[visible] => true
[goldcost] => 900
[name] => Seeking
)
)
[5] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty(MOD_ITEM_CHANCE_ON_KILL, itm.userReal)
call itm.getCarrier().modifyProperty(MOD_ITEM_QUALITY_ON_KILL, itm.userReal)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)