Closed darklordabc closed 8 years ago
Should be done! 👍
I'll test this out asap
I just tried this, and after giving the creep 6 abilities, I cast it a few more times, and abilities got upgraded, but then I cast it and the game hanged and froze.
Damn must have missed that somehow but it kept looking for an ability to upgrade when there wasn't
I got this error message when trying to convert the second creep [ Developer ]: ...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:81: 'for' initial value must be a number [ Developer ]: stack traceback: [ Developer ]: ...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:81: in function <...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:36> [ W VScript ]: Script Runtime Error: ...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:81: 'for' initial value must be a number [ W VScript ]: stack traceback: [ W VScript ]: ...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:81: in function <...scripts\abilities\hero_perks\npc_dota_hero_chen_perk.lua:36>
It said for i = i, how does something like that not give error messages earlier... Used this on entire creepcamps, but it's fixed now.
Below are the current abilities that Chen can give to creeps. More will be probaly be added later, so its a good idea not to hard-code specific abilities for creep types.
Passives: "enchantress_untouchable", "faceless_void_time_lock", "huskar_berserkers_blood", "kunkka_tidebringer", "life_stealer_feast", "luna_lunar_blessing", "luna_moon_glaive", "lycan_feral_impulse", "meepo_geostrike", "necrolyte_heartstopper_aura", "necrolyte_sadist", "nevermore_dark_lord", "night_stalker_hunter_in_the_night", "omniknight_degen_aura", "phantom_assassin_coup_de_grace", "razor_unstable_current", "shredder_reactive_armor", "skeleton_king_vampiric_aura", "slardar_bash", "slark_essence_shift", "slark_shadow_dance", "sniper_headshot", "sniper_take_aim", "spectre_dispersion", "spirit_breaker_greater_bash", "sven_great_cleave", "tiny_craggy_exterior", "troll_warlord_fervor", "ursa_fury_swipes", "vengefulspirit_command_aura", "viper_corrosive_skin", "viper_nethertoxin", "weaver_geminate_attack", "riki_permanent_invisibility", "beastmaster_boar_poison", "beastmaster_greater_boar_poison", "lone_druid_spirit_bear_entangle", "warlock_golem_flaming_fists", "warlock_golem_permanent_immolation_lod", "imba_dazzle_shallow_grave", "holdout_arcane_aura",
Actives: "ursa_enrage", "visage_summon_familiars_stone_form", "roshan_slam",
Actives that require mana: "techies_suicide", "furion_teleportation", "alchemist_chemical_rage", "spirit_breaker_charge_of_darkness",