Difference between revisions of "Mir3DBUFFTriggerScript" - LOMCN Wiki

Play Now
(Created page with "==BUFF triggers scripts== Function: BUFF triggers 00-QFunction.txt script Trigger when buff is added: Add [@_buff_add(< BUFF NUMBER>)] TO 00-QFunction.txt FILE Example: [@...")
 
 
Line 49: Line 49:
  
 
https://www.lomcn.net/wiki/images/9/9f/BuffScriptMir3D.png
 
https://www.lomcn.net/wiki/images/9/9f/BuffScriptMir3D.png
 +
 +
<div style="text-align:right;">[[Mir3DDocumentation|Back]]</div>

Latest revision as of 15:02, 15 June 2025

BUFF triggers scripts

Function: BUFF triggers 00-QFunction.txt script

Trigger when buff is added: Add [@_buff_add(< BUFF NUMBER>)] TO 00-QFunction.txt FILE

Example:

[@_buff_add(4501)]

  1. IF
  2. ACT

TopMessage "You have successfully added the buff number 4501" FALSE


删除BUFF时触发:在00-QFunction.txt 文件中 添加 [@_buff_delete(<BUFF编号>)]

Example:

[@_buff_delete(4501)]

  1. IF
  2. ACT

TopMessage "You have successfully removed the BUFF number 4501" FALSE


移除BUFF时触发:在00-QFunction.txt 文件中 添加 [@_buff_remove(<BUFF编号>)]

Example:

[@_buff_remove(4501)]

  1. IF
  2. ACT

TopMessage "You successfully removed the buff number 4501" FALSE


Trigger when buff is executed: Add [@_buff_run(<BUFF number>)] to00-QFunction.txt the file

[@_buff_run(4501)]

  1. IF
  2. ACT

TopMessage "The BUFF with the number 4501 was successfully executed 1 time, and the execution time is calculated according to the BUFF interval" FALSE


注意:使用以上功能需要先在BUFF界面开启功能才能生效

Legend:

BuffScriptMir3D.png