darklordabc / Legends-of-Dota-Redux

A Custom Game for Dota 2
http://steamcommunity.com/sharedfiles/filedetails/?id=786348190
52 stars 35 forks source link

Slark Perk Script Error #1514

Closed darklordabc closed 6 years ago

darklordabc commented 6 years ago

Seems to only happen when damaging something. Also Slark gets a free ability which can be leveled to max level, different from the other perks.

    ...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:40: in function <...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:38>
...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:40: attempt to index field 'inflictor' (a nil value)
stack traceback:
    ...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:40: in function <...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:38>
Script Runtime Error: ...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:40: attempt to index field 'inflictor' (a nil value)
stack traceback:
    ...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:40: in function <...cripts\abilities\hero_perks\npc_dota_hero_slark_perk.lua:38>
Message count limit of 10 hit. Subsequent duplicate messages will be squelched.
Wouterz90 commented 6 years ago

Fixed