Project1

标题: 求个战斗相关插件 [打印本页]

作者: 玄羽    时间: 2016-12-10 20:29
标题: 求个战斗相关插件
求插件,效果:每击杀一个敌人增加某个变量(即时增加,不是等到战斗结束,也就是说战斗中可以直接用)
作者: 玄羽    时间: 2016-12-10 20:30
验证码有毒……
作者: sutao80216    时间: 2016-12-11 01:13
Yanfly的YEP_SkillCore.js可以做到,你仔细读读插件里面的“Lunatic Mode - The Skill Phases”这一段。
作者: 玄羽    时间: 2016-12-11 10:48
是这个吗?没看明白,另外我想要的是统计杀敌数量的插件

Lunatic Mode – The Skill Phases
“疯狂模式”——技能阶段

For this skill, multiple effects are applied and at different phases. The various phases are as follows:

对于技能,在不同的阶段应用多个特效。可以变化的阶段如下:

Before Effect Phase (influenced by this plugin)
if skill successfully lands:
– Pre-Damage Effect Phase (influenced by this plugin)
– Damage Phase
– Post-Damage Effect Phase (influenced by this plugin)
– Item Trait Effects Phase
After Effect Phase (influenced by this plugin)

特效阶段(被插件影响)之前
如果技能成功land:

提前伤害效果阶段(被插件影响)
伤害阶段
后续伤害效果阶段(被插件影响)
物品特性效果阶段
特效阶段(被插件影响)之后
There’s four phases which can be influenced by this plugin. Two of which do not matter if the effect successfully lands or not, two of which do matter if the skill does land.

这里有四个可被插件影响的阶段。其中两个与特效是否land无关,另外两个只当技能land才起作用。

Skill and Item Notetags:

技能和物品注释:

<Before Eval>
code
code
</Before Eval>

<Pre-Damage Eval>
code
code
</Pre-Damage Eval>

<Post-Damage Eval>
code
code
</Post-Damage Eval>

<After Eval>
code
code
</After Eval>
If you wish to use custom effects for your skill, you can insert the respective notetags into the skill (or item) noteboxes and it will run the code that appears in between the tags. However, using any form of comments in this tag will block out code that follows.

如果你想对技能使用自定义特效,你可以在技能(或物品)的注释栏分别插入对应的注释,它运行注释之间出现的代码。然而,在注释中使用任一形式的comment会打断后面的代码。




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