Soulshift
Someone reported that the cards with Soulshift no longer state that they have Soulshift in the card detail panel. I added the following code to Card.keywordsToText() right below Sloth's recent addition to remove "Curse" from auras:
and Soulshift still does not appear. There is a short section of code in CardFactory that removes the intrinsicKeyword Soulshift. It then adds a DestroyCommand which is found in CardFactoryUtil.
The DestroyCommand creates an ability and the ability includes a setDescription() and a setStackDescription() statement. In a test game a creature with Soulshift was sacrificed and the Soulshift command was executed correctly. The setStackDescription() text appeared on the stack. But no setDescription() text was seen.
I had fun looking at the code and trying to figure this out but I am stuck. I added the missing Soulshift text to the text line for the 18 card txt files that have this ability. It is something of a cop out.
- Code: Select all
else if (keyword.get(i).startsWith("Soulshift")) {
String k = keyword.get(i);
sbLong.append(k).append("\r\n");
}
and Soulshift still does not appear. There is a short section of code in CardFactory that removes the intrinsicKeyword Soulshift. It then adds a DestroyCommand which is found in CardFactoryUtil.
The DestroyCommand creates an ability and the ability includes a setDescription() and a setStackDescription() statement. In a test game a creature with Soulshift was sacrificed and the Soulshift command was executed correctly. The setStackDescription() text appeared on the stack. But no setDescription() text was seen.
I had fun looking at the code and trying to figure this out but I am stuck. I added the missing Soulshift text to the text line for the 18 card txt files that have this ability. It is something of a cop out.