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
!117
Ice reaction fix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Ice reaction fix
0player/t-engine4:ice_reaction_fix
into
master
Overview
0
Commits
1
Pipelines
0
Changes
Merged
Alex Ksandra
requested to merge
0player/t-engine4:ice_reaction_fix
into
master
10 years ago
Overview
0
Commits
1
Pipelines
0
Changes
-
Expand
Currently, while you're incased in ice, it...
breaks rest (because you're spotted as a hostile),
makes your summons hate you with neverrending hatred, and
makes your summons hate each other. This should tackle that a bit.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
bf935ac0
1 commit,
10 years ago
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
game/modules/tome/class/Actor.lua
+
3
−
3
Options
@@ -1510,8 +1510,8 @@ end
--- What is our reaction toward the target
-- This can modify faction reaction using specific actor to actor reactions
function _M:reactionToward(target, no_reflection)
if target == self and self:attr("encased_in_ice") then return -100 end
function _M:reactionToward(target, no_reflection
, not_actually_us
)
if target == self and self:attr("encased_in_ice")
and not_actually_us
then return -100 end
-- Neverending hatred
if self:attr("hates_everybody") and target ~= self then return -100 end
@@ -1519,7 +1519,7 @@ function _M:reactionToward(target, no_reflection)
if self:attr("hates_antimagic") and target:attr("forbid_arcane") then return -100 end
-- If self or target is a summon bound to a master's will, use the master instead
if self.summoner then return self.summoner:reactionToward(target, no_reflection) end
if self.summoner then return self.summoner:reactionToward(target, no_reflection
, true
) end
if target.summoner then target = target.summoner end
local v = engine.Actor.reactionToward(self, target)
Loading