使用教学pvf
Script\monster\new_goblin\action\throw.act
调用测试投掷哥布林
/////////////////////////////////////////吸附效果/////////////////////////////////
1.对敌人吸附
2.对敌人吹向外边
[TRIGGER]
[FRAME]
2 2
[WHICH]
[ALL CHARACTER TEAM] //对象 可以改成序列1的对象
[DO BEHAVIOR]
[CHECKUP OBJECT]
0
[/TRIGGER]
[BEHAVIOR]
[PULL APPENDAGE]
5 5 3000
[/BEHAVIOR]
//序列1
[SUMMON MASTER]
[SUMMON OBJECT]
[TARGET]
[LAST ATTACKER]
[LAST ACTIVE ATTACKER]
[LAST ATTACKSCES]
[LAST ACTIVE ATTACKSCES]
[CHARACTER ATTACKSCESS]
[LAST ATTACKERS] 10000
[ALL OUR TEAM]
[ALL ENEMY]
[ALL MONSTA TEAM]
[ALL CHARACTER TEAM]
[CHARACTER]
[MONSTA TER]
[PASSIVE]
[AI CHARACTER]
左右方向都是吸附力5,持续3秒
[PULL APPENDAGE]
5 5 3000
拓展,写成负数就是往外推 也可以一边推,一边吸附
[PULL APPENDAGE]
-5 -5 3000
[PULL APPENDAGE]
-5 5 3000
//////////////////////////////////////////玩家禁魔/////////////////////////////////////////////////
[MUCU LIMIT CONTROL]
10000
禁魔10秒钟
/////////////////////////////////////////玩家强制扣血///////////////////////////////////////////////
[RESTORE]
[HP]
-99
[%]
改成整数就是加血 无视玩家和怪物的无敌
/////////////////////////////////////////怪物进入无敌和解除无敌/////////////////////////////////////////
关闭怪物的破坏框
[SET DAMAGE BOX]
[OFF]
解除无敌就是打开破坏框
[SET DAMAGE BOX]
[ON]
//怪物瞬移到玩家
[TRIGGER]
[FRAME]
2 2
[WHICH]
[CHARACTER] //对象玩家
[GET TARGET] //选取
[DISTANCE] //选取条件
[HIGH]
[DO BEHAVIOR]
[CHECKUP OBJECT]
0
[/TRIGGER]
[BEHAVIOR]
[TELEPORT] //传送代码
[POS]
-50 0 0
[MOVE ME]
[/TELEPORT]
[/BEHAVIOR]
暂无评论内容