HearthBuddy 突袭 rush

https://hearthstone.gamepedia.com/Rush

Rush is an ability allowing a minion to attack other minions the same turn it is summoned or brought under a new player's control. Unlike Charge, Rush cannot be used to attack the enemy hero. Rush is represented by a shifting thick green border around the minion.

Rush was first introduced in The Witchwood and has appeared in every set since. It has functionally replaced Charge as an evergreen keyword.

  • Charge will not be overridden by Rush, and Rush has no effect if the minion isn't exhausted. If Rush is given to a minion with Charge or a minion ready to attack, it can still attack the enemy hero.
  • If there are no enemy minions to attack, the Rush visual effect will disappear. However, if a new minion is summoned for them, it will return.
  • Granting Rush to a minion that has already attacked will not allow them to attack again. This includes Rush given through Magnetic buffs, where the original minion could attack if it were normally summoned.

 

public enum GAME_TAG

// Token: 0x0400627F RID: 25215
    RUSH = 791,
    // Token: 0x04006280 RID: 25216
    ATTACKABLE_BY_RUSH = 930,

 

public abstract class EntityBase

// Token: 0x06007471 RID: 29809 RVA: 0x000E925E File Offset: 0x000E765E
    public bool HasRush()
    {
        return this.HasTag(GAME_TAG.RUSH);
    }

 

public class TRL_Dungeon_Boss_203h : TRL_Dungeon

protected override IEnumerator RespondToPlayedCardWithTiming(Entity entity)

if (entity.HasTag(GAME_TAG.RUSH))
{
yield return base.PlayAndRemoveRandomLineOnlyOnce(enemyActor, this.m_RushLines);
}

 

if (entity.HasTag(GAME_TAG.RUSH))
{
this.$current = base.PlayAndRemoveRandomLineOnlyOnce(enemyActor, this.m_RushLines);
if (!this.$disposing)
{
this.$PC = 9;
}
return true;
}

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(330)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2015-08-07 Static Classes and Static Class Members
点击右上角即可分享
微信分享提示