Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New ArmorTypes
#31
Verses already accepts floats. 75% is the same as 0.75 , only difference is that you can't use partial percentages, "1.5%" yields 1% (0.01, percentages must be integers) but "0.015" yields 0.015.

As for force fire, retal, passive, they are already broken due to 0.(0)1 being inexpressible precisely in FPU, and IMO it would make more sense to add new flag(s) instead of muddying the parser even more. [WH]Targeting.Retaliate=plate,flak,steel, [WH]Targeting.ForceFire=concrete or such...
Reply
#32
(20.10.2008, 11:53:10)DCoder Wrote: Verses already accepts floats. 75% is the same as 0.75 , only difference is that you can't use partial percentages, "1.5%" yields 1% (0.01, percentages must be integers) but "0.015" yields 0.015.

As for force fire, retal, passive, they are already broken due to 0.(0)1 being inexpressible precisely in FPU, and IMO it would make more sense to add new flag(s) instead of muddying the parser even more. [WH]Targeting.Retaliate=plate,flak,steel, [WH]Targeting.ForceFire=concrete or such...

that works, except you didn't add a tag for normal targetting with 0%
Reply




Users browsing this thread: 1 Guest(s)