Two-Headed Giant Shared Enchantments?
New decks and cards for Stainless Games' release
Moderator: CCGHQ Admins
Two-Headed Giant Shared Enchantments?
by luh-koala » 04 Aug 2012, 02:48
Hello!
I was wondering if theres a possible way to make the ally player share your enchantments, wheres "you" in the cards would refer to both you and the
allied player. I don't have a minimal idea of how to do this, but would be interesting change in the new game mode. =) And if its possible, im think
that can be done XD.
Ty o/
I was wondering if theres a possible way to make the ally player share your enchantments, wheres "you" in the cards would refer to both you and the
allied player. I don't have a minimal idea of how to do this, but would be interesting change in the new game mode. =) And if its possible, im think
that can be done XD.
Ty o/
_______________________________
Nothing is true, everything is permited.
Nothing is true, everything is permited.
Re: Two-Headed Giant Shared Enchantments?
by thefiremind » 04 Aug 2012, 09:23
You should rewrite all the enchantments so that they act for all the players whose team is equal to EffectController():GetTeam(). I don't think it's worth the effort. Anyway there are some cards made with multiplayer in mind, for example Mana-Charged Dragon (which I already coded). So, a deck specific for multiplayer could be done without changing the real rules, after we get to know all the cards that could fit in.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: Two-Headed Giant Shared Enchantments?
by luh-koala » 04 Aug 2012, 14:15
Thats really interesting. And the mana-Charged dragon pretty much defines what i wanted to achieve.
Weell, its tricky work, but maybe is worthy if you start focusing specific enchantments. =)
And make sense,. The trick is that isn't only enchantments that would enter in the list, theres specific artifacts and there it goes.
But, in theory, you can change these enchantments without having to do a extra-deck for specific multiplayer?
Weell, its tricky work, but maybe is worthy if you start focusing specific enchantments. =)
And make sense,. The trick is that isn't only enchantments that would enter in the list, theres specific artifacts and there it goes.
But, in theory, you can change these enchantments without having to do a extra-deck for specific multiplayer?
_______________________________
Nothing is true, everything is permited.
Nothing is true, everything is permited.
Re: Two-Headed Giant Shared Enchantments?
by MisterBenn » 05 Aug 2012, 05:04
I recall that the Annihilator cards were a bit funny in DOTP2012's 2HG because the person who had to sacrifice permanents was always the player opposite you - you could remove all their permanents but the other player could fight on. Between that and the creature heavy decks leading to quite a few stalemate games, I ended up avoiding the 2HG mode most of the time.
- MisterBenn
- Posts: 97
- Joined: 19 Mar 2011, 16:19
- Has thanked: 24 times
- Been thanked: 11 times
Re: Two-Headed Giant Shared Enchantments?
by luh-koala » 08 Aug 2012, 20:21
Someone can help with this code?
Im trying to make Greater Auramancy a shared effect, but isn't working by now. Actually, i think isnt working either for me or the team.
What im doing wrong?
Im trying to make Greater Auramancy a shared effect, but isn't working by now. Actually, i think isnt working either for me or the team.
- Code: Select all
local filteredCard = FilteredCard()
local objectPlayer = EffectController()GetTeam()
return (filteredCard:GetCardType():Test( CARD_TYPE_ENCHANTMENT ) ~= 0) and
(filteredCard:GetPlayer()GetTeam() == objectPlayer) and
(filteredCard ~= nil and
filteredCard ~= Object() and
filteredCard:GetZone() == (ZONE_IN_PLAY)
</FILTER>
<CONTINUOUS_ACTION layer="6">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
if characteristics ~= nil then
characteristics:Characteristic_Set( CHARACTERISTIC_SHROUD, 1 )
end
end
- | Open
- return (FilteredCard() ~= nil and
FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0) and
FilteredCard():GetZone() == (ZONE_IN_PLAY) and
(FilteredCard():IsEnchanted() ~= 0) and
FilteredCard():GetPlayer()GetTeam() == Object():GetPlayer()GetTeam())
</FILTER>
<CONTINUOUS_ACTION layer="6">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
if characteristics ~= nil then
characteristics:Characteristic_Set( CHARACTERISTIC_SHROUD, 1 )
end
end
What im doing wrong?
_______________________________
Nothing is true, everything is permited.
Nothing is true, everything is permited.
Re: Two-Headed Giant Shared Enchantments?
by thefiremind » 08 Aug 2012, 21:08
Replace all the instances of
GetPlayer()GetTeam()
with
GetPlayer():GetTeam()
EDIT: and correct what RiiakShiNal wrote after my post, too.
GetPlayer()GetTeam()
with
GetPlayer():GetTeam()
EDIT: and correct what RiiakShiNal wrote after my post, too.
Last edited by thefiremind on 08 Aug 2012, 21:10, edited 1 time in total.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: Two-Headed Giant Shared Enchantments?
by RiiakShiNal » 08 Aug 2012, 21:09
Well, you forgot a ":" in the line where you define objectPlayer:
- Code: Select all
local objectPlayer = EffectController():GetTeam()
- Code: Select all
(filteredCard:GetPlayer():GetTeam() == objectPlayer) and
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Two-Headed Giant Shared Enchantments?
by luh-koala » 08 Aug 2012, 22:27
=DD Thanks a lot, it worked!
And nice tip with the script_log, it really helps =D
And nice tip with the script_log, it really helps =D
_______________________________
Nothing is true, everything is permited.
Nothing is true, everything is permited.
8 posts
• Page 1 of 1
Return to Magic: The Gathering - Duels of the Planeswalkers
Who is online
Users browsing this forum: No registered users and 16 guests