Comments (3)
Need more details for each improve:
- card example;
- what’s logs you get in current version;
- what’s logs you want;
Xmage uses mana pool for mana payment and players can generate mana without real cast (adds it to mana pool by direct tap/activate). So it’s can be hard to detect a real usage.
from mage.
if its hard to catch what mana is used to pay for a cost, would it be possible to add when a land or creature is tapped before a spell is cast?
Thinking about it if its possible to include what is drawn when something is? also the starting cards of the players hands?
Right now the html logs have basic turn actions like: the libraries being shuffled at the start, that a player has drawn a card, cards that are played and if the attack step was skipped or not. if not skipped it shows what creatures are attacking, blocking and life lost in combat. these and other general actions are recorded
My hope is with more verbose logging of the ingame actions i can go through the Log to write a script for when human players play against bots. the script will be for a youtube series where the players play commander or other format games against bots.
from mage.
Well, mana pool has source info for each mana item, so it's possible to log a payment details in game logs (mana + source of the mana). Maybe it can be optional by Preferences.
P.S. Additional problem -- logs are one way data, it will continue after rollback. It's can be weird on pay/cancel user spam. So it must be improved to restore real logs on rollback too (also related to restore game logs on reconnect and other things).
from mage.
Related Issues (20)
- refactor: common class for "the next spell you cast costs {} less to cast"
- Cards with TargetsCountAdjuster must process empty and multiple targets (Extraordinary Journey error) HOT 3
- AddContinuousEffectToGame should set targetPointer to its sub effects on apply. HOT 3
- Refactor: have "if [mana] is spent" "when [mana] is spent" use common methods
- Found broken files - but they work. HOT 2
- XMage is unusable on Mac M1 HOT 7
- Bug: Shifting Woodland keeps the copied type and color in the graveyard HOT 6
- Refactor: make a common effect for "If [Condition], {this} enters the battlefield tapped."
- Outcome inverse method doesn't account for AIDontUseIt HOT 5
- getSpellOrLKIStack got non-spell id mage.game.stack.StackAbility error on Hope Tender usage HOT 1
- Phantasmal Image doesn't trigger when targeted by modal spells HOT 1
- Image path error - WC02/Fire - Ice HOT 1
- Bug: Unstable Amulet is unable to cast split cards HOT 2
- Couple of Cards need missing hints HOT 4
- Vaultborn Tyrant only triggering once with Flash HOT 2
- GUI: wrong player panel size in small mode (hidden C buttons line)
- Arcane Bombardment needs to be able to choose spell order HOT 5
- GUI: player panels must be smaller or resizeable
- Zoetic Cavern cast as a morph, then turned faceup stays in the non-land permanents row. HOT 1
- Devs: restrictions for usage of ApplyEffects and ProcessAction HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mage.