예제 #1
0
        public override void ReinitializeMembers(Unit InitializedUnitBase)
        {
            UnitCombining Other = (UnitCombining)InitializedUnitBase;

            Map = Other.Map;

            if (OriginalUnit == null)
            {
                OriginalUnit = FromFullName(OriginalUnitName, Map.Content, Map.DicUnitType, Map.DicRequirement, Map.DicEffect, Map.DicAutomaticSkillTarget);
                CombinedUnit = FromFullName(CombinedUnitName, Map.Content, Map.DicUnitType, Map.DicRequirement, Map.DicEffect, Map.DicAutomaticSkillTarget);

                _UnitStat = OriginalUnit.UnitStat;
                _HP       = OriginalUnit.MaxHP;
                _EN       = OriginalUnit.MaxEN;

                SpriteMap  = OriginalUnit.SpriteMap;
                SpriteUnit = OriginalUnit.SpriteUnit;
            }
        }
예제 #2
0
 public ActionPanelSplit(DeathmatchMap Map, UnitCombining ActiveUnit)
     : base(PanelName, Map)
 {
     this.ActiveUnit = ActiveUnit;
 }
 public ActionPanelCombine(DeathmatchMap Map, UnitCombining ActiveUnit)
     : base("Combine", Map)
 {
     this.ActiveUnit = ActiveUnit;
 }