Remove SVar= from SubAbility
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
6 posts
• Page 1 of 1
Remove SVar= from SubAbility
by 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.
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.
-

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
by Doublestrike » 16 Jan 2012, 01:56
Famous last words

---
A joke is a very serious thing.
A joke is a very serious thing.
-

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
by 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
by 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
- 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
by 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.

-

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
by 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
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests