mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
*Added Battle-Rattle Shaman.
*Let Phase mode triggers go off at "BeginCombat".
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -495,6 +495,7 @@ res/cardsfolder/battle_mad_ronin.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/battle_mastery.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_mastery.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/battle_of_wits.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_of_wits.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/battle_rampart.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_rampart.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/battle_rattle_shaman.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/battle_screech.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_screech.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/battle_squadron.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_squadron.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/battle_strain.txt -text svneol=native#text/plain
|
res/cardsfolder/battle_strain.txt -text svneol=native#text/plain
|
||||||
|
|||||||
10
res/cardsfolder/battle_rattle_shaman.txt
Normal file
10
res/cardsfolder/battle_rattle_shaman.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Battle-Rattle Shaman
|
||||||
|
ManaCost:3 R
|
||||||
|
Types:Creature Goblin Shaman
|
||||||
|
Text:no text
|
||||||
|
PT:2/2
|
||||||
|
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPump | TriggerDescription$ At the beginning of combat on your turn, you may have target creature get +2/+0 until end of turn.
|
||||||
|
SVar:TrigPump:AB$Pump | Cost$ 0 | Tgt$ TgtC | NumAtt$ 2
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/battle_rattle_shaman.jpg
|
||||||
|
End
|
||||||
@@ -199,6 +199,12 @@ public class Phase extends MyObservable
|
|||||||
|
|
||||||
else if(phase.equals(Constant.Phase.Combat_Begin)){
|
else if(phase.equals(Constant.Phase.Combat_Begin)){
|
||||||
PhaseUtil.verifyCombat();
|
PhaseUtil.verifyCombat();
|
||||||
|
|
||||||
|
//Run triggers
|
||||||
|
HashMap<String,Object> runParams = new HashMap<String,Object>();
|
||||||
|
runParams.put("Phase", phase);
|
||||||
|
runParams.put("Player", getPlayerTurn());
|
||||||
|
AllZone.TriggerHandler.runTrigger("Phase", runParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (phase.equals(Constant.Phase.Combat_Declare_Attackers_InstantAbility)){
|
else if (phase.equals(Constant.Phase.Combat_Declare_Attackers_InstantAbility)){
|
||||||
|
|||||||
Reference in New Issue
Block a user