public BaseCharacter() { Name = ""; Level = 1; Attributes = new List <Attribute>(); Vitals = new List <Vital>(); Stats = new List <Statistic>(); CharacterType = CharacterType.Enemy; AttackStyle = AttackStyle.Melee; VitalHandler = new VitalHandler(this); AnimationType = RPGAnimationType.Legacy; LegacyAnimations = new LegacyAnimation(); Alive = true; Stunned = Silenced = StunFreeze = Retreating = false; ImagePath = ""; AuraEffects = new List <AuraEffect>(); FriendlyAuras = new List <FriendlyAura>(); TimedPassiveEffects = new List <TimedPassiveEffect>(); StatusEffects = new List <StatusEffect>(); CurrentDoTs = new List <DamageOverTime>(); SkillMetaImmunitiesID = new List <SkillImmunity>(); SkillMetaSusceptibilities = new List <SkillMetaSusceptibility>(); VitalRegenBonuses = new List <VitalRegenBonus>(); Restorations = new List <Restoration>(); StatusReductions = new List <ReduceStatusDuration>(); ProcEffects = new List <Rm_ProcEffect>(); }
public Rm_ClassDefinition() { ID = Guid.NewGuid().ToString(); ApplicableRaceID = ""; ApplicableSubRaceID = ""; ApplicableGenderID = ""; ApplicableClassIDs = new List <StringField>(); ExpDefinitionID = Rmh_Experience.PlayerExpDefinitionID; Name = "Unnamed Class"; Description = "A strong combatant."; ClassPrefabPath = ""; UnarmedAttackRange = 1.5f; UnarmedAttackSpeed = 2.0f; UnarmedAttackDamage = 1; AutoAttackPrefabPath = ""; AttackStyle = AttackStyle.Melee; StartingScene = ""; StartingGold = 0; ImagePath = ""; AnimationType = RPGAnimationType.Legacy; LegacyAnimations = new LegacyAnimation(); ProjectileTravelSound = new AudioContainer(); AutoAttackImpactSound = new AudioContainer(); ProjectileSpeed = 10f; HasStartingPet = false; StartingPet = ""; StartingAttributes = new List <Rm_AsvtAmount>(); StartingStats = new List <Rm_AsvtAmountFloat>(); StartingVitals = new List <Rm_AsvtAmount>(); StartingTraitLevels = new List <Rm_AsvtAmount>(); StartingItems = new List <LootDefinition>(); StartingEquippedWeapon = new StartEquipDefinition(); StartingEquipped = new List <StartEquipDefinition>(); AttributePerLevel = new List <Rm_AsvtAmount>(); StartingSkillIds = new List <string>(); StartingTalentIds = new List <string>(); SkillMetaImmunitiesID = new List <string>(); SkillMetaSusceptibilities = new List <SkillMetaSusceptibility>(); EquipmentInfo = new EquipmentInfo(); VisualCustomisations = new List <VisualCustomisation>(); }