Ejemplo n.º 1
0
 public static void Load()
 {
     CharacterPower.Register(new DefaultAttackAbility());
     CharacterPower.Register(new HardAttackAbility());
     CharacterPower.Register(new CriticalAttackAbility());
     CharacterPower.Register(new StunAttackAbility());
     CharacterPower.Register(new SlowingAttackAbility());
     CharacterPower.Register(new DecreaseEnergyCostAbility());
     CharacterPower.Register(new IncreaseEnergyCostAbility());
     CharacterPower.Register(new DecreaseDurationAbility());
     CharacterPower.Register(new IncreaseDurationAbility());
     CharacterPower.Register(new MeditationAbility());
     CharacterPower.Register(new AbsorbDamageAbility());
     CharacterPower.Register(new DeflectDamageAbility());
     CharacterPower.Register(new ShortSpeedBurstAbility());
     CharacterPower.Register(new IncreaseSpeedAbility());
     CharacterPower.Register(new IncreaseMaxHealthAbility());
     CharacterPower.Register(new IncreaseMaxEnergyAbility());
     CharacterPower.Register(new IncreaseHealthRegenAbility());
     CharacterPower.Register(new IncreaseEnergyRegenAbility());
     CharacterPower.Register(new StealthAbility());
     CharacterPower.Register(new IncreaseSwordPowerAbility());
     CharacterPower.Register(new IncreaseBowPowerAbility());
     CharacterPower.Register(new IncreaseDaggerPowerAbility());
     CharacterPower.Register(new IncreasePlateArmorAbility());
     CharacterPower.Register(new IncreaseLeatherArmorAbility());
     CharacterPower.Register(new ResurrectAbility());
 }
Ejemplo n.º 2
0
 public ArrowColltionArea(CharacterPower characterPower, Character performedBy)
 {
     this.characterPowerPerfomed = characterPower;
     this.performedBy            = performedBy;
     this.Target   = this.performedBy.AimToPosition;
     this.Position = this.performedBy.Position;
     this.Speed    = 50f;
     this.R        = 10;
 }
Ejemplo n.º 3
0
 private static void Register(CharacterPower abilityToRegister)
 {
     CharacterPower.abilities[(ushort)abilityToRegister.Id] = abilityToRegister;
 }