https://pan.baidu.com/s/13ijEW0T8g77X_StsrXXa0Q?pwd=i3vp 提取码: i3vp
sqr/character/gunner/gunner_common添加
function useSkill_after_Gunner(obj, skillIndex, consumeMp, consumeItem, oldSkillMpRate)
{
if(!obj) return false;
if(skillIndex == 60)
Gunner_revolvercriticaldamageup(obj, skillIndex);
}
function Gunner_revolvercriticaldamageup(obj, skill_index)
{
local skill_level = obj.sq_GetSkillLevel(skill_index);
if(skill_level < 0)
return;
local apPath = "character/gunner/revolvercriticaldamageup/ap_revolvercriticaldamageup.nut";
local ap = CNSquirrelAppendage.sq_IsAppendAppendage(obj, apPath);
if(!ap)
local appendage = CNSquirrelAppendage.sq_AppendAppendage(obj, obj, skill_index, false, apPath, true);
local magicalAtkChangeRate = sq_GetLevelData(obj, skill_index, 2, skill_level);
}
sqr/character/gunner/gunner_common添加
function useSkill_after_Gunner(obj, skillIndex, consumeMp, consumeItem, oldSkillMpRate)
{
if(!obj) return false;
if(skillIndex == 60)
Gunner_revolvercriticaldamageup(obj, skillIndex);
}
function Gunner_revolvercriticaldamageup(obj, skill_index)
{
local skill_level = obj.sq_GetSkillLevel(skill_index);
if(skill_level < 0)
return;
local apPath = "character/gunner/revolvercriticaldamageup/ap_revolvercriticaldamageup.nut";
local ap = CNSquirrelAppendage.sq_IsAppendAppendage(obj, apPath);
if(!ap)
local appendage = CNSquirrelAppendage.sq_AppendAppendage(obj, obj, skill_index, false, apPath, true);
local magicalAtkChangeRate = sq_GetLevelData(obj, skill_index, 2, skill_level);
}