-
Notifications
You must be signed in to change notification settings - Fork 3
/
CarefreeMelodyItem.cs
39 lines (36 loc) · 1022 Bytes
/
CarefreeMelodyItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ItemChanger;
using ItemChanger.Items;
using UnityEngine;
namespace HKSecondQuest
{
internal class CarefreeMelodyItem : ItemChanger.Items.CharmItem
{
public class Sprite : ISprite
{
public UnityEngine.Sprite Value
{
get { return CharmIconList.Instance.nymmCharm; }
}
public ISprite Clone()
{
return new Sprite();
}
}
public CarefreeMelodyItem()
{
charmNum = 40;
}
public override void GiveImmediate(GiveInfo info)
{
base.GiveImmediate(info);
PlayerData.instance.charmCost_40 = 3;
PlayerData.instance.grimmChildLevel = 5;
GameObject.Find("Queen").LocateMyFSM("Conversation Control").SendEvent("GET ITEM MSG END"); //to make queen fsm advance
}
}
}