Skip to content

Commit

Permalink
Changes of 17.2.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
wezzzyrek1 committed Oct 11, 2022
1 parent 38935fc commit 4ea6630
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Data/Items/GuardianItemOption.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<Option Index="4" Name="Defense Reduction Resistance +%d" />
</EliteOptionList>

<EliteOptionSettings BaseRate="2000" RateDenominator="10000">
<EliteOptionSettings>
<!-- Ghost Horse -->
<Guardian Number="1" OptionSet="0" OptionNumber1="0" FormulaID1="5" ValueType1="0" OptionNumber2="2" FormulaID2="7" ValueType2="0" />
<Guardian Number="1" OptionSet="1" OptionNumber1="1" FormulaID1="6" ValueType1="0" OptionNumber2="2" FormulaID2="7" ValueType2="0" />
Expand Down
14 changes: 7 additions & 7 deletions Data/Scripts/Character/CalcCharacter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ function WizardDamageCalc(Strength, Dexterity, Vitality, Energy)
end

-- Character Damage - Fist Fighting - (Dark Knight, Blade Knight, Blade Master)
function KnightDamageCalc(Strength, Dexterity, Vitality, Energy, IsStrongBeliefActive)
function KnightDamageCalc(Strength, Dexterity, Vitality, Energy, IsSpecialBuff)
local AttackDamageMinLeft = 0
local AttackDamageMaxLeft = 0
local AttackDamageMinRight = 0
local AttackDamageMaxRight = 0

if (IsStrongBeliefActive == 1) then
AttackDamageMinLeft = Strength / 6 -- Minimum Left Hand Damage
AttackDamageMinRight = Strength / 6 -- Minimum Right Hand Damage
AttackDamageMaxLeft = Strength / 4 -- Maximum Left Hand Damage
AttackDamageMaxRight = Strength / 4 -- Maximum Right Hand Damage
else
if (IsSpecialBuff == 1) then -- Strong belief
AttackDamageMinLeft = Strength / 9 -- Minimum Left Hand Damage
AttackDamageMinRight = Strength / 9 -- Minimum Right Hand Damage
AttackDamageMaxLeft = Strength / 6 -- Maximum Left Hand Damage
AttackDamageMaxRight = Strength / 6 -- Maximum Right Hand Damage
else
AttackDamageMinLeft = Strength / 6 -- Minimum Left Hand Damage
AttackDamageMinRight = Strength / 6 -- Minimum Right Hand Damage
AttackDamageMaxLeft = Strength / 4 -- Maximum Left Hand Damage
AttackDamageMaxRight = Strength / 4 -- Maximum Right Hand Damage
end

return AttackDamageMinLeft, AttackDamageMinRight, AttackDamageMaxLeft, AttackDamageMaxRight
Expand Down
5 changes: 5 additions & 0 deletions Data/Skills/SkillSettings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ DetectionSkillShowPlayers = 1
SplashDamage4thTreePercent = 10

[EliteMonster]
;---------------------------------------------------------------------~~~~~~~~~~~~~~~~~~~~~~
;-- Success rate of application of Elite Monster Debuff upon attack, n/10000
;---------------------------------------------------------------------~~~~~~~~~~~~~~~~~~~~~~
DebuffSuccessRate = 10000

;---------------------------------------------------------------------~~~~~~~~~~~~~~~~~~~~~~
;-- Elite Monsters debuff configuration, Bleeding and Poisoning are dot damage
;---------------------------------------------------------------------~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 4ea6630

Please sign in to comment.