|
楼主 |
发表于 2024-11-3 21:24:12
|
显示全部楼层
再补充:直接把代码写上吧
代码1:
unction procAppend_Priest(obj)
{
if(!obj) return;
useBuffSkills(obj);//擩坫buff
useRangeBuff(obj);//瓮鐎BUFF
AddMonsterApend(obj);
return;
}
function drawCustomUI_Priest(obj)
{
if(!obj) return;
//挋琲UI
DrawMonsterUI(obj);
return;
}
代码2:
function procAppend_Priest(obj)
{
if(!obj) return;
useBuffSkills(obj);//擩坫buff
useRangeBuff(obj);//瓮鐎BUFF
AddMonsterApend(obj);
}
function setState_Priest(obj, state, datas, isResetTimer)
{
if(!obj) return;
if(state == 0) return;
useRangeBuff_setState(obj, state, datas);//瓮鐎BUFF
} |
|