Page 2 of 2

Re: DotP 2013 another Deckcreator

PostPosted: 16 Apr 2013, 14:41
by Droulee
Oh.. Well, is it hard to add the new abilities, like miracle? And where should i write this code? In which file?

Re: DotP 2013 another Deckcreator

PostPosted: 17 Apr 2013, 13:35
by RiiakShiNal
It can be difficult depending on the ability to code (I believe someone has already coded miracle so for that ability you can use that code as a base). The code for each ability goes in the card XML that has that ability. For example if you were coding Devastation Tide into file DEVASTATION_TIDE_275720.XML then you would need to put the code for the abilities in that file.

Re: DotP 2013 another Deckcreator

PostPosted: 17 Apr 2013, 18:06
by Droulee
Thank you for answers! And i have the last one question. Should i manually write differents codes in .xml files or i can find somewhere some parts ot them?

Re: DotP 2013 another Deckcreator

PostPosted: 17 Apr 2013, 22:50
by RiiakShiNal
Usually coders look at other already coded cards with similar abilities to figure out how to code something (examining already built and working cards is sometimes the best way to figure out how to code an ability). Some abilities can quite easily be copied from other cards with little to no modification, other abilities require quite a bit of modification and/or "frankensteining" something together from other abilities. Some abilities may have to be coded from scratch or may even be impossible to code in the DotP 2013 engine.