Git Product home page Git Product logo

Comments (7)

Chibi1234 avatar Chibi1234 commented on May 18, 2024

Ehmagers sometimes accidentally pressing Go when finishing writing the tile and finishing the thing then looking for solution and presses Close Issue can be a poo poo thing. Well at least I can still reopen and comment on it. I'm looking for a way to add a fusion card which destroys let's say an angry chicken and a mech minion and it summons the mighty Mech Chicken but my brain cells are a little dead :P so I'm looking here for a solution.

It would also be nice to have a way of seeing which card attacks which in game. When playing against the AI I often can't see what they're really doing. A simple arrow going between the 2 minions attacking or a history bar where I can see their actions.

from metastone.

webadict avatar webadict commented on May 18, 2024

Hey Chibi,
Are you looking for SPECIFIC cards to be fused, or are you looking for only a certain number of general types? Or both?

Like, I can try to help if you give me a better idea of a specific scenario. Does it have to be Angry Chicken and a Mech minion on your side of the field when you play the Spell card Fusion to summon MechaChicken? Does that only work in that exact scenario? Also, what do you have so far?

from metastone.

Chibi1234 avatar Chibi1234 commented on May 18, 2024

Scenario:

My board has an Angry Chicken and a random mech, lets say its an Annoy-O-Tron for this example. Then i play a spell card that destroys all Angry Chickens on the field togheter with all mechs, and for each Angry Chicken destroyed a Mech Angry Chicken is summoned. There could be lets say 1 mech and 5 angry chickens but it would still summon 5 mech angry chickens.

Also im not sure if metastone is built in such a way to make this possible but it would be awesome to play some sort of fusion card like that!

from metastone.

webadict avatar webadict commented on May 18, 2024

from metastone.

Chibi1234 avatar Chibi1234 commented on May 18, 2024

{
"targetSelection": "NONE",
"id": "spell_angry_mechanization",
"spell": {
"class": "MetaSpell",
"spell1": {
"class": "InstantDestroySpell",
"condition": {
"class": "CardPropertyCondition",
"cardId": "minion_angry_chicken"
},
},
"spell2": {
"class": "SummonSpell",
"card": "token_sheep",
"targetPlayer": "OWNER"
},
"class": "DestroySpell",
"target": "FRIENDLY_MINIONS",
"filter": {
"class": "RaceFilter",
"race": "MECH"
},
"name": "Angry Mechanization",
"description": "BLABLABLA FARTS N STUFF",
"type": "SPELL",
"heroClass": "DRUID",
"rarity": "EPIC",
"baseManaCost": 0,
"collectible": true,
"set": "CUSTOM",
"fileFormatVersion": 1
}

Well i made that but ehm when i try to start the game it says ''Error Invoking Method''

Did i do something wrong?

from metastone.

Chibi1234 avatar Chibi1234 commented on May 18, 2024

https://mega.nz/#!7B9nFAyC!L3LqpnJfvlkFbCev2HEVKeLioisvnaN8wp8khVZ7jUs

from metastone.

webadict avatar webadict commented on May 18, 2024

Hey Chibi,

One mistake I see off the bat is that you have two classes in your spell object. This will cause errors as you can't have two of the same key in a json object. What you could do is embed your Meta Spell inside another Meta Spell so that you can have the destruction of mechs happen before the Angry
Chicken change, so you don't accidentally kill your newly summoned mechs. Or just put the part after spell2 inside its own spell3 (and the move it to happen first.)

I'm not at a computer so it's harder to help, but hopefully that helps.

EDIT: PS, if you're going to ask for help, having descriptions like "farts n stuff," while undoubtedly hilarious, makes it hard for people to take your requests seriously. The goal isn't to give you everything, but to help you figure out the way to solve this, and asking for help is a great way to get help, but if you don't look serious, why should anyone take you, and by extension your requests for help, seriously?

However, your spell isn't formatted correctly. You have 2 class keys in your spell json object. Your filter json object is left open. Your condition json object is the last item inside the spell1 json object, but is followed by a comma.

Now, as for why this won't work, even if it were formatted correctly. The issue is that your targeting and conditions are slightly wrong. What you have to make sure is that either each spell# has the correct targets. Right now if the second class were removed from your MetaSpell spell, all spells would target all friendly minions. So, each Angry Chicken that was also a Mech would be destroyed, and then every Mech minion would summon an Sheep token.

You're on the right track though. It's just a bit jumbled up here! I'd really like to see you work from here:
spell_angry_mechanization.txt

This fixes the small format errors, but the spell still needs some help before it does what you want it to!

from metastone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.