コード例 #1
0
 private static void StartSandstorm()
 {
     Sandstorm.Happening = true;
     Sandstorm.TimeLeft  = (int)(3600.0 * (8.0 + Main.rand.NextFloat() * 16.0));
     SandstormScroll.ChangeSeverityIntentions();
 }
コード例 #2
0
 public override bool UseItem(Player player)
 {
     SandstormScroll.StartSandstorm();
     return(true);
 }