- 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
18 lines
437 B
C#
18 lines
437 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu]
|
|
public class HiddenMap : ConsumableItem
|
|
{
|
|
public HiddenMapZone mapZone;
|
|
|
|
public GameEvent_Int onMapZoneDiscovered;
|
|
|
|
public override void Consume()
|
|
{
|
|
PlayerDataHandler.Instance.SaveMapUsedProgress(PlayerDataHandler.Instance.currentPlayerName.Value, mapZone);
|
|
onMapZoneDiscovered.Raise((int)mapZone);
|
|
}
|
|
}
|