Skip to content

Instantly share code, notes, and snippets.

@eihigh
Last active January 31, 2019 01:41
Show Gist options
  • Save eihigh/c80ed4ac75db614ad7ca75114b792bad to your computer and use it in GitHub Desktop.
Save eihigh/c80ed4ac75db614ad7ca75114b792bad to your computer and use it in GitHub Desktop.

ここにてテスト


heal コマンド

アクターのパラメータを回復します。

<heal hp="Alice" n="50"/>
属性 説明
(1) hp, mp, tp 回復するパラメータと対象
(2) n, n_var 回復する値

(1) -- 回復するパラメータと対象

属性 説明
hp アクター名 (all=全員)

(2) -- 回復する値

属性 説明
n 0以上の整数 値を直接指定
n_var 変数名 変数を参照

get コマンド

所持品を増やします。

<get item="薬草"/>
<get weapon="木の棒" n_var="pins"/>
属性 説明
(1) item, weapon, armor 入手するものの種類と名前
(2) n, n_var 入手する値

inc コマンド

変数を+1します。

<inc var="ノック数"/>
属性 説明
var 変数名 加算する変数名
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment