1. [Neolithic]To the End
  2. News

[Neolithic]To the End News

DD#118 A Bit Work on the Card Mini-Game

Hi, everyone. Welcome to another week's developer's diary.

I just got back from the hospital after taking surgery this morning. My mind is still a bit fuzzy under the effect of anesthetic and my body still feels quite uncomfortable. Thus, let's go straight to what happened this week before I collapse.

As the title mentioned, a major part of this week's content update is about our card mini-game as known as the Tombstone. Many different aspects of this mini-game have been improved. Here is a short breakdown:
1, AI (Artificial Idiot)
Previously, our AI opponent will do a lot of stupid things. Such as, summon a Fire Imp when their HP is below 4, causing them to die instantly. Now, we got an additional code block on each card to tell AI when is the best moment to use a card, when they shall consider other options first, and when they shall totally don't even try to use this card. As a result, the AI now takes action more reasonably. Here are some examples:
The AI will no longer summon Fire Imps when their HP is below 4.
The AI will no longer use HP Potion if their HP is full.
The AI will no longer summon a minion with Battlecry effects if such effects cannot trigger unless there are no better cards to play.
The AI will now use spells such as "Year of Rabbit" more efficiently.
The AI will now use items such as "Holy Hand Grenade" more efficiently.
The AI will now take priority to heal themselves if their HP is low.
Overall, I believe a better AI and an opponent with a higher difficulty level shall be smarter instead of like in some games, just giving AI a numeric bonus to increase the difficulty. The change will likely bring a bit more challenge now than before. But, it's still fun to play. (I forgot how many hours I spent on testing this. I didn't get bored. Thus, I think it's good.)

2, Divine Shield
It's just another concept I stole from Hearthstone. Certain minions with divine shield effects can now reduce incoming damage to 0, the shield will break afterward. That allows us to have more interesting minion cards such as one of the cards that I will mention later.

3, New Cards
As the main story in our main game progresses, we can now witness some first-hand information about how Templars fight their enemies on the battlefield for the first time. As a result, two Templar-related cards have been added to the Tombstone mini-game.
They are the Templar Knight minion card with taunt and divine shield

and the Holy Hand Grenade item card with an effect to deal great damage to all enemy undead and demon minions.

The Templar Knight can be quite useful when facing an enemy who intends to use a lot of low-cost minions to rush you. The Holy Hand Grenade may be quite situational. However, when playing it right, it may help you turn the table as it's a strong AoE that can annihilate most of the undead and demon minions currently in the game.

4, Species, item, and spell
Each minion card now has a species tied to them, such as "human," "undead," "animal," “plant,” and "demon." It allows new cards to develop some species-related effects just as the Holy Hand Grenade does in this week's updates.
Other cards will also have category information to tell if the card is an item or a spell. In addition to that, numeric effects on those cards may now be modified by other sources. Open up the possibility to have new cards that can buff their effects.
All those information is now displayed on the card. They may not have immediate effects right now. However, when we get to the point when we can customize decks instead of using totally random decks, it may be fun to build decks around certain themes and build counter strategies accordingly.

5, Deck Size and Fatigue
Previously, the deck size of each player is almost infinite. Now, each player's deck can only have 30 cards. After their deck is depleted, the fatigue effects will kick in and start to damage their HP. (Right, once again it's pretty much Hearthstone.) The remaining card number of a deck and the fatigue count is now displayed on the screen to allow players to make their strategy accordingly.


That's for the Tombstone. Of course, we have some other updates as well. For example, M4A1 used by the US military has been added to the game, more decorations have been added outside the Black Pyramid, and some bugs related to the FPS mode have been fixed.

That's for this week. But, one more thing. Happy holiday season! Many nations all over the world seem to celebrate the first day of May or the first Monday of May as a public holiday. (They are on the same day this year.) Meanwhile, some East Asia nations may even take many days off as a sequence of holidays. The most famous one is Japan's Golden Week. So, in order to celebrate such a global event, our game will go on a discount a few hours after this diary is published. It will last for a wild 9 days so that we can likely cover all the holidays during this period of time all over the world.

I hope everyone can enjoy their weekend and holidays. I may work on a bit of surprise to bring a bit more fun. But, no guarantee it will work as planned. :)

Today's changelog:
############Content################
[Tombstone]Added a window to show how many cards remain in a player's deck.
[Tombstone]The window will also show each player's current fatigue value.
############Debug#################
[Tombstone]Fixed a bug that causes AI to not use all their minions when taking action.
[Tombstone]Fixed a crash caused by a typo in Holy Hand Grenade's code.

Update, Version 20230427


English
############Content################
[Firearm]New Gun: M4A1
[Bazaar]The Weapon Merchant now sells M4A1
[Outside the Black Pyramid]If you allied with Eve, the Illuminati vendor robot now sells M4A1 with a -20% discount.
简体中文
############Content################
【枪械】新枪:M4A1
【巴扎】武器商人现在贩卖M4A1
【黑暗金字塔外】如果伊芙是你的友军,那么光照派的军需官机器人会贩卖M4A1并给你一个-20%的折扣价


Surgery tomorrow morning.
明天一早手术。

Update, Version 20230426



