What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Custom Deck] "Murloc Custom Deck"

Status
Not open for further replies.

Shadosky

New Member
Joined
May 22, 2014
Messages
22
Good news everyone

Since nobody have posted their own CustomDeck I post here the Alpha version of the mine hoping that it can help those who are a little lost :)

Actually the AI : - drop card in a logic order
- Rush the enemy Hero or Taunter ( trade function in coming )

At the moment I've coded :

- The major part of the functions who manage the card's drop. -> DropHelper.cs [PERCENTAGE=85][/PERCENTAGE]

- A class for each card used in the deck (Default class for other card on the way...)[PERCENTAGE=75][/PERCENTAGE]

- Main class in progress -> i_am_murloc.cs [PERCENTAGE=60][/PERCENTAGE]

I'm working on the Trade class -> TradeHelper.cs [PERCENTAGE=50][/PERCENTAGE]

Here is the list of card u need in your Deck :
Screenshot_DeckBuild.png

In English -> Warlock - Deckbuilder - HearthPwn



Work In Progress

- Code the Leroy card to use instead of the rocketeer
- TradeHelper.cs -> Lethal dammage



Download

The Project his on GitHub : https://github.com/Shadosky/Custom_Deck/tree/new

But u can find the .zip here :

View attachment MurlocCustomRush.zip Rush mode only trade taunter & hero


View attachment MurlocCustomDeckAlpha1.zip Including TradeHelper ( Murloc kill dangerous ennemy minions )

Just unzip it in your HearthBuddy\CustomDecks\ folder



It's an Alpha Version & i post it for helping people who try to dev & are blocked, it can mannage 90% win vs PracticeNormal but I still have a lot to do on it..
Ask any question you need if u have trouble to understand how it work



How to add a card in the deck

Create a new .cs file the name must be the Id of the card for the exemple : CS2_065.cs
Remplace in this code all IdCard with the id of the card u wanna add


Code:
using System.Collections;
using System.Linq;
using Triton.Bot;
using Triton.Common;
using Triton.Game;
using Triton.Game.Mapping;

// Class & struct by Shadosky
// Special thanks to Hankerspace
// Don't forget us in our CustomDeck's credit if u use code find here

namespace Shadosky.murloc
{
		public class IdCard : ICardDefinition
		{
			public string Id { get { return "IdCard"; } }
			// Cardname: 
		    		    
			public PlayPriority GetPlayPriority()
			{
                if (DropHelper.DoIHaveTaunter())
					return PlayPriority.Low;
                return PlayPriority.High;
					
			}

			public HSCard GetCardToUseOn(HSCard thisCard )
			{
                if (Murloc.DoTheEnemyHasATaunter())
                {
                    // Do our attack on enemy taunter
                   return Murloc.RetrieveEnemyTaunter();
                }

                // Enemy has NO taunter and we can target him => go for the face
                if (TritonHS.EnemyHero.CanBeTargetedByOpponents)
                {
                    // Do our attack
                    return TritonHS.EnemyHero;
                }
				
				return null;
			}

		    public HSCard UseBattlecryOn(HSCard thisCard)
            {
                return null;
            }
		}
	
}

Put some condition in the GetPlayPriority() function and return a PlayPriority for each case // .Low .Normal .High .Ultra or .DontPlay


In the I_am_murloc.cs :

Code:
public Dictionary<string, ICardDefinition> MurlocMap = new Dictionary<string, ICardDefinition>()
		{
		{ "CS2_065", new CS2_065()},
		{ "CS2_122", new CS2_122()},
		{ "CS2_124", new CS2_124()},
		{ "CS2_168", new CS2_168()},
		{ "CS2_173", new CS2_173()},
		{ "CS2_213", new CS2_213()},
		{ "EX1_004", new EX1_004()},
		{ "EX1_029", new EX1_029()},
		{ "EX1_062", new EX1_062()},
		{ "EX1_103", new EX1_103()},
		{ "EX1_319", new EX1_319()},
		{ "EX1_506", new EX1_506()},
		{ "EX1_506a", new EX1_506a()},
		{ "EX1_507", new EX1_507()},
		{ "EX1_508", new EX1_508()},
		{ "EX1_509", new EX1_509()},
		{ "NEW1_017", new NEW1_017()},
		{ "NEW1_019", new NEW1_019()},
		{ "GAME_005", new GAME_005()}
		};

add ur card in the dictionary like all this one ( Format : {"IdCard", new IdCard()} )

Hope this can help you :)
 
Last edited:
i love french card name :D
looking forward to test it!

Merci !

btw, testing it for a couple of hours to see how it goes
 
Last edited:
Basic trading function added to destroy dangerous card & don't suicide X murloc on a taunter when one is enought buffed to kill ^^"
 
awsome class man its going good i hope u wil make more classes i would even donate to u
 
You have reached the max. number of possible free downloads for this hour, please try again in an hour or purchase one of our premium products.

