Beispiel #1
0
 private void OnDropAbilityCollected(DropAbility ability)
 {
     spellIconSpecial.sprite = spellCastingController.SpecialAttackSpellDescription.SpellIcon;
 }
        private bool HasDropAbility(ref HandPieceEV handPiece, PieceSide side, DropAbility dropAbility)
        {
            List <DropAbility> drop = pieceFactory.CreateIPieceData(GetPieceType(ref handPiece, side)).Abilities.Drop;

            return(drop.Contains(dropAbility));
        }
Beispiel #3
0
 public static bool HasAbility(DropAbility ability, PieceType pieceType)
 {
     return(Drop[ability].Contains(pieceType));
 }