動作: 中斷

Action: Break


在執行多個動作時判斷條件來中斷動作。(通常用在Action或Loop執行的動作)

When multiple actions are executed, the condition is judged to interrupt the action. (Usually used in actions executed by Action or Loop)

屬性Attributes


Untitled

範例Examples



BoosBarDisplay:
  Action:
  - Loop[onStart=BoosBarDisplay-Start;onTime=BoosBarDisplay-Time;onEnd=BoosBarDisplay-End;period=10;duration=200]

BoosBarDisplay-Start:
  Action:
  - BossBar[message=&bsb_target_name&-&bsb_target_nowhealth&/&bsb_target_maxhealth&;Style=SEGMENTED_10;Color=RED;Progress=&bsb_target_health_proportion&]

BoosBarDisplay-Time:
  Action:
  - BossBar[message=&bsb_target_name&-&bsb_target_nowhealth&/&bsb_target_maxhealth&;Progress=&bsb_target_health_proportion&]
  - Break[ConditionType=Compare;ConditionContent=&bsb_target_nowhealth&~0.0]
  - BossBar[Delete=true]

BoosBarDisplay-End:
  Action:
  - BossBar[Delete=true]