更新了茶服的加密nut
This commit is contained in:
parent
6ac9e059fb
commit
232a76147e
|
|
@ -587,8 +587,8 @@ function onKeyFrameFlag_Blessofprotection(obj, flagIndex)
|
|||
local phlDefense = sq_GetLevelData(obj, SKILL_BYKK_BLESSOFPROTECTION, 4, skillLevel);
|
||||
local mglDefense = sq_GetLevelData(obj, SKILL_BYKK_BLESSOFPROTECTION, 5, skillLevel);
|
||||
|
||||
local now_mgAttack = sq_GetMagicalAttack();//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 2)) / 100;
|
||||
local now_mgAttack = sq_GetCharacterAttribute(0x2394);//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 102)) / 100;
|
||||
local addRate = now_mgAttack.tofloat() / sq_GetIntData(obj, SKILL_BYKK_BLESSOFCOURAGE, 1).tofloat();
|
||||
if(addRate > 1){
|
||||
hpMax = hpMax.tofloat() * (1.0 + addRate);
|
||||
|
|
@ -3130,8 +3130,8 @@ function onTimeEvent_Cruxofvictoria(obj, timeEventIndex, timeEventCount)
|
|||
local phDefense = sq_GetLevelData(obj, SKILL_BYKK_CRUXOFVICTORIA, 6, skillLevel);
|
||||
local mgDefense = sq_GetLevelData(obj, SKILL_BYKK_CRUXOFVICTORIA, 7, skillLevel);
|
||||
|
||||
local now_mgAttack = sq_GetMagicalAttack();//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 2)) / 100;
|
||||
local now_mgAttack = sq_GetCharacterAttribute(0x2394);//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 102)) / 100;
|
||||
// print("now_mgAttack = "+now_mgAttack);
|
||||
local addRate = now_mgAttack.tofloat() / sq_GetIntData(obj, SKILL_BYKK_CRUXOFVICTORIA, 1).tofloat();
|
||||
// print("addRate = "+addRate);
|
||||
|
|
|
|||
|
|
@ -484,8 +484,8 @@ function onStartDungeon_Crusader_bykk(obj)
|
|||
if(AddAppendage) CNSquirrelAppendage.sq_RemoveAppendage(obj, apdPath[i]);
|
||||
}
|
||||
setSkillBonusBate_Crusader_bykk(obj);
|
||||
local now_mgAttack = sq_GetMagicalAttack();//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 2)) / 100;
|
||||
local now_mgAttack = sq_GetCharacterAttribute(0x2394);//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 102)) / 100;
|
||||
obj.getVar("isReset").setInt(0, 1);
|
||||
obj.getVar("mgAttackSave").setInt(0, now_mgAttack);
|
||||
print("now_mgAttack = "+now_mgAttack);
|
||||
|
|
@ -495,8 +495,8 @@ function retset_Crusader_bykk(obj)
|
|||
{
|
||||
setSkillBonusBate_Crusader_bykk(obj);
|
||||
if(obj.getVar("mgAttackSave").getInt(0) > 0) return;
|
||||
local now_mgAttack = sq_GetMagicalAttack();//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 2)) / 100;
|
||||
local now_mgAttack = sq_GetCharacterAttribute(0x2394);//1000;//
|
||||
now_mgAttack = now_mgAttack * (100 + sq_GetIntData(obj, 169, 102)) / 100;
|
||||
obj.getVar("mgAttackSave").setInt(0, now_mgAttack);
|
||||
print("now_mgAttack = "+now_mgAttack);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue