Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels) 2013
Elves of Deep Shadow Coding Problem
Moderator: CCGHQ Admins
Elves of Deep Shadow Coding Problem
by Ereshkigal » 04 Aug 2013, 18:30
Hello!
I'm learning to code cards for DotP 2013 but i'm having problems with this card: Elves of Deep Shadow.
Can someone help me?
(my english is not good, sorry...)
I'm learning to code cards for DotP 2013 but i'm having problems with this card: Elves of Deep Shadow.
- Code: Select all
<MANA_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Aggiungi {B} alla tua riserva di mana. Gli Elfi Oscuri ti infliggono 1 danno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.]]></LOCALISED_TEXT>
<COST type="TapSelf" />
<COST type="Life" points "1" />
<PRODUCES amount="{B}" />
</MANA_ABILITY>
</CARD_V2>
Can someone help me?
(my english is not good, sorry...)
- Ereshkigal
- Posts: 1
- Joined: 09 Jun 2013, 06:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: Elves of Deep Shadow Coding Problem
by RiiakShiNal » 04 Aug 2013, 18:34
That is because the DotP engine does not have support for costs in MANA_ABILITY blocks other than <COST type="TapSelf" />. While you can add other costs or code to MANA_ABILITY blocks the game will ignore them. So the only way to properly make Elves of Deep Shadow is to use Mana Tokens, there are a few modders who made mana tokens for DotP 2013 so if you get one of their mods that should give you the framework you need to write it as an ACTIVATED_ABILITY using their functions.
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest