mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
delete needless file
This commit is contained in:
parent
07d13083fa
commit
dcf85d501b
2 changed files with 60 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
|
|
||||||
<output url="file://$MODULE_DIR$/target/classes" />
|
|
||||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
|
|
||||||
<orderEntry type="module" module-name="Mage-Common" />
|
|
||||||
<orderEntry type="module" module-name="Mage" />
|
|
||||||
<orderEntry type="library" name="Maven: log4j:log4j:1.2.14" level="project" />
|
|
||||||
<orderEntry type="library" name="Maven: com.googlecode.jspf:jspf-core:0.9.1" level="project" />
|
|
||||||
<orderEntry type="library" name="Maven: org.swinglabs:swingx:1.6.1" level="project" />
|
|
||||||
<orderEntry type="library" name="Maven: com.jhlabs:filters:2.0.235" level="project" />
|
|
||||||
<orderEntry type="library" name="Maven: org.swinglabs:swing-worker:1.1" level="project" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
|
|
60
Mage/src/mage/abilities/keyword/BloodthirstAbility.java
Normal file
60
Mage/src/mage/abilities/keyword/BloodthirstAbility.java
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
package mage.abilities.keyword;
|
||||||
|
|
||||||
|
import mage.Constants;
|
||||||
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.common.EntersBattlefieldAbility;
|
||||||
|
import mage.abilities.effects.OneShotEffect;
|
||||||
|
import mage.game.Game;
|
||||||
|
import mage.game.events.GameEvent;
|
||||||
|
import mage.watchers.WatcherImpl;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Loki
|
||||||
|
*/
|
||||||
|
public class BloodthirstAbility extends EntersBattlefieldAbility {
|
||||||
|
public BloodthirstAbility() {
|
||||||
|
super(new BloodthirstEffect(), "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class BloodthirstEffect extends OneShotEffect<BloodthirstEffect> {
|
||||||
|
BloodthirstEffect() {
|
||||||
|
super(Constants.Outcome.BoostCreature);
|
||||||
|
}
|
||||||
|
|
||||||
|
BloodthirstEffect(final BloodthirstEffect effect) {
|
||||||
|
super(effect);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean apply(Game game, Ability source) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BloodthirstEffect copy() {
|
||||||
|
return new BloodthirstEffect(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class BloodthirstWatcher extends WatcherImpl<BloodthirstWatcher> {
|
||||||
|
BloodthirstWatcher(UUID controllerId) {
|
||||||
|
super("", controllerId);
|
||||||
|
}
|
||||||
|
|
||||||
|
BloodthirstWatcher(final BloodthirstWatcher watcher) {
|
||||||
|
super(watcher);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void watch(GameEvent event, Game game) {
|
||||||
|
//To change body of implemented methods use File | Settings | File Templates.
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BloodthirstWatcher copy() {
|
||||||
|
return new BloodthirstWatcher(this);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue