HearthBuddy 复生 reborn

 https://hearthstone.gamepedia.com/Reborn

Reborn is an ability that causes a minion to be resummoned with 1 Health the first time it's destroyed. It was introduced in the Saviors of Uldum expansion.

Reborn is represented by a cracked blue glow around the minion.

  • Reborn minions keep the max health of the original minion.  ??
  • A minion that is resummoned by Reborn will not keep any enchantments it had.
  • The Reborn keyword functions similarly to Divine Shield and Stealth. It is both an ability of a minion and an effect on the minion.[1]
    • When the minion is first destroyed, it loses the visual effect but retains the keyword. The keyword is then functionally meaningless.
    • If a minion that has been Reborn is returned to the hand and played again, it will regain its Reborn effect.
    • If a Reborn minion is Silenced, it loses its Reborn effect.
  • Each Reborn minion is considered its own unique copy of that minion. Any copy resurrected will return with full Health and the Reborn effect active.[2]
  • The Reborn effect is considered summoning and will interact with on-summon triggers like Khadgar and Knife Juggler.

 

// Token: 0x04006269 RID: 25193
    REBORN = 1085,
    // Token: 0x0400626A RID: 25194
    HAS_BEEN_REBORN = 1336,

 

public class Card : MonoBehaviour

public void ActivateStateSpells(bool forceActivate = false)

if (this.m_entity.HasTag(GAME_TAG.REBORN))
{
this.m_actor.ActivateSpellBirthState(SpellType.REBORN);
}

 

public class Card : MonoBehaviour

private bool HandlePlayActorDeath(Actor oldActor)

if (!this.m_cardDef.m_SuppressDeathrattleDeath && this.m_entity.HasTag(GAME_TAG.REBORN))
{
this.ActivateActorSpell(oldActor, SpellType.REBORN_DEATH);
}

转载于:https://www.cnblogs.com/chucklu/p/11314664.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值