Codota Logo
GravestormAbility.getEffects
Code IndexAdd Codota to your IDE (free)

How to use
getEffects
method
in
mage.abilities.keyword.GravestormAbility

Best Java code snippets using mage.abilities.keyword.GravestormAbility.getEffects (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: magefree/mage

@Override
public boolean checkTrigger(GameEvent event, Game game) {
  if (event.getSourceId().equals(this.getSourceId())) {
    StackObject spell = game.getStack().getStackObject(this.getSourceId());
    if (spell instanceof Spell) {
      for (Effect effect : this.getEffects()) {
        effect.setValue("GravestormSpell", spell);
        effect.setValue("GravestormSpellRef", new MageObjectReference(spell.getId(), game));
      }
      return true;
    }
  }
  return false;
}
mage.abilities.keywordGravestormAbilitygetEffects

Popular methods of GravestormAbility

  • <init>
  • getSourceId

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Socket (java.net)
    Provides a client-side TCP socket.
  • JOptionPane (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now