折磨 (Tormented)
状态效果命令:/effect give @p midnight:tormented 30 0

当玩家拥有此效果时,每秒都会受到1点()“折磨”类型的伤害,直到效果结束。

附源代码:

  public void m_6742_(LivingEntity livingEntity, int amplifier) {
    if (livingEntity.f_19853_.f_46443_)
      return; 
    double x = livingEntity.m_20185_();
    double z = livingEntity.m_20189_();
    if (x != this.x || z != this.z || livingEntity.m_6047_() || (livingEntity.m_20184_()).f_82480_ > 0.0D) {
      this.x = x;
      this.z = z;
      livingEntity.m_6469_(livingEntity.f_19853_.m_269111_().m_269079_(MnDamageTypes.TORMENTED), 0.5F);
    } 
  }
}
折磨 (Tormented)
折磨 (Tormented)
资料分类:DEBUFF

短评加载中..