mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Bugfix for spBounceTgt: Removed Drawback$ from the Drawback$ string which caused any spBounceTgt spell to draw X cards along with it's normal Drawback ability.
This commit is contained in:
@@ -625,7 +625,6 @@ public class CardFactory implements NewConstants {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Support for using string variables to define Count$ for X or Y
|
// Support for using string variables to define Count$ for X or Y
|
||||||
// Or just about any other String that a card object needs at any given time
|
// Or just about any other String that a card object needs at any given time
|
||||||
while(hasKeyword(card, "SVar") != -1) {
|
while(hasKeyword(card, "SVar") != -1) {
|
||||||
@@ -3087,8 +3086,10 @@ public class CardFactory implements NewConstants {
|
|||||||
final String Drawback[] = {"none"};
|
final String Drawback[] = {"none"};
|
||||||
if (k.length > 3)
|
if (k.length > 3)
|
||||||
{
|
{
|
||||||
if (k[3].contains("Drawback$"))
|
if (k[3].contains("Drawback$")){
|
||||||
Drawback[0] = k[3];
|
String kk[] = k[3].split("\\$");
|
||||||
|
Drawback[0] = kk[1];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final String Selec[] = {"Select a target "};
|
final String Selec[] = {"Select a target "};
|
||||||
|
|||||||
Reference in New Issue
Block a user