Author Topic: [fixed]attack boosts: boosting sight has no effect  (Read 1446 times)

FreshDumbledore

  • Guard
  • ***
  • Posts: 61
    • View Profile
[fixed]attack boosts: boosting sight has no effect
« on: 24 May 2014, 17:49:29 »
Hello,

applied a sight boost seems to have no effect. The increased sight is shown in the units stats (like 15+20) but it still visually 'sees' 15 fields. Also tried with the multiplier=true option, didnt help.

Example xml:

         <attack-boost>
            <allow-multiple-boosts value="false" />
            <radius value="5" />
            <target value="all" include-self="true">
            </target>
            <sight value="20" value-percent-multipler="false" />
         </attack-boost>

Can someone test/confirm this bug so i know its not related to my xml's?

if it matters:
megaglest v3.9.1
Compiled using: GNUC: 40403 [64bit] on: Jan 18 2014 17:44:55 platform: Linux-X64 endianness: little
GIT: [Rev: 4628.11ac54a] - using STREFLOP [SSE] - [no-denormals]

binary installation on gentoo linux with a 3.12 kernel

Regards
« Last Edit: 23 December 2014, 01:22:37 by titi »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: attack boosts: boosting sight has no effect
« Reply #1 on: 22 December 2014, 00:50:45 »
Update: I tried this and it still does not work with git revision from 21th december 2014

@softcoder: To test, just temporary raise the view boost of the roman general to 20 for his stop skill and try it. ( you can use one of the savegames about boost problems to test )


is this still a problem?  ( many things changed with boosts in git version )
« Last Edit: 22 December 2014, 00:58:35 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: attack boosts: boosting sight has no effect
« Reply #3 on: 22 December 2014, 02:18:10 »
Does work a bit, but buildings still have trouble. Somehow the view sight is only calculated when units move ( fog of war calculation ). maybe this must be manually triggered if the boost is applied for buildings ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: attack boosts: boosting sight has no effect
« Reply #4 on: 22 December 2014, 04:28:34 »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios