Skip to content

Commit

Permalink
[+] Skill.SetNormalJobStealMaxRate 设置普通职业最大成功率
Browse files Browse the repository at this point in the history
[+] Skill.AddDoctorJob 设置医生职业ID
[+] Skill.RemoveDoctorJob 移除医生职业ID
[+] Skill.SetNormalJobMedicalTreatmentRate 设置普通职业成功率
[+] Skill.SetDoctorJobMedicalTreatmentRate 设置医生职业治疗成功率
[+] Skill.SetDoctorJobExMedicalTreatmentRate 设置医生职业成治疗功率(带了专属饰品)
[#] 修正Item.SetItemTypeName无效的bug
  • Loading branch information
Muscipular committed Apr 2, 2023
1 parent 2f99270 commit 611cde6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ function NLG.SetCriticalDamageAddition(mode, val) end

---设置乱敏概率
---@param rate integer 0-100
function NLG.SetDexRearrangeRate(rate) end
---@param mode? nil|0|1|2 0 @0=PVE&PVP 1=PVE 2=PVP
function NLG.SetDexRearrangeRate(rate, mode) end

Pet = {}

Expand Down Expand Up @@ -864,31 +865,31 @@ function Skill.SetPetTrainAddition(lv, add) end
---@param rate number
function Skill.SetNormalJobStealMaxRate(rate) end

---设置医生ID
---设置医生职业ID
---@param jobId number
function Skill.AddDoctorJob(jobId) end

---移除医生ID
---移除医生职业ID
---@param jobId number
function Skill.RemoveDoctorJob(jobId) end

---设置普通职业成功率
---设置普通职业治疗成功率
---@param lv integer
---@param mode 0|1|2|3 0=白伤,1=黄,2=紫,3=红
---@param rate integer 失败概率
function Skill.SetNormalJobMedicalTreatmentRate(lv, mode, rate) end

---设置医生职业成功率
---设置医生职业治疗成功率
---@param lv integer
---@param mode 0|1|2|3 0=白伤,1=黄,2=紫,3=红
---@param rate integer 失败概率
function Skill.SetDockerJobMedicalTreatmentRate(lv, mode, rate) end
function Skill.SetDoctorJobMedicalTreatmentRate(lv, mode, rate) end

---设置医生职业成功率
---设置医生职业成治疗功率(带了专属饰品)
---@param lv integer
---@param mode 0|1|2|3 0=白伤,1=黄,2=紫,3=红
---@param rate integer 失败概率
function Skill.SetDockerJobExMedicalTreatmentRate(lv, mode, rate) end
function Skill.SetDoctorJobExMedicalTreatmentRate(lv, mode, rate) end

Map = Map or {}

Expand Down
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_HookVer = '0.2.29'
_HookVer = '0.2.30'
if getHookVer == nil then
error(string.format('[ERR] HOOK not load %s', _HookVer))
end
Expand Down

0 comments on commit 611cde6

Please sign in to comment.