예제 #1
0
    public override void AddLevel(int amount = 1)
    {
        base.AddLevel(amount);

        // Apply Stat Mod
        PlayerStatMod.ApplyMod_Weapon(this);
    }
예제 #2
0
    public override void OnAdd(InventoryBase inventory)
    {
        base.OnAdd(inventory);

        // Attach to Player
        gameObject.SetActive(true);
        transform.SetParent(GM.PlayerObj.transform);
        transform.localPosition = new Vector2(0, pivotPointY);

        // Select
        SelectInActiveSlot();

        // Apply Stat Mod
        PlayerStatMod.ApplyMod_Weapon(this);
    }