It is currently 07 Jun 2025, 19:27
   
Text Size

Custom Card Thread

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Custom Card Thread

Postby Taris36 » 08 Mar 2016, 21:39

Thanks for the help. Now it gains charge counters as intended, but it crashes when it goes to trigger for the exile bit. I put in the changes you suggested. Am I blind or derping or something?

Edit 1: After further testing, the triple damage didn't work for my Lightning Bolt.
Edit 2: I have narrowed it down to the exile trigger and the triple damage for spells. Creatures seem to do triple as expected, but my Lightning Bolt did not. The game crashed as it tried to resolve the damage from the spell. I reuploaded the script for the card. When it reaches the third upkeep after I played it, it crashes as well.
Attachments
sozins_comet.txt
(1.8 KiB) Downloaded 235 times
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby edessa » 09 Mar 2016, 03:04

My third miniset is ready, I will upload the first 20 spoilers. As always suggestions are accepted.
Attachments
Border Vigilance.full.jpg
Boiling Ground.full.jpg
Boar Spines.full.jpg
Blazing Runes.full.jpg
Ancient Tome.full.jpg
Ancient Shipwreck.full.jpg
Accurate Cure.full.jpg
Abyss Hunter.full.jpg
Abyss Assassin.full.jpg
Abandoned Library.full.jpg
User avatar
edessa
 
Posts: 215
Joined: 14 Feb 2012, 23:19
Has thanked: 0 time
Been thanked: 2 times

Re: Custom Card Thread

Postby edessa » 09 Mar 2016, 03:07

This week I will focus in the scripting and playtesting part. I hope you like the cards.
Attachments
Elyan Ranger.full.jpg
Elyan Lieutenant.full.jpg
Electroblaze.full.jpg
Dreadful Razormane.full.jpg
Darn, Spike King.full.jpg
Dark Influence.full.jpg
Corpse Gathering.full.jpg
Coral Armour.full.jpg
Connecting Ray.full.jpg
Chief Warhammer.full.jpg
User avatar
edessa
 
Posts: 215
Joined: 14 Feb 2012, 23:19
Has thanked: 0 time
Been thanked: 2 times

Re: Custom Card Thread

Postby Taris36 » 09 Mar 2016, 15:50

For triple spell damage, is it possible to use "three times X" instead of dmgthrice?

Original code (crashes as it tries to resolve damage)
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.Red | ValidTarget$ Creature,Player | ReplaceWith$ DmgThrice | IsCombat$ False | Description$ If a red source would deal damage to a creature or player, it deals triple that damage to that creature or player instead.

Because as far as I know, there aren't any cards that do triple spell damage, are there?
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby friarsol » 09 Mar 2016, 16:25

Taris36 wrote:Because as far as I know, there aren't any cards that do triple spell damage, are there?
We use Thrice in a few places:

Crypt Incursion
Devouring Rage
Glacial Plating


It looks like the SVar is named incorrectly:

SVar:DmgTwice:AB$DealDamage | Cost$ 0 | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X

Where it should be named "DmgThrice"

Also, it would help to post the errors. I didn't notice before, but the exile effect is definitely wrong.. Not sure where you got it from originally?

Code: Select all
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Battlefield | Destination$ Exile
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Custom Card Thread

Postby Taris36 » 09 Mar 2016, 16:43

Here's the current version of the code and the two errors I'm getting. So far, the enchantment gains charges as expected, it causes red creatures to do triple damage, and it has shroud, but that's all.

