using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 애드온명: 라거의 문양
/// 번호: 26
/// </summary>
public class DesignofRagur : Addon
{
    public override void Declare()
    {
        id = 26; name = "라거의 문양";
        quality = ItemQuality.Superior;
        type = AddonType.Prop;
        sprite = Resources.Load<Sprite>("Sprites/Addons/design of ragur");
        highlight = Resources.Load<Sprite>("Sprites/Addons/design of ragur_border");
        sizeInventory = new Vector2(70, 80);
    }

    public override float DamageMultiplier(PlayerAttackInfo attackInfo, Enemy enemyInfo, string combo)
    {
        int aNum = 0;
        for (int i = 0; i < combo.Length; i++)
            if (combo[i] == 'A')
                aNum++;

        return 1f + aNum * 0.4f;
    }
}
