Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Merge requests
!247
More fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
More fixes
edge2054/t-engine4:more_fixes
into
master
Overview
0
Commits
6
Pipelines
0
Changes
Closed
Eric Wykoff
requested to merge
edge2054/t-engine4:more_fixes
into
master
10 years ago
Overview
0
Commits
6
Pipelines
0
Changes
-
Expand
1.32 fixes
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b0bceaf4
6 commits,
10 years ago
+
15
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
game/modules/tome/class/Actor.lua
+
2
−
2
Options
@@ -4338,8 +4338,8 @@ function _M:paradoxDoAnomaly(chance, paradox, def)
-- See if we create an anomaly
if not game.zone.no_anomalies and not self:attr("no_paradox_fail") then
-- This is so players can't chain cancel out of targeting to trigger anomalies on purpose, we clear it out in postUse
if
not
chance
=
= 100 and self.turn_procs.anomalies_checked then return false end
if
not
chance
=
= 100 then self.turn_procs.anomalies_checked = true end
if chance
~
= 100 and self.turn_procs.anomalies_checked then return false end
if chance
~
= 100 then self.turn_procs.anomalies_checked = true end
if rng.percent(chance) then
local anomaly_triggered = true
Loading