public static OpenBossBag ( int type, Player player, int &npc ) : void | ||
type | int | |
player | Player | |
npc | int | |
return | void |
public static void OpenBossBag(int type, Player player, ref int npc)
{
ModItem modItem = GetItem(type);
if (modItem != null && modItem.bossBagNPC > 0)
{
modItem.OpenBossBag(player);
npc = modItem.bossBagNPC;
}
}