English
############Content################
[Tombstone]AI is discouraged from summoning "Cruel Slavedriver" if they don't already have another minion on their side of the board. (Battlecry effects cannot trigger.)
[Tombstone]AI is discouraged from summoning cats if their opponents do not have many minions on the board. (Battlecry effects are less efficient.)
[Tombstone]AI is discouraged from summoning succubus if their opponents do not have any minions on the board. (Battlecry effects cannot trigger.)
[Tombstone]New minion mechanics: Divine Shield (Reduce 1 incoming damage to 0.)
[Tombstone]New Card: Templar Knight (Divine Shield, Taunt, 6/4/5)
[Tombstone]Reduced Crazed Foreman's HP (6 -> 5)
简体中文
############Content################
【墓石牌】AI现在不被鼓励在己方场上没有仆从的情况下召唤【凶残的奴隶工头】。(战吼效果无法发动。)
【墓石牌】AI现在在对方场上没有很多仆从的情况下不被鼓励召唤猫猫。(因为战吼效果的效果不佳。)
【墓石牌】AI现在不被鼓励在敌方场上没有仆从的情况下召唤魅魔。(战吼效果无法发动。)
【墓石牌】新的仆从机制:圣盾(降低1次来袭的伤害至0。)
【墓石牌】新卡牌:圣殿骑士(圣盾,嘲讽,6/4/5)
【墓石牌】降低了发狂的工头的HP(6 -> 5)

Update, Version 20230425


English
############Content################
[Tombstone]New card: Holy Hand Grenade (Deal 4 damage to all enemy undead or demon minions.)
[Tombstone]AI learned to not use Holy Hand Grenade if their opponents do not have undead or demon minions on the board.
[Tombstone]AI is encouraged to use Holy Hand Grenade if their opponents have a lot of undead or demon minions on the board.
[Tombstone]AI is now discouraged from summoning dogs if they don't already have another minion on their side of the board. (Because, in that case, the Battlecry effects of dogs cannot trigger.)
[Tombstone]It is now possible to change a minion's species during the gameplay.
[Tombstone]When you mouse over a minion on the board, the minion detail window now displays the information about this minion you point at instead of the information of this minion card from the database.
[Tombstone]Each player now only has 30 cards in their deck so "fatigue" effects may be more common. (Still need a better UI display for this.)
[Tombstone]A spell card or an item card now displays their card type.
############System#################
[Tombstone]Changed the minion card render class's additional parameter from an array to a hash table.
[Tombstone]Minion card render class can now take a parameter of a minion object to overwrite some database card information.
[Tombstone]Added a utility module.
[Tombstone]Values about an item or a spell's power in the description of a card can now be changed during the gameplay based on the situation.
[Tombstone]Added functions in the player class that can modify an item or a spell's power.
[Tombstone]Added a step in the HP Potion's code to apply the modifier.
############Debug##################
[Tombstone]Fixed a bug that Aten Cultists can let their own draw a card when receiving 0 damage.
简体中文
############Content################
【墓石牌】新卡牌:神圣手榴弹 (对敌方全体不死或恶魔仆从造成4点伤害。)
【墓石牌】AI学会了在对手场上没有恶魔或不死仆从的时候不去使用神圣手榴弹。
【墓石牌】AI被鼓励在对方场上有很多恶魔或不死仆从的时候去使用神圣手榴弹。
【墓石牌】AI现在不被鼓励在己方场上没有仆从的情况下召唤狗狗。(因为在那种情况下狗狗的战吼效果无法发动。)
【墓石牌】现在可能在游戏过程中改变一个仆从的种族信息。
【墓石牌】现在当你用鼠标指向一个场上的仆从时,仆从细节窗口会显示关于这个仆从的信息,而非它对应的卡牌在数据库中的信息。
【墓石牌】每个玩家现在总共只有30张卡牌,所以疲劳效果可能更容易出现。(依然需要更好的界面表现。)
【墓石牌】物品卡和法术卡现在会在牌面上显示其种类。
############System#################
【墓石牌】改变了仆从卡牌渲染类接受的额外参数列表的类型,此前是数组,现在是哈希表。
【墓石牌】仆从卡牌渲染类现在可以接收一个仆从实例作为参数,用于覆盖来自数据库中的一些信息。
【墓石牌】加入了一个工具模组
【墓石牌】卡片上关于物品效果和法术效果的数值现在可以根据当前状况实时改变。
【墓石牌】在玩家类中加入了可以改变物品和法术效果的函数。
【墓石牌】在生命药水的执行代码中加入了一步来计算各种修改。
############Debug##################
【墓石牌】修复了阿腾教徒可以在受到0点伤害的时候也让他们的主人抽一张卡的Bug。

Update, Version 20230424


English
############Content################
[Outside the Black Pyramid]Added some stone decorations.
[Tombstone]Minions' species will now be displayed on their cards. (They do not use the same species types as the main game. Instead, they use a simplified version.)
[Tombstone]Localized all species information for this mini-game.
[Tombstone]When you use your mouse to hover over a card in your hand, the card will now be moved a bit higher to display the species information.
############System#################
[Tombstone]Added a failsafe in code, if a minion's species information is not localized, it will not display.
简体中文
############Content################
【黑暗金字塔外】加入了一些石头装饰物。
【墓石牌】仆从的种族信息现在会显示在卡牌上。(他们和主游戏使用不同的种族分类,是一个更简化的版本。)
【墓石牌】对所有仆从的种族信息进行了本地化。
【墓石牌】现在当你用鼠标指向手中的仆从牌时,卡牌的坐标会略微向上一点,从而完整地显示仆从的种族信息。
############System#################
【墓石牌】加入了一个程序自动纠错措施,如果一个仆从的种族信息未被本地化,则不会显示。