Edit 1: I tried matching the exile SVar you had and it still crashed. Uploaded new versions. I feel really stupid at the moment. :(
Attachments
errors.txt
(3.07 KiB) Downloaded 223 times
sozins_comet.txt
(1.87 KiB) Downloaded 234 times
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby friarsol » 09 Mar 2016, 17:23

Well, as I said. API is wrong for the Effect "Exile" instead of ChangeZone. Not sure what's going on with the other thing. Looks fine to me. And Lightning Bolt + Furnace are working in the engine.

Code: Select all
Name:Sozin's Comet
ManaCost:4 R R R
Types:Legendary Enchantment
K:Shroud
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, put a charge counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 1 | Defined$ Self
T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE3_CHARGE | Execute$ TrigExile | Origin$ Battlefield | Destination$ Exile | ValidCard$ Card.Self | TriggerDescription$ When CARDNAME has three or more charge counters on it, exile CARDNAME.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Battlefield | Destination$ Exile
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.Red | ValidTarget$ Creature,Player | ReplaceWith$ DmgThrice | IsCombat$ False | Description$ If a red source would deal damage to a creature or player, it deals triple that damage to that creature or player instead.
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.Red | ValidTarget$ Creature,Player | ReplaceWith$ DmgThriceCombat | IsCombat$ True | Secondary$ True | Description$ If a red source would deal damage to a creature or player, it deals triple that damage to that creature or player instead.
SVar:DmgThrice:AB$DealDamage | Cost$ 0 | CombatDamage$ False | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ Y | References$ Y
SVar:DmgThriceCombat:AB$DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:X:ReplaceCount$DamageAmount/Thrice
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
Oracle:Shroud\nAt the beginning of your upkeep, put a charge counter on Sozin's Comet.\nWhen Sozin's Comet has three or more charge counters on it, exile it.\nWhenever a red source deals damage, it deals triple that damage instead.
(I only posted with spacing before so you could see which abilities went with which SVars, the extra spaces aren't needed)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Custom Card Thread

Postby Taris36 » 09 Mar 2016, 18:01

Furnace of Rath only doubles, it doesn't triple.

I'm an idiot because I forgot to change the file the game was using. *facepalm* I was editing the extra I had as a backup. I updated the file the game uses. So now the exile part works fine. Yay!!! But now the Lightning Bolt does no damage at all. It also doesn't crash the game anymore. Weird.

Edit 1: I changed Y to X and it gives me this error.
Original code:
SVar:DmgThrice:AB$DealDamage | Cost$ 0 | CombatDamage$ False | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ Y | References$ Y
New Code:
SVar:DmgThrice:AB$DealDamage | Cost$ 0 | CombatDamage$ False | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
Attachments
2016-03-09-00.txt
(3.01 KiB) Downloaded 272 times
sozins_comet.txt
(1.91 KiB) Downloaded 230 times
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby Taris36 » 09 Mar 2016, 18:17

Hope I'm not being a pest.
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby edessa » 09 Mar 2016, 19:15

My next 20 for today.
Attachments
Forgotten Caverns.full.jpg
Food Chain.full.jpg
Falariel, Silver King.full.jpg
Facing Extinction.full.jpg
Exploring Mission.full.jpg
Enraged Razormane.full.jpg
Energy Bolt.full.jpg
Emergency Runes.full.jpg
Elyan Warden.full.jpg
Elyan Sentinel.full.jpg
User avatar
edessa
 
Posts: 215
Joined: 14 Feb 2012, 23:19
Has thanked: 0 time
Been thanked: 2 times

Re: Custom Card Thread

Postby correioalternativo » 09 Mar 2016, 19:22

edessa wrote:My third miniset is ready, I will upload the first 20 spoilers. As always suggestions are accepted.
Blazing Runes: very good.
Ancient Tome: interesting.
Ancient Shipwreck: cheap and reusable, I think it is overpowered this way.
Abyss Assassin: nice card, combo fuel.
Abandoned Library: very good, maybe dangerous.
Electroblaze: great card.
Connecting Ray: should be rare.
User avatar
correioalternativo
 
Posts: 279
Joined: 23 Jul 2012, 12:01
Has thanked: 255 times
Been thanked: 23 times

Re: Custom Card Thread

Postby edessa » 09 Mar 2016, 19:23

Any opinions and suggestions are welcome.
Attachments
Ice Shards.full.jpg
High Clifts.full.jpg
Guided by Honor.full.jpg
Grey-Scaled Misstress.full.jpg
Grey-Scaled Assassin.full.jpg
Gnoll Supervisor.full.jpg
Gnoll Pack.full.jpg
Gnoll Cavern.full.jpg
Gnarr Alpha Warlord.full.jpg
Future Visions.full.jpg
User avatar
edessa
 
Posts: 215
Joined: 14 Feb 2012, 23:19
Has thanked: 0 time
Been thanked: 2 times

Re: Custom Card Thread

Postby friarsol » 09 Mar 2016, 19:35

Taris36 wrote:Furnace of Rath only doubles, it doesn't triple.
My point was that Furnace of Rath works, and your card doesn't, so there must still be an issue with your script. What happens to X doesn't matter. The problem is X isn't even being passed through properly.

Compare your code -
Code: Select all
SVar:DmgThrice:AB$DealDamage | Cost$ 0 | CombatDamage$ False | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:DmgThriceCombat:AB$DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
to Furnace of Rath

Code: Select all
SVar:DmgTwice:AB$DealDamage | Cost$ 0 | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:DmgTwiceCombat:AB$DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
There's one key difference still and that's "CombatDamage$ False" in the normal damage. This shouldn't be here at all.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Custom Card Thread

Postby Taris36 » 09 Mar 2016, 20:00

edessa:
Your Ice Shards card's effect confuses me. Did you want to damage an opponent's creature then add a +1/+1 counter to one of your creatures?

friarsol: I got the card working. It is now fully functional. Thanks a lot for the help. I really do appreciate it. :D

Edit 1: I didn't read edessa's card right. My bad. Keep up the good work edessa!!!
Taris36
 
Posts: 16
Joined: 05 Mar 2016, 21:19
Has thanked: 1 time
Been thanked: 0 time

Re: Custom Card Thread

Postby edessa » 09 Mar 2016, 20:52

Taris36 wrote:edessa:
Your Ice Shards card's effect confuses me. Did you want to damage an opponent's creature then add a +1/+1 counter to one of your creatures?

friarsol: I got the card working. It is now fully functional. Thanks a lot for the help. I really do appreciate it. :D

Edit 1: I didn't read edessa's card right. My bad. Keep up the good work edessa!!!
Thanks, I hope the rest of the set like you. I have a question for you, are you developing some kind of Avatar set??? That would be interesting.
User avatar
edessa
 
Posts: 215
Joined: 14 Feb 2012, 23:19
Has thanked: 0 time
Been thanked: 2 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 37 guests


Who is online

In total there are 37 users online :: 0 registered, 0 hidden and 37 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 37 guests

Login Form