Project1

标题: 请问这个可以单独放在属性栏 吗 [打印本页]

作者: j296196585    时间: 2017-11-11 19:58
标题: 请问这个可以单独放在属性栏 吗
本帖最后由 j296196585 于 2017-11-11 20:04 编辑

路过的道友帮忙搞一下 这个插件
如何放在属性栏

JAVASCRIPT 代码复制
  1. this.contents.fontFace = "汉仪小隶书简";
  2.         var name = "声望";
  3.         this.drawText(name, x, y, width);
  4.         this.contents.textColor = this.textColor(5);
  5.         var index = actor.actorId() + shift;
  6.         if ($gameVariables.value(index) < 100)
  7.                 name = "【默默无闻】";
  8.         else if ($gameVariables.value(index) < 200)
  9.                 name = "【江湖新秀】"
  10.                 else if ($gameVariables.value(index) < 300)
  11.                 name = "【神】"
  12.         else if ($gameVariables.value(index) < 300)
  13.         {
  14.                 if($gameVariables.value(index+4) - $gameVariables.value(actor.actorId()+20) >= 100)
  15.                         name = "【江湖少侠】";
  16.                 else if($gameVariables.value(index+8) - $gameVariables.value(actor.actorId()+10) >= 100)
  17.                         name = "【江湖恶霸】";
  18.                 else
  19.                         name = "【江湖浪子】";
  20.         }
  21.         else
  22.                 name = "【默默无闻】"
  23.     this.drawText(name, x+64, y, width);
  24.  
  25. };

TL2PZ3Z2%7TE5TN2Z`ND(1P.png (1.23 MB, 下载次数: 2)

TL2PZ3Z2%7TE5TN2Z`ND(1P.png

K@JT5IE_84ZE30QIG_3L]%9.png (18.79 KB, 下载次数: 2)

K@JT5IE_84ZE30QIG_3L]%9.png

作者: WantMy蕙    时间: 2017-11-12 13:47
如果是MV之前的制作器的话我会告诉你插在main上面2333,现在应该是要用java导出JS插件然后再放进去了吧?
作者: 在野月光族    时间: 2017-11-13 03:50




















欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1