Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #873688

Unit vision radius should be recalculated at TC

Added by Louis Moureaux about 2 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Rulesets
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

For gameplay reasons, I'm trying to give increased vision to explorers in the first turns of the game:

; Increased vision for Explorers on T0
[effect_explorer_vision_t0]
type    = "Unit_Vision_Radius_Sq" 
value   = 7
reqs    =
    { "type",     "name",     "range", "present" 
      "UnitType", "Explorer", "Local", TRUE
      "MinYear",  "-3999",    "World", FALSE
    }

; Increased vision for Explorers from T1 to T10
[effect_explorer_vision_t1]
type    = "Unit_Vision_Radius_Sq" 
value   = 6
reqs    =
    { "type",     "name",     "range", "present" 
      "UnitType", "Explorer", "Local", TRUE
      "MinYear",  "-3499",    "World", FALSE
    }

I do get increased vision on T0, but it's not reduced afterwards if you don't move the explorer. So by keeping explorers idle you can keep the early bonus forever.

I'm seeing this on 2.6.2 (quick look didn't spot any relevant commit to S2_6 since then), don't know yet if other branches are affected.

History

#1 Updated by Marko Lindqvist about 2 years ago

Maybe it would be more correct to say that unit vision radius is not recalculated often enough. The requirement would give correct result if checked.

#2 Updated by Louis Moureaux about 2 years ago

  • Subject changed from Not all MinYear requirements are updated at TC to Not all effects with MinYear requirements are updated at TC

#3 Updated by Marko Lindqvist over 1 year ago

  • Sprint/Milestone changed from 2.6.3 to 2.6.4

#4 Updated by Marko Lindqvist about 1 year ago

  • Sprint/Milestone changed from 2.6.4 to 2.6.5

#5 Updated by Marko Lindqvist 11 months ago

  • Sprint/Milestone changed from 2.6.5 to 2.6.6

#6 Updated by Marko Lindqvist 6 months ago

  • Sprint/Milestone changed from 2.6.6 to 3.0.1

#7 Updated by Marko Lindqvist about 1 month ago

  • Subject changed from Not all effects with MinYear requirements are updated at TC to Unit vision radius should be recalculated at TC
  • Sprint/Milestone changed from 3.0.1 to 3.0.2

Also available in: Atom PDF