9 public override bool CanUseFromInventory
19 public override bool UseExtra
23 return this.owner.isOn;
28 public override void OnCreate(
int lv)
30 this.owner.isOn =
true;
31 this.owner.ChangeMaterial(12);
32 this.owner.c_seed =
EClass.rnd(20000);
37 public override bool CanUse(
Chara c)
39 return base.CanUse(c) && this.owner.isOn && !
EClass._zone.IsUserZone;
43 public override bool OnUse(
Chara c)
46 if (!this.IsImplemented())
48 Msg.SayNothingHappen();
51 Msg.Say(
"shrine_power", this.owner,
null,
null,
null);
55 this.owner.PlayEffect(
"aura_heaven",
true, 0f,
default(Vector3));
60 this.owner.PlayEffect(
"buff",
true, 0f,
default(Vector3));
63 this.owner.isOn =
false;
66 this.owner.ChangeMaterial(
"onyx");
68 this.owner.renderer.RefreshExtra();
73 public virtual void _OnUse(
Chara c)
78 public virtual bool IsImplemented()
85 public override bool CanStack