Sponsored Links - Login to hide this ad! |
|
![]() |
#47 |
User
Join Date: Aug 2007
Posts: 68
![]() |
![]() Is there any reason for doing something like this:
![]() private constant function Damage takes integer l returns real return 100. + 50. * (l - 1) endfunction Instead of: ![]() private constant function Damage takes integer l returns real return 50. + 50. * l endfunction Last edited by busterkomo : 06-03-2009 at 02:04 PM. |
![]() |
![]() |
![]() |
#48 |
User
Join Date: Oct 2007
Posts: 63
![]() |
![]() Same thing here
![]() private constant function Chance takes integer l returns real return 0.3 + 0.3 * (l - 1) endfunction Instead of: ![]() private constant function Chance takes integer l returns real return 0.3 * l endfunction But I guess it is for configurationability. |
![]() |
![]() |
![]() |
#49 | |
Evil Emoticon
Respected User
Project Leader: PoC |
![]() Quote:
You're free to change all the formula if you need it, but I left as is because I believe it's easy in this way to see the base amount + increment. Last edited by moyack : 06-03-2009 at 05:00 PM. |
|
![]() |
![]() |
![]() |
#50 |
User
Join Date: Dec 2009
Posts: 12
![]() |
![]() solved the issue, ignore this post
Last edited by titan23 : 12-23-2009 at 08:08 PM. |
![]() |
![]() |
![]() |
#51 |
User
|
![]() Thank Alexander244 for "onDestroy should be private"
and, one question. what will happen if i insanely press S near an enemy?... |
![]() |
![]() |
![]() |
#52 |
User
Join Date: Jul 2010
Posts: 3
![]() |
![]() nice blood splatter ^_^ +rep
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
|