Esempio n. 1
0
 public AbilityConstants(DBAbilityInfo dbObj)
 {
     Entry         = dbObj.Entry;
     CareerLine    = dbObj.CareerLine;
     Name          = dbObj.Name;
     MinimumRank   = dbObj.MinimumRank;
     MinimumRenown = dbObj.MinimumRenown;
     MasteryTree   = dbObj.MasteryTree;
     PointCost     = dbObj.PointCost;
     CashCost      = dbObj.CashCost;
     AbilityType   = (AbilityType)dbObj.AbilityType;
     if (dbObj.Specline == "Item")
     {
         Origin = AbilityOrigin.AO_ITEM;
     }
     ChannelID            = dbObj.ChannelID;
     CastAngle            = dbObj.CastAngle;
     EffectID             = dbObj.EffectID;
     WeaponNeeded         = (WeaponRequirements)dbObj.WeaponNeeded;
     InvokeDelay          = dbObj.InvokeDelay;
     EffectDelay          = dbObj.EffectDelay;
     IgnoreGlobalCooldown = dbObj.IgnoreGlobalCooldown;
     AffectsDead          = dbObj.AffectsDead;
     StealthInteraction   = (AbilityStealthType)dbObj.StealthInteraction;
     Fragile            = dbObj.Fragile;
     CooldownEntry      = dbObj.CooldownEntry;
     ToggleEntry        = dbObj.ToggleEntry;
     IgnoreOwnModifiers = dbObj.IgnoreOwnModifiers;
     BaseCastTime       = dbObj.CastTime;
     AIRange            = dbObj.AIRange;
 }
Esempio n. 2
0
 public AbilityInfo(DBAbilityInfo dbObj)
 {
     Entry                   = dbObj.Entry;
     CareerLine              = dbObj.CareerLine;
     Name                    = dbObj.Name;
     MinRange                = dbObj.MinRange;
     Range                   = dbObj.Range;
     CastTime                = dbObj.CastTime;
     Cooldown                = dbObj.Cooldown;
     ApCost                  = dbObj.ApCost;
     SpecialCost             = dbObj.SpecialCost;
     CanCastWhileMoving      = dbObj.MoveCast;
     IgnoreCooldownReduction = dbObj.IgnoreCooldownReduction;
     CDcap                   = dbObj.CDcap;
     VFXTarget               = dbObj.VFXTarget;
     abilityID               = dbObj.abilityID;
     effectID2               = dbObj.effectID2;
     Time                    = dbObj.Time;
 }