It is currently 29 Oct 2025, 12:27
   
Text Size

Remove SVar= from SubAbility

Post MTG Forge Related Programming Questions Here

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

Remove SVar= from SubAbility

Postby Chris H. » 16 Jan 2012, 01:54

Hey Slapshot,

I noticed revs 13170 to 13173. You are replacing "SubAbility$ SVar=" with "SubAbility$ " and was wondering if you needed some help in this area.

It looks like SubAbilities have been simplified and removing the "SVar=" portion would help to provide a good example for all of us to follow.

There appears to be 965 card files left to convert. I can start with the letter A once I release the next beta.

The work involved looks fairly simple. I do not think that I can screw it up too much. :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Remove SVar= from SubAbility

Postby Doublestrike » 16 Jan 2012, 01:56

Famous last words :) :twisted:
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

Re: Remove SVar= from SubAbility

Postby friarsol » 16 Jan 2012, 02:05

Yea when we first wrote SubAbilities "Drawbacks" were still around, so to differentiate them I added SVar so it would be clear to call the SubAbility code. It's been quite some time since the last Drawback was removed from the scripts so the SVar= is unnecessary, and should be removed.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Remove SVar= from SubAbility

Postby slapshot5 » 16 Jan 2012, 02:27

Thanks Chris. I've got it covered. I was on the road all day, so that's all the further I got with checkins. One the beta goes out, I'll check the rest in.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Remove SVar= from SubAbility

Postby Chris H. » 16 Jan 2012, 02:29

slapshot5 wrote:Thanks Chris. I've got it covered. I was on the road all day, so that's all the further I got with checkins. One the beta goes out, I'll check the rest in.
`
Ah, the work is done, you just need to find the chance to merge in the other 900+ card files. =D>
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Remove SVar= from SubAbility

Postby slapshot5 » 16 Jan 2012, 05:25

I've fixed the cards in DKA branch that I found with this. And I've put a note in the DKA thread not to include this.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 14 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 14 guests

Login Form