| 赞 | 14 |
| VIP | |
| 好人卡 | |
| 积分 | 25 |
| 经验 | |
| 最后登录 | 2024-3-12 |
| 在线时间 | 912 小时 |
- 梦石
- 0
- 星屑
- 2457
- 在线时间
- 912 小时
- 注册时间
- 2014-10-14
- 回帖
- 1155

|
楼主 |
发表于 2017-11-20 14:23:29
|
显示全部楼层
- /******************************************************************************/
- /***********************************江湖声望划分*******************************/
- /******************************************************************************/
- var shift = 20; //变量起始位置
- //shift = 0时,声望1-4;善名5-8;恶名9-12;悟性、福缘、武常以此类推
- //数据库中第N个角色对应第N个变量,目前最多4个角色
- Window_Base.prototype.drawActorClass = function(actor, x, y, width) {
- width = width || 168;
- this.contents.textColor = this.textColor(3);
- this.contents.fontFace = "汉仪小隶书简";
- var name = "声望";
- this.drawText(name, x, y, width);
- this.contents.textColor = this.textColor(5);
- var index = actor.actorId() + shift;
- if ($gameVariables.value(index) < 100)
- name = "【默默无闻】";
- else if ($gameVariables.value(index) < 200)
- name = "【江湖新秀】"
- else if ($gameVariables.value(index) < 300)
- {
- if($gameVariables.value(index+4) - $gameVariables.value(actor.actorId()+20) >= 100)
- name = "【江湖少侠】";
- else if($gameVariables.value(index+8) - $gameVariables.value(actor.actorId()+10) >= 100)
- name = "【江湖恶霸】";
- else
- name = "【江湖浪子】";
- }
- else
- name = "【默默无闻】"
- this.drawText(name, x+64, y, width);
-
- };
复制代码
把这样一个小插件 修改成 属性栏 他要200?????
然后我感觉不值
我让他单独扩展一下
就是不需要角色 控制 直接变量操作
他居然认为 我搞他 有没有这种奇才
|
|