RiftMayhem/Assets/Scripts/Drops/EquippableItemDrop.cs
Pedro Gomes fdd55142f9 Small class tunning & Rework item drops
- Slight increase to priest, necro and mage scaling
- Updated overall item drops on all enemies:
   - bosses are guaranteed to drop one item
   - drops are weighted and with min/max difficulty restrictions
2025-01-01 20:39:41 +00:00

20 lines
376 B
C#

using Kryz.CharacterStats.Examples;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EquippableItemDrop : Interactable
{
public Item itemDrop;
public override void Interact(bool melee)
{
base.Interact(melee);
FindObjectOfType<Inventory>().AddItem(itemDrop);
Destroy(this.gameObject);
}
}