示例#1
0
 public BaseSchool(BaseObjectInformation setInfo)
 {
     Information   = setInfo;
     StrongAgainst = "Stat";
     StrongPercent = 0.25f;
     WeakAgainst   = "Stat";
     WeakPercent   = -0.25f;
 }
示例#2
0
    public BaseSkill()
    {
        Information = new BaseObjectInformation("skill", "description");
        // defaults
        Effects           = new List <BaseSkillEffects>();
        Power             = 10;
        Cost              = 2;
        Cooldown          = 2;
        BonusMultiplier   = 1.5f;
        CooldownRemaining = 0;
        Level             = 1;

        TargetEnemy  = false;
        TargetFriend = false;
        TargetGround = false;
        Melee        = false;
        Ranged       = false;
        Corporeal    = false;
        Ethereal     = false;
        OnCooldown   = false;

        dmgAndHealManager = new DmgAndHealManager(this);
    }
示例#3
0
 public BaseSkillEffects(BaseObjectInformation setInfo)
 {
     information            = setInfo;
     this.Duration          = 3;
     this.RemainingDuration = 3;
 }