39 Msg.
Say(
"spotMedal", c, thing);
52 int num = 2 + c.
Evalue(402);
63 int num2 = EClass.pc.Dist(p);
64 if (thing.id ==
"medal")
66 if (!manual || EClass._zone.IsUserZone)
72 Msg.Say(
"spotMedalNear");
78 if (EClass.rnd(c.Evalue(210) * 15 + 20 + c.PER) * ((!manual) ? 1 : 2) <= EClass.rnd(EClass._zone.DangerLv * 8 + 60))
82 c.ModExp(210, EClass._zone.DangerLv * 3 / 2 + 100);
84 bool flag = thing.trait is TraitTrap;
85 thing.SetHidden(hide: false);
86 if (thing.id ==
"medal")
88 thing.PlayAnime(AnimeID.Hop);
90 Msg.Say(
"spotMedal", c, thing);
96 c.PlaySound(
"spot_trap");
97 if (EClass.core.config.game.haltOnSpotTrap)
99 EClass.player.haltMove = true;
106 Msg.Say(
"spotHidden", c, thing);
override bool ShouldEndMimicry
static bool SearchMedal(Chara c, Point p)
override bool CanPressRepeat
override CursorInfo CursorIcon
static void Search(Chara c, bool manual=false)
Card SetHidden(bool hide=true)
void PlayAnime(AnimeID id, bool force=false)
bool CanSeeSimple(Point p)
void ForeachSphere(int _x, int _z, float r, Action< Point > action)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)