您的位置: 首页 > 技术教程 >

V8M2引擎宠物说明整理

发布日期:2020-01-19 10:07:54


宠物功能开启及设置:M2-》选项-》宠物设置



宠物抓取的2个方式:


抓宠物技能:

90,宠物捕捉,2,70,5,50,60,2,20,20,0,18,50,21,100,24,200,26,400,28,800,30,1600,33,3200,36,6400,39,12800,42,25600,46,51200,50,102400,55,204800,60,409600,66,819200,60,,3,,

技能



抓宠物道具

1255,捕捉网,94,3,1,16,3,0,1195,10000,2,5,0,0,0,0,0,0,0,0,0,0,0,0,251,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0


完善已知宠物的缺陷!

宠物蛋相关(StdMode: 91{系统通用宠物蛋,用于宠物捕捉}, 92{自定义宠物蛋,用于怪物掉落或其他地方}):


【★★★★必加,名字不要变★★★★★】

941,宠物蛋,91,0,,,,,3710,,,,,,,,,,,,,,,,255,0,0,0,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0


[可以自行添加]

942,白野猪,92,0,,,,,3710,,,,,,,,,,,,,,,,255,0,0,0,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0


------------------------------------------------------------------------------------------------------ ---------------------------------------------------------------


943,准确敏捷技能,93,0,1,17,1000,1,1964,0,22,95,0,0,0,0,0,0,0,0,0,0,0,0,251,,,,,0,0,0,0,0,1,2,3,4,5,6,7,8,9,0,0,0,0,0,0,0,0,0,0,0,0,0


宠物技能物品(stdmode:93),以下字段用于加成主人属性:


AC:准确

AC2: 敏捷

MAC:幸运

MAC2:攻击速度

DC:中毒恢复

DC2:毒物躲避

MC:魔法恢复

MC2:魔法躲避

SC:体力恢复

SC2:

DuraMax:负重(穿戴)

Overlap:负重(背包)


Element,Element1....Element20:元素属性


---------------------------------------------------------------------------------------------------------------------------------------------------------------------


触发:


召唤宠物:

[@GamePetRecall]

#ACT

SendMsg 5 召唤宠物 <$GamePetName>


收回宠物 / 宠物死亡

[@GamePetRetake]

#ACT

SendMsg 5 收回宠物 <$GamePetName>


[@GamePetLevelUp]

#ACT

SendMsg 5 你的宠物 <$GamePetName> 升级了


宠物等级变量

<$GamePetLevel>


宠物数量变量

<$GamePetCount>


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

NPC命令:


1、给予宠物蛋

GiveGamePet  怪物名


2、清除当前召唤的宠物技能

ClearGamePetMagic 敏捷技能


3、给予宠物经验

GamePetChangeExp 操作符(+,-,=)  值


4.设置宠物攻击力倍数

SetGamePetAttackHumPowerRate 攻击人物威力倍率(0不攻击人物,当前值除以100为实际倍数)


5.检测宠物是否召唤

CheckCallGamePet


6.检测宠物等级

CheckGamePetLevel 操作符(>/=/<) 等级


6.调整宠物等级

ChangeGamePetLevel 操作符(+/-/=) 数值


7.召唤宠物:

RecallGamePet 宠物名(当为空时,表示召唤最后一次召唤的宝宝)


8.调整宠物蛋属性

ChangeGamePetEggAbil 物品位置(-1或boxitem0-boxitem7)  属性类型(参考下面) 操作符(+-=)  值

属性类型:

  1: 等级

  2: HP

  3: MP

  4: EXP



9.获取宠物蛋属性:

GetGamePetEggAbil 物品位置(-1或boxitem0-boxitem7)  属性类型 变量名

属性类型:

  1: 等级

  2: HP

  3: MP

  4: EXP

  5: MaxHP

  6: MaxMP

  7: MaxEXP

  8: 防御下限

  9: 防御上限

  10: 魔防下限

  11: 魔防上限

  12: 攻击下限

  13: 攻击上限

  14: 魔法下限

  15: 魔法上限

  16: 道术下限

  17: 道术上限


10.打开宠物界面命令

OpenGamePetDlg


11.打开宠物背包(坐标X、Y均为0时,表示不设置坐标)

OpenGamePetBag 坐标X 坐标Y


#if

CheckCallGamePet

#act

SENDMSG 6 你的宠物等级是:<$GamePetLevel>

ChangeGamePetLevel + 10

SENDMSG 6 调整后的宠物等级是:<$GamePetLevel>

#elseact

RecallGamePet

OpenGamePetBag 10 10


--------------------------------------------------


上一篇:V8M2引擎如何让give的装备在聊天框显示详细属性

下一篇:B版 反挂更新(2023021200)