mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Added source object name to effect rule text in choice window of replacment effects to select the order the effects resolve.
This commit is contained in:
parent
99d208a2d9
commit
607680b78a
1 changed files with 1 additions and 1 deletions
|
@ -1084,7 +1084,7 @@ public class ContinuousEffects implements Serializable {
|
|||
for (Ability ability :entry.getValue()) {
|
||||
MageObject object = game.getObject(ability.getSourceId());
|
||||
if (object != null) {
|
||||
texts.put(ability.getId().toString() + "_" + entry.getKey().getId().toString(), ability.getRule(object.getLogName()));
|
||||
texts.put(ability.getId().toString() + "_" + entry.getKey().getId().toString(), object.getLogName() +": " + ability.getRule(object.getLogName()));
|
||||
} else {
|
||||
texts.put(ability.getId().toString() + "_" + entry.getKey().getId().toString(), entry.getKey().getText(null));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue