Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]

Author Topic: Percentage based [TRAPAVOID]  (Read 3001 times)

Osmosis Jones

  • Bay Watcher
  • Now with 100% more rotation!
    • View Profile
Re: Percentage based [TRAPAVOID]
« Reply #30 on: August 26, 2009, 10:40:41 pm »

Devin I'm just nitpicking here (slow day at uni), so feel free to ignore.

You have

((Quality - ( (Size - MinimumTrapSize) + Agility) ) > 0 )

As such, an increase in size is equivalent to an increase in agility, i.e. negative w.r.t. trigger chance.

Did you mean ((Quality - ( (MinimumTrapSize - Size) + Agility) ) > 0 ) ?

(e.g. Size is positive w.r.t. trap's chance to trigger, rather than negative?)
Logged
The Marx generator will produce Engels-waves which should allow the inherently unstable isotope of Leninium to undergo a rapid Stalinisation in mere trockoseconds.

Devin

  • Bay Watcher
    • View Profile
Re: Percentage based [TRAPAVOID]
« Reply #31 on: August 26, 2009, 10:55:13 pm »

Ah, yes, good catch.  It's simple math, but so easy to screw up when it starts getting nested.
Logged
Pages: 1 2 [3]