27 EClass.player.holyWell = value;
31 owner.c_charges = value;
40 return t.
category.IsChildOf(
"drink");
97 ActEffect.Proc(EffectId.ModPotential, EClass.pc, null, (!polluted && (IsHoly || EClass.rnd(2) == 0)) ? 100 : (-100));
101 BadEffect(EClass.pc);
105 ActEffect.Proc(EffectId.Mutation, EClass.pc);
109 if (EClass.player.CountKeyItem(
"well_wish") > 0)
111 EClass.player.ModKeyItem(
"well_wish", -1);
112 ActEffect.Proc(EffectId.Wish, EClass.pc, null, 10 + EClass.player.CountKeyItem(
"well_enhance") * 10);
113 EClass.player.wellWished = true;
117 Msg.SayNothingHappen();
175 s =
"_polluted".lang(s);
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
static void Proc(EffectId id, Card cc, Card tc=null, int power=100, ActRef actRef=default(ActRef))
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
int GetInt(int id, int? defaultInt=null)
void SetInt(int id, int value=0)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
BlessedState blessedState
void PlayAnime(AnimeID id, bool force=false)
SourceCategory.Row category
void ModNum(int a, bool notify=true)
void Say(string lang, string ref1=null, string ref2=null)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
override bool IsBlendBase
static void BadEffect(Chara c)
override void TrySetAct(ActPlan p)
override bool ShowCharges
override void SetName(ref string s)
override void OnCreate(int lv)
override void OnBlend(Thing t, Chara c)
override bool CanBlend(Thing t)