示例#1
0
 public void LoadSpecialSpell(SpellData spellData)
 {
     if (spellData.spellName == "LuxMaliceCannon")
     {
         var hero = HeroManager.AllHeroes.FirstOrDefault(h => h.ChampionName == "Lux");
         if (hero != null && hero.CheckTeam())
         {
             ObjectTracker.HuiTrackerForceLoad();
             GameObject.OnCreate += (obj, args) => OnCreateObj_LuxMaliceCannon(obj, args, hero, spellData);
         }
     }
 }