mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks (missing class).
This commit is contained in:
parent
aa359cd1b6
commit
acdabbaaac
1 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,7 @@ import mage.target.Target;
|
|||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> extends AbilityImpl<T> implements ActivatedAbility {
|
||||
|
||||
|
@ -338,4 +339,13 @@ public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> ex
|
|||
public UUID getActivatorId() {
|
||||
return this.activatorId;
|
||||
}
|
||||
|
||||
public TimingRule getTiming() {
|
||||
return timing;
|
||||
}
|
||||
|
||||
public void setTiming(TimingRule timing) {
|
||||
this.timing = timing;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue