// Use this for initialization void Start() { _anger = GameObject.Find("Anger"); currentImage = GetComponent <Image>(); anger = _anger.GetComponent <Anger>(); magicalNumber = anger._hpMax / 18; }
public override int GetHashCode() { return(Anger.GetHashCode() ^ Disgust.GetHashCode() ^ Fear.GetHashCode() ^ Happiness.GetHashCode() ^ Neutral.GetHashCode() ^ Sadness.GetHashCode() ^ Surprise.GetHashCode()); }
void Start() { shake = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraShake>(); anger = GameObject.FindGameObjectWithTag("Boss3").GetComponent <Anger>(); gm = GameObject.FindGameObjectWithTag("GM").GetComponent <GameMaster>(); if (targets == null) { targets = GameObject.FindGameObjectsWithTag("Player"); } }
protected bool Equals(EmotionScores other) { return(Anger.Equals(other.Anger) && Contempt.Equals(other.Contempt) && Disgust.Equals(other.Disgust) && Fear.Equals(other.Fear) && Happiness.Equals(other.Happiness) && Neutral.Equals(other.Neutral) && Sadness.Equals(other.Sadness) && Surprise.Equals(other.Surprise)); }
private void OnCollisionEnter2D(Collision2D collision) { _player = collision.gameObject.GetComponent <PlayerStats>(); _anger = collision.gameObject.GetComponent <Anger>(); if (collision.gameObject.layer == 9) { _player.Damage(50); _player._canRegen = false; _anger.Damage(50); _anger._canRegen = false; } }
private void OnCollisionEnter2D(Collision2D collision) { _tree = collision.gameObject.GetComponent <Treead>(); _golire = collision.gameObject.GetComponent <Golire>(); _anger = collision.gameObject.GetComponent <Anger>(); _breeze = collision.gameObject.GetComponent <Breeze>(); if (collision.gameObject.layer == 13 || collision.gameObject.layer == 14) { if (collision.gameObject.name == "Treead" || collision.gameObject.name == "Treead(Clone)") { if (this.transform.position.x > _tree.transform.position.x) { _tree.transform.Translate(new Vector2(-2, 0)); } if (this.transform.position.x < _tree.transform.position.x) { _tree.transform.Translate(new Vector2(2, 0)); } _tree._burnTime = 0f; } if (collision.gameObject.name == "Golire" || collision.gameObject.name == "Golire(Clone)") { Debug.Log("You'r not burning anymore!"); _golire.extinguished = true; } if (collision.gameObject.name == "Breeze" || collision.gameObject.name == "Breeze(Clone)") { _breeze.Damage(30); } } if (collision.gameObject.layer == 14) { if (collision.gameObject.name == "Anger") { _anger.Damage(30); _anger._canRegen = false; } } if (collision.gameObject.layer == 12) { Destroy(collision.gameObject); } Destroy(this.gameObject); _windParticle.Play(); _windParticle.transform.parent = null; Destroy(_windParticle, 3.0f); }
private void OnCollisionEnter2D(Collision2D collision) { _tree = collision.gameObject.GetComponent <Treead>(); _golire = collision.gameObject.GetComponent <Golire>(); _breeze = collision.gameObject.GetComponent <Breeze>(); _anger = collision.gameObject.GetComponent <Anger>(); _player = collision.gameObject.GetComponent <PlayerStats>(); _shaker = collision.gameObject.GetComponent <Shake>(); if (collision.gameObject.layer == 13 || collision.gameObject.layer == 14) { if (collision.gameObject.name == "Treead" || collision.gameObject.name == "Treead(Clone)") { _tree.Damage(50); _tree._burnTime = 4f; _tree.afterBurn(); } if (collision.gameObject.name == "Golire" || collision.gameObject.name == "Golire(Clone)") { Debug.Log("Burn again!"); _golire.extinguished = false; } if (collision.gameObject.name == "Breeze" || collision.gameObject.name == "Breeze(Clone)") { _breeze.Damage(50); } } if (collision.gameObject.layer == 14) { if (collision.gameObject.name == "Anger") { _anger.Damage(50); _anger._canRegen = false; } } if (collision.gameObject.layer == 9) { _player.Damage(50); _player._canRegen = false; //_anger.Damage(50); //_anger._canRegen = false; Shake.canShake = true; } Destroy(this.gameObject); _fireParticle.Play(); _fireParticle.transform.parent = null; Destroy(_fireParticle, 2.0f); }
public override int GetHashCode() { unchecked { var hashCode = Anger.GetHashCode(); hashCode = (hashCode * 397) ^ Contempt.GetHashCode(); hashCode = (hashCode * 397) ^ Disgust.GetHashCode(); hashCode = (hashCode * 397) ^ Fear.GetHashCode(); hashCode = (hashCode * 397) ^ Happiness.GetHashCode(); hashCode = (hashCode * 397) ^ Neutral.GetHashCode(); hashCode = (hashCode * 397) ^ Sadness.GetHashCode(); hashCode = (hashCode * 397) ^ Surprise.GetHashCode(); return(hashCode); } }
public async Task fear(IDialogContext context, LuisResult result) { Amigo_Luis face = new Amigo_Luis(); var path = Path.Combine(@"C:\Users\DELL\Documents\Amigo-master\Amigo- The Chat Bot\Data\fear.txt"); Random r = new Random(); Anger fearQuotes = JsonConvert.DeserializeObject <Anger>(System.IO.File.ReadAllText(path)); int num = r.Next(0, fearQuotes.quotes.Count); if (num < fearQuotes.quotes.Count && num > -1) { await context.PostAsync(fearQuotes.quotes[num].description); context.Wait(MessageReceived); } }
private void OnCollisionStay2D(Collision2D collision) { _tree = collision.gameObject.GetComponent <Treead>(); _golire = collision.gameObject.GetComponent <Golire>(); _anger = collision.gameObject.GetComponent <Anger>(); _breeze = collision.gameObject.GetComponent <Breeze>(); if (collision.gameObject.layer == 13) { if (collision.gameObject.name == "Treead") { _tree.Damage(10 * Time.deltaTime); } if (collision.gameObject.name == "Golire") { Debug.Log("Burn again!"); _golire.extinguished = false; } if (collision.gameObject.name == "Breeze") { _breeze.Damage(10 * Time.deltaTime); } } if (collision.gameObject.layer == 14) { if (collision.gameObject.name == "Anger") { _anger.Damage(10 * Time.deltaTime); _anger._canRegen = false; } } if (collision.gameObject.layer == 8) { Destroy(this.gameObject); } }
void OnTriggerEnter2D(Collider2D col) { if (col.gameObject.tag == "Anger") { anger = col.gameObject.GetComponent <Anger> (); temp = anger.health; anger.health = temp - 1; if (gameObject.GetComponent <Rigidbody2D>().velocity.x > 0f) { anger.dir = 1; } else { anger.dir = -1; } } if (col.gameObject.layer != 11) { Destroy(gameObject); GameObject temp = (GameObject)Instantiate(explosion, transform.position, Quaternion.identity); temp.SendMessage("getDirection", transform.localScale.x); } }
public async Task anger(IDialogContext context, LuisResult result) { Amigo_Luis face = new Amigo_Luis(); await context.PostAsync("You sound angry \U0001F620!!!"); await Task.Delay(1000); await context.PostAsync("Try this technique to cool off"); await Task.Delay(1000); /* * string[] arr = new string[20]; * arr[0] = "Count 1-20 numbers..."+Environment.NewLine +Environment.NewLine+ "it cools you down to some extent"; * arr[1] = "count 1-20 in reverse order..."+Environment.NewLine+Environment.NewLine+ "try it out without mistakes dude!!"; * arr[2] = "Try to do meditation"; * arr[3] = "Listen your favourite music" + Environment.NewLine + Environment.NewLine + "when music hits you, you feel no pain"; * arr[4] = "Inhale and exhale until you clam down"+Environment.NewLine+Environment.NewLine+ "As you exhale, repeat a phrase that helps you relax."; * arr[5] = "Try to sleep"; * arr[6] = "Cool Off with Exercise"+Environment.NewLine+Environment.NewLine+ "Test various workouts and figure out which are most effective at calming your anger."; * arr[7] = "Think of a pleasant memory"; * arr[8] = "Read a book"; * arr[9] = "Find your happy place"; */ Random ra = new Random(); var path = Path.Combine(@"C:\Users\sai vaishnavi\Documents\Visual Studio 2017\Projects\Amigo\Amigo- The Chat Bot\Amigo- The Chat Bot\Data\Anger.txt"); Anger angerQuotes = JsonConvert.DeserializeObject <Anger>(System.IO.File.ReadAllText(path)); int n = ra.Next(0, angerQuotes.quotes.Count); while (n < angerQuotes.quotes.Count && n > -1) { await context.PostAsync(angerQuotes.quotes[n].description); context.Wait(MessageReceived); break; } }
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { a = animator.gameObject.GetComponent <Anger> (); }
public async Task sad(IDialogContext context, LuisResult result) { Amigo_Luis face = new Amigo_Luis(); await context.PostAsync("You sound low"); await Task.Delay(2000); await context.PostAsync("This may cheer you mood"); await Task.Delay(2000); Random r = new Random(); int option = r.Next(0, 2); if (option == 0) { var path = Path.Combine(@"C:\Users\DELL\Documents\Amigo-master\Amigo- The Chat Bot\Data\JokesWithImages.txt"); Jokes my_jokes = JsonConvert.DeserializeObject <Jokes>(System.IO.File.ReadAllText(path)); int num = r.Next(0, my_jokes.jokes.Count); if (num < my_jokes.jokes.Count && num > -1) { var reply = context.MakeMessage(); reply.AttachmentLayout = AttachmentLayoutTypes.Carousel; reply.Attachments = GetHeroCard(my_jokes.jokes[num].title, my_jokes.jokes[num].subtitle, my_jokes.jokes[num].description.Replace("\n\n", " " + Environment.NewLine + Environment.NewLine + " "), new CardImage(url: my_jokes.jokes[num].urlToImage), new CardAction(null, "", null)); // new CardAction(ActionTypes.OpenUrl, "Learn more", value: jokes[num].url)); await context.PostAsync(reply); context.Wait(MessageReceived); } } else if (option == 1) { var path = Path.Combine(@"C:\Users\DELL\Documents\Amigo-master\Amigo- The Chat Bot\Data\JokesWithoutImages.txt"); Anger jokes = JsonConvert.DeserializeObject <Anger>(System.IO.File.ReadAllText(path)); int n = r.Next(0, jokes.quotes.Count); while (n < jokes.quotes.Count && n > -1) { await context.PostAsync(jokes.quotes[n].description); context.Wait(MessageReceived); break; } } else if (option == 2) { var path = Path.Combine(@"C:\Users\DELL\Documents\Amigo-master\Amigo- The Chat Bot\Data\ImagesJokes.txt"); Images imageUrls = JsonConvert.DeserializeObject <Images>(System.IO.File.ReadAllText(path)); int num = r.Next(0, imageUrls.imageQuotes.Count); if (num < imageUrls.imageQuotes.Count && num > -1) { var reply = context.MakeMessage(); reply.AttachmentLayout = AttachmentLayoutTypes.Carousel; reply.Attachments = GetAnimationCard(imageUrls.imageQuotes[num].title, imageUrls.imageQuotes[num].title, new CardImage(url: imageUrls.imageQuotes[num].url)); await context.PostAsync(reply); context.Wait(MessageReceived); } } }
public override void Load() { AbnormalEffect effect = 0; AbnormalItem item = new PithyProfessional(effect); AddItem("UnusualPithyProfessional", item); AddEquipTexture(item, EquipType.Head, "UnusualPithyProfessional_Head", "Highlander/Items/Armor/PithyProfessional_Head"); item = new LegendaryLid(effect); AddItem("UnusualLegendaryLid", item); AddEquipTexture(item, EquipType.Head, "UnusualLegendaryLid_Head", "Highlander/Items/Armor/LegendaryLid_Head"); item = new BrassBucket(effect); AddItem("UnusualBrassBucket", item); AddEquipTexture(item, EquipType.Head, "UnusualBrassBucket_Head", "Highlander/Items/Armor/BrassBucket_Head"); item = new TeamCaptain(effect); AddItem("UnusualTeamCaptain", item); AddEquipTexture(item, EquipType.Head, "UnusualTeamCaptain_Head", "Highlander/Items/Armor/TeamCaptain_Head"); item = new StainlessPot(effect); AddItem("UnusualStainlessPot", item); AddEquipTexture(item, EquipType.Head, "UnusualStainlessPot_Head", "Highlander/Items/Armor/StainlessPot_Head"); item = new Hotrod(effect); AddItem("UnusualHotrod", item); AddEquipTexture(item, EquipType.Head, "UnusualHotrod_Head", "Highlander/Items/Armor/Hotrod_Head"); item = new StoutShako(effect); AddItem("UnusualStoutShako", item); AddEquipTexture(item, EquipType.Head, "UnusualStoutShako_Head", "Highlander/Items/Armor/StoutShako_Head"); item = new SamurEye(effect); AddItem("UnusualSamurEye", item); AddEquipTexture(item, EquipType.Head, "UnusualSamurEye_Head", "Highlander/Items/Armor/SamurEye_Head"); item = new OlSnaggletooth(effect); AddItem("UnusualOlSnaggletooth", item); AddEquipTexture(item, EquipType.Head, "UnusualOlSnaggletooth_Head", "Highlander/Items/Armor/OlSnaggletooth_Head"); item = new PyromancerMask(effect); AddItem("UnusualPyromancerMask", item); AddEquipTexture(item, EquipType.Head, "UnusualPyromancerMask_Head", "Highlander/Items/Armor/PyromancerMask_Head"); item = new HongKongCone(effect); AddItem("UnusualHongKongCone", item); AddEquipTexture(item, EquipType.Head, "UnusualHongKongCone_Head", "Highlander/Items/Armor/HongKongCone_Head"); item = new KillerExclusive(effect); AddItem("UnusualKillerExclusive", item); AddEquipTexture(item, EquipType.Head, "UnusualKillerExclusive_Head", "Highlander/Items/Armor/KillerExclusive_Head"); item = new TartanTyrolean(effect); AddItem("UnusualTartanTyrolean", item); AddEquipTexture(item, EquipType.Head, "UnusualTartanTyrolean_Head", "Highlander/Items/Armor/TartanTyrolean_Head"); item = new ColdfrontCommander(effect); AddItem("UnusualColdfrontCommander", item); AddEquipTexture(item, EquipType.Head, "UnusualColdfrontCommander_Head", "Highlander/Items/Armor/ColdfrontCommander_Head"); item = new SinnerShade(effect); AddItem("UnusualSinnerShade", item); AddEquipTexture(item, EquipType.Head, "UnusualSinnerShade_Head", "Highlander/Items/Armor/SinnerShade_Head"); item = new MightyMitre(effect); AddItem("UnusualMightyMitre", item); AddEquipTexture(item, EquipType.Head, "UnusualMightyMitre_Head", "Highlander/Items/Armor/MightyMitre_Head"); item = new CondorCap(effect); AddItem("UnusualCondorCap", item); AddEquipTexture(item, EquipType.Head, "UnusualCondorCap_Head", "Highlander/Items/Armor/CondorCap_Head"); item = new SurgeonShako(effect); AddItem("UnusualSurgeonShako", item); AddEquipTexture(item, EquipType.Head, "UnusualSurgeonShako_Head", "Highlander/Items/Armor/SurgeonShako_Head"); item = new ToySoldier(effect); AddItem("UnusualToySoldier", item); AddEquipTexture(item, EquipType.Head, "UnusualToySoldier_Head", "Highlander/Items/Armor/ToySoldier_Head"); item = new PatriotPeak(effect); AddItem("UnusualPatriotPeak", item); AddEquipTexture(item, EquipType.Head, "UnusualPatriotPeak_Head", "Highlander/Items/Armor/PatriotPeak_Head"); item = new Globetrotter(effect); AddItem("UnusualGlobetrotter", item); AddEquipTexture(item, EquipType.Head, "UnusualGlobetrotter_Head", "Highlander/Items/Armor/Globetrotter_Head"); item = new Anger(effect); AddItem("UnusualAnger", item); AddEquipTexture(item, EquipType.Head, "UnusualAnger_Head", "Highlander/Items/Armor/Anger_Head"); // Series 2 item = new DeadCone(effect); AddItem("UnusualDeadCone", item); AddEquipTexture(item, EquipType.Head, "UnusualDeadCone_Head", "Highlander/Items/Armor/Series2/DeadCone_Head"); item = new FruitShoot(effect); AddItem("UnusualFruitShoot", item); AddEquipTexture(item, EquipType.Head, "UnusualFruitShoot_Head", "Highlander/Items/Armor/Series2/FruitShoot_Head"); item = new FuriousFukaamigasa(effect); AddItem("UnusualFuriousFukaamigasa", item); AddEquipTexture(item, EquipType.Head, "UnusualFuriousFukaamigasa_Head", "Highlander/Items/Armor/Series2/FuriousFukaamigasa_Head"); item = new HeroHachimaki(effect); AddItem("UnusualHeroHachimaki", item); AddEquipTexture(item, EquipType.Head, "UnusualHeroHachimaki_Head", "Highlander/Items/Armor/Series2/HeroHachimaki_Head"); item = new HotDogger(effect); AddItem("UnusualHotDogger", item); AddEquipTexture(item, EquipType.Head, "UnusualHotDogger_Head", "Highlander/Items/Armor/Series2/HotDogger_Head"); item = new JanissaryKetche(effect); AddItem("UnusualJanissaryKetche", item); AddEquipTexture(item, EquipType.Head, "UnusualJanissaryKetche_Head", "Highlander/Items/Armor/Series2/JanissaryKetche_Head"); item = new Law(effect); AddItem("UnusualLaw", item); AddEquipTexture(item, EquipType.Head, "UnusualLaw_Head", "Highlander/Items/Armor/Series2/Law_Head"); item = new MediMask(effect); AddItem("UnusualMediMask", item); AddEquipTexture(item, EquipType.Head, "UnusualMediMask_Head", "Highlander/Items/Armor/Series2/MediMask_Head"); item = new SurgeonStahlhelm(effect); AddItem("UnusualSurgeonStahlhelm", item); AddEquipTexture(item, EquipType.Head, "UnusualSurgeonStahlhelm_Head", "Highlander/Items/Armor/Series2/SurgeonStahlhelm_Head"); item = new ToughStuffMuffs(effect); AddItem("UnusualToughStuffMuffs", item); AddEquipTexture(item, EquipType.Head, "UnusualToughStuffMuffs_Head", "Highlander/Items/Armor/Series2/ToughStuffMuffs_Head"); // Halloween Hats item = new CroneDome(effect); AddItem("UnusualCroneDome", item); AddEquipTexture(item, EquipType.Head, "UnusualCroneDome_Head", "Highlander/Items/Armor/Halloween/CroneDome_Head"); item = new Executioner(effect); AddItem("UnusualExecutioner", item); AddEquipTexture(item, EquipType.Head, "UnusualExecutioner_Head", "Highlander/Items/Armor/Halloween/Executioner_Head"); item = new Hellmet(effect); AddItem("UnusualHellmet", item); AddEquipTexture(item, EquipType.Head, "UnusualHellmet_Head", "Highlander/Items/Armor/Halloween/Hellmet_Head"); item = new InfernalImpaler(effect); AddItem("UnusualInfernalImpaler", item); AddEquipTexture(item, EquipType.Head, "UnusualInfernalImpaler_Head", "Highlander/Items/Armor/Halloween/InfernalImpaler_Head"); item = new MacabreMask(effect); AddItem("UnusualMacabreMask", item); AddEquipTexture(item, EquipType.Head, "UnusualMacabreMask_Head", "Highlander/Items/Armor/Halloween/MacabreMask_Head"); item = new OneWayTicket(effect); AddItem("UnusualOneWayTicket", item); AddEquipTexture(item, EquipType.Head, "UnusualOneWayTicket_Head", "Highlander/Items/Armor/Halloween/OneWayTicket_Head"); item = new SearedSorcerer(effect); AddItem("UnusualSearedSorcerer", item); AddEquipTexture(item, EquipType.Head, "UnusualSearedSorcerer_Head", "Highlander/Items/Armor/Halloween/SearedSorcerer_Head"); item = new SirPumpkinton(effect); AddItem("UnusualSirPumpkinton", item); AddEquipTexture(item, EquipType.Head, "UnusualSirPumpkinton_Head", "Highlander/Items/Armor/Halloween/SirPumpkinton_Head"); // OG Hats item = new PaperBag(effect); AddItem("UnusualPaperBag", item); AddEquipTexture(item, EquipType.Head, "UnusualPaperBag_Head", "Highlander/Items/Armor/PaperBag_Head"); item = new OpenMind(effect); AddItem("UnusualOpenMind", item); AddEquipTexture(item, EquipType.Head, "UnusualOpenMind_Head", "Highlander/Items/Armor/OpenMind_Head"); item = new Headless(effect); AddItem("UnusualHeadless", item); AddEquipTexture(item, EquipType.Head, "UnusualHeadless_Head", "Highlander/Items/Armor/Headless_Head"); item = new GuerrillaRebel(effect); AddItem("UnusualGuerrillaRebel", item); AddEquipTexture(item, EquipType.Head, "UnusualGuerrillaRebel_Head", "Highlander/Items/Armor/GuerrillaRebel_Head"); item = new SkiMask(effect); AddItem("UnusualSkiMask", item); AddEquipTexture(item, EquipType.Head, "UnusualSkiMask_Head", "Highlander/Items/Armor/SkiMask_Head"); item = new ImpregnableHelm(effect); AddItem("UnusualImpregnableHelm", item); AddEquipTexture(item, EquipType.Head, "UnusualImpregnableHelm_Head", "Highlander/Items/Armor/ImpregnableHelm_Head"); item = new NinjaHeadband(effect); AddItem("UnusualNinjaHeadband", item); AddEquipTexture(item, EquipType.Head, "UnusualNinjaHeadband_Head", "Highlander/Items/Armor/NinjaHeadband_Head"); item = new AutonomousOrb(effect); AddItem("UnusualAutonomousOrb", item); AddEquipTexture(item, EquipType.Head, "UnusualAutonomousOrb_Head", "Highlander/Items/Armor/AutonomousOrb_Head"); item = new MedicalMask(effect); AddItem("UnusualMedicalMask", item); AddEquipTexture(item, EquipType.Head, "UnusualMedicalMask_Head", "Highlander/Items/Armor/MedicalMask_Head"); item = new BloodWarriorMask(effect); AddItem("UnusualBloodWarriorMask", item); AddEquipTexture(item, EquipType.Head, "UnusualBloodWarriorMask_Head", "Highlander/Items/Armor/BloodWarriorMask_Head"); /**for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * PithyProfessional item = new PithyProfessional(effect); * AddItem(effect + "PithyProfessional", item); * AddEquipTexture(item, EquipType.Head, "PithyProfessional" + effect + "_Head", "Highlander/Items/Armor/PithyProfessional_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * LegendaryLid item = new LegendaryLid(effect); * AddItem(effect + "LegendaryLid", item); * AddEquipTexture(item, EquipType.Head, "LegendaryLid" + effect + "_Head", "Highlander/Items/Armor/LegendaryLid_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * BrassBucket item = new BrassBucket(effect); * AddItem(effect + "BrassBucket", item); * AddEquipTexture(item, EquipType.Head, "BrassBucket" + effect + "_Head", "Highlander/Items/Armor/BrassBucket_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * TeamCaptain item = new TeamCaptain(effect); * AddItem(effect + "TeamCaptain", item); * AddEquipTexture(item, EquipType.Head, "TeamCaptain" + effect + "_Head", "Highlander/Items/Armor/TeamCaptain_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * StainlessPot item = new StainlessPot(effect); * AddItem(effect + "StainlessPot", item); * AddEquipTexture(item, EquipType.Head, "StainlessPot" + effect + "_Head", "Highlander/Items/Armor/StainlessPot_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * Hotrod item = new Hotrod(effect); * AddItem(effect + "Hotrod", item); * AddEquipTexture(item, EquipType.Head, "Hotrod" + effect + "_Head", "Highlander/Items/Armor/Hotrod_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * StoutShako item = new StoutShako(effect); * AddItem(effect + "StoutShako", item); * AddEquipTexture(item, EquipType.Head, "StoutShako" + effect + "_Head", "Highlander/Items/Armor/StoutShako_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * SamurEye item = new SamurEye(effect); * AddItem(effect + "SamurEye", item); * AddEquipTexture(item, EquipType.Head, "SamurEye" + effect + "_Head", "Highlander/Items/Armor/SamurEye_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * OlSnaggletooth item = new OlSnaggletooth(effect); * AddItem(effect + "OlSnaggletooth", item); * AddEquipTexture(item, EquipType.Head, "OlSnaggletooth" + effect + "_Head", "Highlander/Items/Armor/OlSnaggletooth_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * PyromancerMask item = new PyromancerMask(effect); * AddItem(effect + "PyromancerMask", item); * AddEquipTexture(item, EquipType.Head, "PyromancerMask" + effect + "_Head", "Highlander/Items/Armor/PyromancerMask_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * HongKongCone item = new HongKongCone(effect); * AddItem(effect + "HongKongCone", item); * AddEquipTexture(item, EquipType.Head, "HongKongCone" + effect + "_Head", "Highlander/Items/Armor/HongKongCone_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * KillerExclusive item = new KillerExclusive(effect); * AddItem(effect + "KillerExclusive", item); * AddEquipTexture(item, EquipType.Head, "KillerExclusive" + effect + "_Head", "Highlander/Items/Armor/KillerExclusive_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * BombBeanie item = new BombBeanie(effect); * AddItem(effect + "BombBeanie", item); * AddEquipTexture(item, EquipType.Head, "BombBeanie" + effect + "_Head", "Highlander/Items/Armor/BombBeanie_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * TartanTyrolean item = new TartanTyrolean(effect); * AddItem(effect + "TartanTyrolean", item); * AddEquipTexture(item, EquipType.Head, "TartanTyrolean" + effect + "_Head", "Highlander/Items/Armor/TartanTyrolean_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * ColdfrontCommander item = new ColdfrontCommander(effect); * AddItem(effect + "ColdfrontCommander", item); * AddEquipTexture(item, EquipType.Head, "ColdfrontCommander" + effect + "_Head", "Highlander/Items/Armor/ColdfrontCommander_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * SinnerShade item = new SinnerShade(effect); * AddItem(effect + "SinnerShade", item); * AddEquipTexture(item, EquipType.Head, "SinnerShade" + effect + "_Head", "Highlander/Items/Armor/SinnerShade_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * MightyMitre item = new MightyMitre(effect); * AddItem(effect + "MightyMitre", item); * AddEquipTexture(item, EquipType.Head, "MightyMitre" + effect + "_Head", "Highlander/Items/Armor/MightyMitre_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * CondorCap item = new CondorCap(effect); * AddItem(effect + "CondorCap", item); * AddEquipTexture(item, EquipType.Head, "CondorCap" + effect + "_Head", "Highlander/Items/Armor/CondorCap_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * SurgeonShako item = new SurgeonShako(effect); * AddItem(effect + "SurgeonShako", item); * AddEquipTexture(item, EquipType.Head, "SurgeonShako" + effect + "_Head", "Highlander/Items/Armor/SurgeonShako_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * ToySoldier item = new ToySoldier(effect); * AddItem(effect + "ToySoldier", item); * AddEquipTexture(item, EquipType.Head, "ToySoldier" + effect + "_Head", "Highlander/Items/Armor/ToySoldier_Head"); * } * for (int i = 1; i < (int)AbnormalEffect.Max; i++) * { * AbnormalEffect effect = (AbnormalEffect)i; * PatriotPeak item = new PatriotPeak(effect); * AddItem(effect + "PatriotPeak", item); * AddEquipTexture(item, EquipType.Head, "PatriotPeak" + effect + "_Head", "Highlander/Items/Armor/PatriotPeak_Head"); * }**/ }