/* * Author: DrNexus * Modified by: Kroy * * Sets starting position, stats, size, gender, languages, faction and * racial abilities. * * Parameter c Character to set starting stuff on. */ public static void Start(Character c) { Skill lang = null; c.MapId = 0; c.ZoneId = 1; c.X = -6240.32f; c.Y = 331.033f; c.Z = 382.758f; c.BoundingRadius = 0.3f; c.Str = 15; c.Agility = 23; c.Stamina = 19; c.Iq = 24; c.Spirit = 20; c.Size = 1.0f; c.Model = 0x61B + c.Gender; c.AllSkills.Add(lang = new CommonSkill(300, 300)); c.TrainAbility(lang.SpellId); c.AllSkills.Add(lang = new GnomishSkill(300, 300)); c.TrainAbility(lang.SpellId); c.BindingPointX = -6240.32f; c.BindingPointY = 331.033f; c.BindingPointZ = 382.758f; c.BindingPointMapId = 0; /* * In order: Escape Artist, Expansive Mind, Arcane Resistance, * Engineering Specialization. */ c.TrainAbility(new int[] { 20589, 20591, 20592, 20593 }); }
/* * Author: DrNexus * Modified by: Kroy * * Sets starting position, stats, size, gender, languages, faction and * racial abilities. * * Parameter c Character to set starting stuff on. */ public static void Start(Character c) { Skill lang = null; c.X = -8949.95f; c.Y = -132.493f; c.Z = 83.5312f; c.Spirit = 21; c.Size = 1.0f; c.Model = 0x31 + c.Gender; c.MapId = 0; c.ZoneId = 12; c.AllSkills.Add(lang = new CommonSkill(300, 300)); c.TrainAbility(lang.SpellId); c.BindingPointX = -8949.95f; c.BindingPointY = -132.493f; c.BindingPointZ = 83.5312f; c.BindingPointMapId = 0; /* * In order: Sword Specialization, The Human Spirit, Diplomacy, * Perception, Mace Specialization. */ c.TrainAbility(new int[] { 20597, 20598, 20599, 20600, 20864 }); }
/* * Author: DrNexus * Modified by: Kroy * * Sets starting position, stats, size, gender, languages, faction and * racial abilities. * * Parameter c Character to set starting stuff on. */ public static void Start(Character c) { Skill lang = null; c.MapId = 1; c.ZoneId = 14; c.X = 10311.3f; c.Y = 832.463f; c.Z = 1326.41f; c.Str = 17; c.Agility = 25; c.Stamina = 19; c.Iq = 20; c.Spirit = 20; c.Size = 1.0f; c.Model = 55 + c.Gender; c.AllSkills.Add(lang = new CommonSkill(300, 300)); c.TrainAbility(lang.SpellId); c.AllSkills.Add(lang = new DarnassianSkill(300, 300)); c.TrainAbility(lang.SpellId); c.BindingPointX = 10311.3f; c.BindingPointY = 832.463f; c.BindingPointZ = 1326.41f; c.BindingPointMapId = 1; /* In order: Shadowmeld, Quickness, Nature Resistance, Wisp Spirit. */ c.TrainAbility(new int[] { 20580, 20582, 20583, 20585 }); }
/* * Author: DrNexus * Modified by: Kroy * * Sets starting position, stats, size, gender, languages, faction and * racial abilities. * * Parameter c Character to set starting stuff on. */ public static void Start(Character c) { Skill lang = null; c.MapId = 0; c.ZoneId = 1; c.X = -6240.32f; c.Y = 331.033f; c.Z = 382.758f; c.Str = 22; c.Agility = 16; c.Stamina = 23; c.Iq = 19; c.Spirit = 19; c.Size = 1.0f; c.Model = 53 + c.Gender; c.AllSkills.Add(lang = new CommonSkill(300, 300)); c.TrainAbility(lang.SpellId); c.AllSkills.Add(lang = new DwarvenSkill(300, 300)); c.TrainAbility(lang.SpellId); c.BindingPointX = -6240.32f; c.BindingPointY = 331.033f; c.BindingPointZ = 382.758f; c.BindingPointMapId = 0; /* * In order: Find Treasure, Stoneform, Gun Specialization, * Frost Resistance. */ c.TrainAbility(new int[] { 2481, 20594, 20595, 20596 }); }
public void ActivateSkill() { foreach (string st in ScriptName) { CommonSkill skill = transform.GetComponent(st) as CommonSkill; skill.Execute(); } }
public void ActivateSkill() { CommonSkill skill = transform.GetComponent(ScriptName) as CommonSkill; skill.Execute(); }