It is currently 16 Apr 2024, 17:47
   
Text Size

Card Contributions

Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins

Re: Card Contributions

Postby Braullynn » 18 Aug 2012, 01:38

»»
Attachments
Goblin_Grenade.txt
(200 Bytes) Downloaded 312 times
Saproling_Symbiosis.txt
(191 Bytes) Downloaded 310 times
Braullynn
 
Posts: 7
Joined: 14 Aug 2012, 11:26
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby melvin » 19 Aug 2012, 01:17

Thanks for the contributed card scripts, Braullynn :D

Some fixes in the version that I've added to our repository:
Goblin Grenade shouldn't have "ability=flying,vigilance"
Saproling Symbiosis shouldn't have "ability=flash"

Currently, "ability" is only meant for creatures.

The following cards can't be implemented under the current engine
Saproling Symbiosis - "You may cast Saproling Symbiosis any time you could cast an instant if you pay {2} more to cast it" not supported
Goblin Matron - library search no supported, but it is being worked on
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby Braullynn » 19 Aug 2012, 17:05

yo!, sorry for the abilities being in the wrong corner, I was very sleepy when I make the cards, I'll be more careful the next time
Braullynn
 
Posts: 7
Joined: 14 Aug 2012, 11:26
Has thanked: 1 time
Been thanked: 0 time


Re: Card Contributions

Postby melvin » 27 Oct 2012, 09:16

The list of cards added after each release will be updated at https://code.google.com/p/magarena/wiki/UpcomingCards

Thanks to your contributions, 1.31 will have at least 109 new cards.

For card contributors, do check this list before working on new cards. Thanks!
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby PhazedOut » 26 Dec 2012, 06:33

Here's my first attempt, Dimir Cutpurse. Tested it and it's working well.
Edit: Got another similar card working, Neurok Commando
Attachments
Neurok_Commando.txt
(258 Bytes) Downloaded 318 times
Dimir_Cutpurse.txt
(266 Bytes) Downloaded 309 times
PhazedOut
 
Posts: 9
Joined: 26 Dec 2012, 06:12
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby PhazedOut » 27 Dec 2012, 08:15

Having issues with commits not showing in my clone so i'll just post the code for Divinity of Pride here:
Attachments
Divinity_of_Pride.java.txt
(607 Bytes) Downloaded 300 times
Divinity_of_Pride.txt
(264 Bytes) Downloaded 291 times
PhazedOut
 
Posts: 9
Joined: 26 Dec 2012, 06:12
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby melvin » 27 Dec 2012, 11:57

Thanks for the contributions, PhazedOut. I see your commits in https://code.google.com/r/swanninger-ma ... ource/list so it seems you got it working. That's great! It is much easier to pull from your commits rather than get the cards from attachments. Could you also add your earlier two cards to your repo?
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby PhazedOut » 27 Dec 2012, 17:22

Yes i can do that no problem. Ignore the first three by the way, I was still figuring things out at that point.

Also, is there any way to keep the AI from using a card? So if we want to make a card that might make the AI go nutty can we limit it to player use only?
PhazedOut
 
Posts: 9
Joined: 26 Dec 2012, 06:12
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby melvin » 28 Dec 2012, 02:17

PhazedOut wrote:Yes i can do that no problem. Ignore the first three by the way, I was still figuring things out at that point.
Ok, I see that the first and third commit cancels each other out, I'll just revert the second one. mercurial cannot selectively pull changes.

PhazedOut wrote:Also, is there any way to keep the AI from using a card? So if we want to make a card that might make the AI go nutty can we limit it to player use only?
No. Which card/effect is causing problems? The proper solution would be to fix the AI.
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby melvin » 28 Dec 2012, 02:38

Updated https://code.google.com/p/magarena/wiki/UpcomingCards with all the cards submitted so far for 1.33. Added link to this page in the first post.
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby PhazedOut » 28 Dec 2012, 03:19

melvin wrote:
PhazedOut wrote:Also, is there any way to keep the AI from using a card? So if we want to make a card that might make the AI go nutty can we limit it to player use only?
No. Which card/effect is causing problems? The proper solution would be to fix the AI.
Well I was thinking about the no multiple target rule. I wanted to try and do Cryptic Command, but since there are multiple choices it might be a problem for AI. Would there be a way to have card specific code that forces the AI to use it only one way? For instance with Cryptic Command could we say the AI only uses it as a "counter target spell and draw a card"?
PhazedOut
 
Posts: 9
Joined: 26 Dec 2012, 06:12
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby melvin » 28 Dec 2012, 08:18

PhazedOut wrote:Well I was thinking about the no multiple target rule. I wanted to try and do Cryptic Command, but since there are multiple choices it might be a problem for AI. Would there be a way to have card specific code that forces the AI to use it only one way? For instance with Cryptic Command could we say the AI only uses it as a "counter target spell and draw a card"?
Possible, but we'd prefer not to have card specific code for the AI so that the AI has the same ability as the player. Generally, we prefer to alter game rules and leave out cards so that the AI is challenging, refer to https://code.google.com/p/magarena/wiki/GameDesign
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Card Contributions

Postby PhazedOut » 30 Dec 2012, 04:52

PhazedOut
 
Posts: 9
Joined: 26 Dec 2012, 06:12
Has thanked: 1 time
Been thanked: 0 time

Re: Card Contributions

Postby melvin » 30 Dec 2012, 10:15

PhazedOut wrote:Added 4 artifacts to my clone:
Darksteel Forge
Genesis Chamber
Serum Tank
Steel Overseer
Wonderful, just merged them. Expect to see them appear in 1.33 in a couple of hours.
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

PreviousNext

Return to Magarena

Who is online

Users browsing this forum: No registered users and 23 guests


Who is online

In total there are 23 users online :: 0 registered, 0 hidden and 23 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 23 guests

Login Form