It is currently 13 May 2024, 17:42
   
Text Size

Feature requests

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

Re: Feature requests

Postby ShawnieBoy » 16 Jan 2014, 22:00

Actually Varolz, the Scar-Striped is a work-around at the moment, it's essentially an activated ability of the creature which then gives you the choice of a selection of creature cards from your graveyard.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby hong yie » 17 Jan 2014, 04:50

hmm.. make enough workaround 1st, until we found the solution maybe?
as long as the alternative doesn't break the mechanism as playable cards from graveyard. :)
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 75 times
Been thanked: 9 times

Re: Feature requests

Postby muaddib » 31 Jan 2014, 12:58

In Magarena 1.45, 1.46 I don't found save deck.
Please do feature 'save deck' and 'duel save as' to save few duels.
User avatar
muaddib
Tester
 
Posts: 118
Joined: 03 Mar 2011, 08:37
Location: Russia
Has thanked: 0 time
Been thanked: 5 times

Re: Feature requests

Postby ShawnieBoy » 31 Jan 2014, 14:55

Pressing Esc or clicking on the Book icon in the top right will open a separate options window.

I know that Lodici is looking into being able to save multiple duels :)
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby Lodici » 31 Jan 2014, 17:22

ShawnieBoy wrote:I know that Lodici is looking into being able to save multiple duels :)
on my to-do list - http://code.google.com/p/magarena/issues/detail?id=459.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Feature requests

Postby muaddib » 03 Feb 2014, 11:11

There is no option 'save deck' in menu, but in Magarena 1.44 this option present in menu.
Attachments
scr5.png
User avatar
muaddib
Tester
 
Posts: 118
Joined: 03 Mar 2011, 08:37
Location: Russia
Has thanked: 0 time
Been thanked: 5 times

Re: Feature requests

Postby ShawnieBoy » 03 Feb 2014, 12:01

The Save/Load/Clear deck options are in the Deck Editor section, sorry about that.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby Lodici » 03 Feb 2014, 19:01

muaddib wrote:There is no option 'save deck' in menu, but in Magarena 1.44 this option present in menu.
The Save Deck is available via the Deck Editor. But you have to open the options menu to access it first. I have just published an update that adds Save to the action bar and should be available in the next build.
Attachments
Untitled.png
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Feature requests

Postby ShawnieBoy » 04 Feb 2014, 18:04

I think this is the best place to put in a request, or at least throw an idea out there.

Include a MagicAbilityTargetPicker(<ability>) and MagicTiming.GainAbility (The timing may be a bit strange, but something that can change the timing for each Ability, instead of a huge list in the MagicRuleEventAction)

Currently defining gaining an ability as a Pump isn't always best for the AI (which is the default unless the Ability is Vigilance,Haste,FirstStrike or DoubleStrike) the AI sees Pump as a p/t change, so will give a creature an ability, with the thought that it's actually increasing pt during combat. (e.g. Deathtouch being given to an unblocked creature, which the AI views as pt change.)
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby melvin » 05 Feb 2014, 03:25

Thanks for bringing this up, there is a lot of duplication of the same logic in various rules. As a start, I've consolidated all the logic in the GainChosen pattern, the other rules refer to the logic in GainChosen when needed (see https://code.google.com/p/magarena/sour ... 88009be510)

There are two parts to this, 1) when to use an ability and 2) how to choose the target.

The first part is as you have described: Haste/Vigilance -> First Main, First stike/Double strike -> Block, else Pump.

How to pick a target uses the appropriate target picker for the ability, see GainChosen.getPicker. For example, if the ability is deathtouch, the picker used is MagicDeathtouchTargetPicker.
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Feature requests

Postby muaddib » 05 Feb 2014, 08:28

Thanks
User avatar
muaddib
Tester
 
Posts: 118
Joined: 03 Mar 2011, 08:37
Location: Russia
Has thanked: 0 time
Been thanked: 5 times

Re: Feature requests

Postby ShawnieBoy » 06 Feb 2014, 03:54

I think I've found some more duplicate code:

In the MagicRuleEvent.java there's a ModPTChosen and ModPTGainChosen. With the right timing and target filters these two rules can replace:

PumpChosen,
PumpGainChosen, and
WeakenChosen

Add in a ModPTGroup and you can replace:

PumpGroup, and
WeakenGroup
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby ShawnieBoy » 09 Feb 2014, 20:55

Is it possible to add simple search logic to the 'Seach Text' in Card Explorer. Something like 'Flying -Defender' - would be really handy
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Feature requests

Postby TheNyGuy » 14 Feb 2014, 03:50

Are there any plans for additional game modes? Several AI players, Archenemy, Two-Headed Giant, Commander...
TheNyGuy
 
Posts: 24
Joined: 07 Apr 2013, 22:19
Has thanked: 2 times
Been thanked: 0 time

Re: Feature requests

Postby Lodici » 14 Feb 2014, 04:18

TheNyGuy wrote:Are there any plans for additional game modes? Several AI players, Archenemy, Two-Headed Giant, Commander...
Not from me. I would rather Magarena concentrated on improving the AI challenge in a standard single player duel. I will try to do my bit with the UI by giving the AI some personality (coming soon).... :)
Attachments
ais.png
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

PreviousNext

Return to Magarena

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 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 4 guests

Login Form