Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Questions about A.I
Jason z
#1 Posted : Tuesday, August 1, 2017 11:58:06 AM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
The new AI will not use Abusive Sergeant and Dire Wolf Alpha. I set it up and it will not be used
QQ 80705472 wechat 80705472 discord jasonzh_
JoyAdmin
#2 Posted : Tuesday, August 1, 2017 10:40:52 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)
By default [Abusive Sergeant] will be hold in hand if there is no other friendly minion on board can attack enemies.

[Dire Wolf Alpha] will be hold in hand if there is on other friendly minions on board to protect it.

You can change all default behaviors with your own .json file.
1 user thanked JoyAdmin for this useful post.
Jason z on 8/2/2017(UTC)
Jason z
#4 Posted : Wednesday, August 2, 2017 6:20:12 AM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
JoyAdmin;50622 wrote:
By default [Abusive Sergeant] will be hold in hand if there is no other friendly minion on board can attack enemies.

[Dire Wolf Alpha] will be hold in hand if there is on other friendly minions on board to protect it.

You can change all default behaviors with your own .json file.

Joy, I have modified, but there are minions, they will not use. Is not the relationship with the global coefficient? I use the default coefficient.
QQ 80705472 wechat 80705472 discord jasonzh_
Jason z
#3 Posted : Wednesday, August 2, 2017 8:24:26 AM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
JoyAdmin;50622 wrote:
By default [Abusive Sergeant] will be hold in hand if there is no other friendly minion on board can attack enemies.

[Dire Wolf Alpha] will be hold in hand if there is on other friendly minions on board to protect it.

You can change all default behaviors with your own .json file.

{
"GameCardId":"CS2_188",
"ConfigComment":"Battlecry: Give a minion +2 Attack this turn.",

"BeforePlayCardBonus":
{
"values":
[
{
"comment":"场面有随从的时候优先打出叫嚣",
"condition":"my_minions(count(), minioncard=true)>0)",
"value":"20",
}
,

],
},

}

{
"GameCardId":"EX1_162",
"ConfigComment":"+1 Attack from Dire Wolf Alpha.",

"BeforePlayCardBonus":
{
"values":
[
{
"comment":"场面有2个随从的时候优先打出恐狼",
"condition":"my_minions(count(), minioncard=true)>1)",
"value":"20",
}
,

],
},

}
QQ 80705472 wechat 80705472 discord jasonzh_
JoyAdmin
#5 Posted : Wednesday, August 2, 2017 12:17:38 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)

"condition":"my_minions(count(), minioncard=true)>0)", ---> "condition":"my_minions(count())>0)",


"condition":"my_minions(count(), minioncard=true)>1)", ---> "condition":"my_minions(count())>1)",



1 user thanked JoyAdmin for this useful post.
Jason z on 8/2/2017(UTC)
Jason z
#7 Posted : Wednesday, August 2, 2017 9:41:18 PM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
JoyAdmin;50629 wrote:
"condition":"my_minions(count(), minioncard=true)>0)", ---> "condition":"my_minions(count())>0)",


"condition":"my_minions(count(), minioncard=true)>1)", ---> "condition":"my_minions(count())>1)",




thank you joy
QQ 80705472 wechat 80705472 discord jasonzh_
Jason z
#6 Posted : Thursday, August 3, 2017 7:21:16 AM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
JoyAdmin;50629 wrote:
"condition":"my_minions(count(), minioncard=true)>0)", ---> "condition":"my_minions(count())>0)",


"condition":"my_minions(count(), minioncard=true)>1)", ---> "condition":"my_minions(count())>1)",




Would you please see me writing this right?


{
          "GameCardId": "CFM_305",
          "ConfigComment": "+ 1 / + 1 from Smuggler's Run.",
        
          "BeforePlayCardBonus":
         {
                                               "Values":
                                               [
                                                              {
                                                              "Comment": "When I follow the hands of more than 1 priority to play maneuver"
                                                                     "Condition": "my_hand (count (), minioncard = true)> = 2)",
                                                                     "Value": "200",
                                                            }
,
 
                                               ],
  },
   
}
QQ 80705472 wechat 80705472 discord jasonzh_
JoyAdmin
#8 Posted : Thursday, August 3, 2017 12:17:03 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)
if you want to play 'Smuggler's Run' as early as possible, use 'InHandPlayPriority'.

{
"GameCardId": "CFM_305",
"ConfigComment": "+ 1 / + 1 from Smuggler's Run.",

"InHandPlayPriority":
{
"Values":
[
{
"Comment": "When I follow the hands of more than 1 priority to play maneuver"
"Condition": "my_hand (count (), minioncard = true)> = 2)",
"Value": "200",
}
,

],
},

}
1 user thanked JoyAdmin for this useful post.
Jason z on 8/5/2017(UTC)
Jason z
#9 Posted : Saturday, August 5, 2017 10:48:29 PM(UTC)
Jason z


Rank: Advanced Member

Groups: Registered
Posts: 97
Man
Location: china

Thanks: 30 times
Was thanked: 50 time(s) in 20 post(s)
JoyAdmin;50641 wrote:
if you want to play 'Smuggler's Run' as early as possible, use 'InHandPlayPriority'.

{
"GameCardId": "CFM_305",
"ConfigComment": "+ 1 / + 1 from Smuggler's Run.",

"InHandPlayPriority":
{
"Values":
[
{
"Comment": "When I follow the hands of more than 1 priority to play maneuver"
"Condition": "my_hand (count (), minioncard = true)> = 2)",
"Value": "200",
}
,

],
},

}

thank you =)
QQ 80705472 wechat 80705472 discord jasonzh_
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.098 seconds.