Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Degrees of Lewdity Plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Averall
Degrees of Lewdity Plus
Commits
4d17cafe
Commit
4d17cafe
authored
1 year ago
by
Andrest07
Browse files
Options
Downloads
Patches
Plain Diff
Brawling dodge, dodge cap slider, uncapped dodge toggle
parent
331c364b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
game/04-Variables/variables-versionUpdate.twee
+6
-0
6 additions, 0 deletions
game/04-Variables/variables-versionUpdate.twee
game/base-combat/widgets.twee
+17
-6
17 additions, 6 deletions
game/base-combat/widgets.twee
game/base-system/settings.twee
+12
-0
12 additions, 0 deletions
game/base-system/settings.twee
with
35 additions
and
6 deletions
game/04-Variables/variables-versionUpdate.twee
+
6
−
0
View file @
4d17cafe
...
...
@@ -4935,6 +4935,12 @@
<<if $combatExtended.brawling is undefined>>
<<set $combatExtended.brawling to 0>>
<</if>>
<<if $combatExtended.uncappedDodgeChance is undefined>>
<<set $combatExtended.uncappedDodgeChance to 0>>
<</if>>
<<if $combatExtended.dodgeChanceCap is undefined>>
<<set $combatExtended.dodgeChanceCap to 90>>
<</if>>
<<if $dodgeStat is undefined>>
<<set $dodgeStat to 0>>
<</if>>
...
...
This diff is collapsed.
Click to expand it.
game/base-combat/widgets.twee
+
17
−
6
View file @
4d17cafe
...
...
@@ -650,6 +650,10 @@
<</silently>><<print _text_output>><</widget>>
<<widget "combatExtendedDodgeCheck">>
<<set _dodgeChance to 0>>
<<set _passiveDodgeChance to 0>>
<<set _activeDodgeChance to 0>>
<<set _dancedodge to Math.round(currentSkillValue('danceskill') / 40)>>
<<if $bodysize is 3>>
<<set _bodyDodgeChance to -20>>
<<elseif $bodysize is 2>>
...
...
@@ -659,12 +663,16 @@
<<else>>
<<set _bodyDodgeChance to 30>>
<</if>>
<<set _dodgeChance to 0>>
<<set _passiveDodgeChance to 0>>
<<set _activeDodgeChance to 0>>
<<set _danceskill to currentSkillValue('danceskill')>>
<<if $combatExtended.brawlingToggle is 1>>
<<set _brawlingDodgeChance to Math.clamp(($combatExtended.brawling * $enemyno * ($enemyno / 16)) / 100, 0, 20)>>
<<else>>
<<set _brawlingDodgeChance to 0>>
<</if>>
<<if $combatExtended.passiveDodging is 1>>
<<set _dodgeChance = Math.round(_danceskill / 40) + _bodyDodgeChance>>
<<set _dodgeChance = Math.round(_dancedodge + _bodyDodgeChance + _brawlingDodgeChance)>>
<<if $combatExtended.uncappedDodgeChance is 0>>
<<set _dodgeChance to Math.clamp(_dodgeChance, 0, $combatExtended.dodgeChanceCap)>>
<</if>>
<<if $combatExtended.stabilityLost is 1>>
<<set _dodgeChance = Math.round(_dodgeChance / 2)>>
<</if>>
...
...
@@ -677,7 +685,10 @@
<</if>>
<</if>>
<<if $combatExtended.activeDodgingActive is 1>>
<<set _dodgeChance = Math.round(_danceskill / 20) + _bodyDodgeChance>>
<<set _dodgeChance = Math.round((_dancedodge + _bodyDodgeChance + _brawlingDodgeChance) * 2)>>
<<if $combatExtended.uncappedDodgeChance is 0>>
<<set _dodgeChance to Math.clamp(_dodgeChance, 0, $combatExtended.dodgeChanceCap)>>
<</if>>
<<if _dodgeChance gte random(100)>>
<<set _activeDodgeChance to 2>>
<<elseif _dodgeChance gte random(80)>>
...
...
This diff is collapsed.
Click to expand it.
game/base-system/settings.twee
+
12
−
0
View file @
4d17cafe
...
...
@@ -2784,6 +2784,18 @@
<mouse class="tooltip linkBlue">(?)<span>New feet action to dodge. A seperate, better dodge check compared to Passive Dodging but costs a feet action and will cause stability damage on failure.</span></mouse>
</label>
</div>
<div class="settingsToggleItem">
<label>
<<checkbox "$combatExtended.uncappedDodgeChance" 0 1 autocheck>> Enable Uncapped Dodge Chance
<mouse class="tooltip linkBlue">(?)<span>Embrace your inner matrix.</span></mouse>
</label>
</div>
<div class="settingsToggleItem numberslider-inline">
<span class="gold">Dodge Chance Cap
<mouse class="tooltip linkBlue">(?)<span>The cap for dodge chance.</span></mouse>
</span>
<<numberslider "$combatExtended.dodgeChanceCap" $combatExtended.dodgeChanceCap 0 100 1>>
</div>
</div>
<div class="settingsGrid">
<div class="settingsHeader">
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment