package com.yaohun.demonskills.api;

import com.yaohun.demonskills.data.SkillData;
import com.yaohun.demonskills.manage.SkillManager;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

public class SkillStoneAPI {

    public static ItemStack getStoneStack(String playerName,String skillName){
        SkillData skillData = SkillManager.skillDataMap.get(skillName);
        return skillData.getItemStack(playerName,1);
    }
    public static ItemStack getStoneStack(String playerName,String skillName,int skillLevel){
        SkillData skillData = SkillManager.skillDataMap.get(skillName);
        return skillData.getItemStack(playerName,skillLevel);
    }
}
