Exemplo n.º 1
0
 // Custom
 internal AnimatedCastEvent(AgentItem caster, SkillItem skill, long start, long dur) : base(start, skill, caster)
 {
     ActualDuration   = (int)dur;
     ExpectedDuration = ActualDuration;
     Acceleration     = 0;
     Status           = AnimationStatus.Full;
     SavedDuration    = 0;
 }
Exemplo n.º 2
0
        public SkillItem Get(long ID)
        {
            if (_skills.TryGetValue(ID, out SkillItem value))
            {
                return(value);
            }
            var item = new SkillItem(ID, "UNKNOWN");

            Add(item);
            return(item);
        }
Exemplo n.º 3
0
 internal BuffRemoveManualEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill) : base(by, to, time, removedDuration, buffSkill)
 {
 }
Exemplo n.º 4
0
 internal AbstractBuffApplyEvent(AgentItem by, AgentItem to, long time, SkillItem buffSkill, uint id) : base(buffSkill, time)
 {
     By           = by;
     To           = to;
     BuffInstance = id;
 }
Exemplo n.º 5
0
 internal AbstractBuffEvent(SkillItem buffSkill, long time) : base(time)
 {
     BuffSkill = buffSkill;
 }
 internal BuffRemoveAllEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill, int removedStacks, int lastRemovedDuration) : base(by, to, time, removedDuration, buffSkill)
 {
     _lastRemovedDuration = lastRemovedDuration;
     RemovedStacks        = removedStacks;
 }
 internal BuffRemoveSingleEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill, bool removedActive, uint stackID) : base(by, to, time, removedDuration, buffSkill)
 {
     BuffInstance   = stackID;
     _removedActive = removedActive;
 }
 internal BuffRemoveSingleEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill, uint id, ArcDPSEnums.IFF iff) : base(by, to, time, removedDuration, buffSkill)
 {
     _iff         = iff;
     BuffInstance = id;
 }
        // Public Methods

        internal SkillData(GW2EIGW2API.GW2APIController apiController, int evtcVersion)
        {
            _apiController = apiController;
            (DodgeId, GenericBreakbarId) = SkillItem.GetArcDPSCustomIDs(evtcVersion);
        }
 internal BuffApplyEvent(AgentItem by, AgentItem to, long time, int duration, SkillItem buffSkill, uint id, bool addedActive) : base(by, to, time, buffSkill, id)
 {
     AppliedDuration = duration;
     _addedActive    = addedActive;
 }