It is currently 10 May 2025, 18:46
   
Text Size

Slight cascade mod

Moderator: CCGHQ Admins

Slight cascade mod

Postby Eglin » 09 Mar 2012, 02:05

Howdy folks,

It seems that the very easy-to-use cascade routine built into 2012 has a little issue. It works fine when the only cascade cards you have all cost the same amount of mana to cast, but when you start mixing things up you find that cards aren't cascading into each other like they should. I suspect that the PlayFreeFromAnywhere routine reduces a spells effective converted casting cost to zero. I also suspect that changing the "local objectCMC = Object():GetConvertedManaCost()" line in the cascade routine to a hard-coded value will remedy the issue.

Cheers,
Eglin
User avatar
Eglin
Programmer
 
Posts: 195
Joined: 01 Mar 2012, 14:44
Has thanked: 39 times
Been thanked: 22 times

Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 24 guests


Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 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 24 guests

Login Form