i wanted to try the new version before i go to bed, but i cannot.
are u planning to use SVN or could you link the zip directly to the forum instead for ease of use ?
 
Please post the zip as an attachment rather than an external link. Thanks.
 
dam 10 wins 1 lose 90% atm i love murloc decks lol op:) at turn 4 5 they can be almost already dead because they have big cards like 5 mana hehe then i already did alot of damage to him and im in casual mode
 
I just wanted to thank you for contributing. People like you are exactly what makes this community great. Keep up the good work.
 
I will disenchant cards for getting that deck and testing, thanks for your api, I tought murlock/zoo was the best option for having an api
 
Hi! I think you could improve the deck a bit before putting work work into this API.

This is my suggestion:
WbMA49T.png


Main thing is adding power overwhelming and soulfire. Those cards add too much damage for very low price. The cards that need to go for these are raid leader and murloc raider which are both quite bad.
You can use 2 arcane golems or 1 arcane golem and 1 doomguard to replace wolfriders. They simply do more fast damage.


Some important things are to try to use power overwhelming at the end. I've seen current bot use 2 power overwhelming on two different minions instead of same one, that's something that should be fixed. Soulfire should be used to kill, this card should have low priorty and increase if you have just that card in your hand. Or used to kill taunts to protect your murlocs. Leeroy should always be used at the end.
 
Hi! I think you could improve the deck a bit before putting work work into this API.

This is my suggestion:
WbMA49T.png


Main thing is adding power overwhelming and soulfire. Those cards add too much damage for very low price. The cards that need to go for these are raid leader and murloc raider which are both quite bad.
You can use 2 arcane golems or 1 arcane golem and 1 doomguard to replace wolfriders. They simply do more fast damage.


Some important things are to try to use power overwhelming at the end. I've seen current bot use 2 power overwhelming on two different minions instead of same one, that's something that should be fixed. Soulfire should be used to kill, this card should have low priorty and increase if you have just that card in your hand. Or used to kill taunts to protect your murlocs. Leeroy should always be used at the end.

Maybe you could use this deck and rework his Custom deck ;) just an advise (actually i think he will not change his deck for your good pleasure).
 
Hi! I think you could improve the deck a bit before putting work work into this API.

This is my suggestion:
WbMA49T.png


Main thing is adding power overwhelming and soulfire. Those cards add too much damage for very low price. The cards that need to go for these are raid leader and murloc raider which are both quite bad.
You can use 2 arcane golems or 1 arcane golem and 1 doomguard to replace wolfriders. They simply do more fast damage.


Some important things are to try to use power overwhelming at the end. I've seen current bot use 2 power overwhelming on two different minions instead of same one, that's something that should be fixed. Soulfire should be used to kill, this card should have low priorty and increase if you have just that card in your hand. Or used to kill taunts to protect your murlocs. Leeroy should always be used at the end.

Leroy gonna be add soon ( don't put him at first cause I don't have the card yet on my account ^^ )

I like to play with Soulfire & Power OverWhelming too but those 2 are a bit tricky to play and i didn't do anything for spell yet but i gonna code them later to do the best with these card ( need to do the Lethal function for use them as finisher )

I don't have test this deck with Doomguard & Arcane Golem but i gonna add those card too to the list of playable cards soon if they can improve the win rate

Thx for the feedback ;)
 
I use the murloc deck found here. Ranked/Legend Guides & Decklists as to these are the currently the most common card decks used by pros to get legendary

Not saying you or I will achieve legendary. i just wanted to see how the bot would behave with these decks. if the right logic was there it would be amazing. But im a noob and having hard time with making an API . unless some sorta Tool comes out or i just spend more time on it. ill take a look at yours in hopes to understand what im doing wrong

Keep up the good work
I thank you.
 
Last edited:
Botted this deck a few games this morning... Already up to Rank 16.

The main thing I notice about both this API along with the default bot API is:

When you have killing blow, the API tries to take out other minions first resulting in not finishing off the enemy. I've seen a few times where the minions had enough damage to kill the enemy but went for minions instead.

Maybe you can put something in the code thats is like "If minionDmg >= enemyChampion then killChampion else loopX" or something like that
 
Thank you very much for this deck.

One think I did notice is that sometimes the bot will play a battlecry murloc before putting all the murloc in his hand. So this means that it wil buff the minions on the field and the next murloc you put will not be buffed.

Battlecry murlock: Coldlight Seer - Hearthstone: Heroes of Warcraft Wiki

Another thing I just saw was that the bot played 2 minions before putting down Knife juggler. Knife Juggler - Hearthstone: Heroes of Warcraft Wiki

One more thing I noticed is that it has issues against taunted mobs? Maybe it was because the enemy had low HP and the bot thought he could finish it off without considering the taunt.
 
Last edited:
Status
Not open for further replies.
Back
Top