Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch]Defence Power
Home

[Freeciv-Dev] Re: [Patch]Defence Power

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch]Defence Power
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Wed, 6 Mar 2002 07:01:51 -0800 (PST)

--- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Mar 06, 2002 at 12:22:19AM -0800, Raahul Kumar wrote:
> > It looks good. It should go into CVS immediately. I have a few questions
> > 
> > How is this used?
> > 
> > d = m; 
> 
> Removed.

Good.


> No. We either do to calculate the vulnerability
>  - for a unit type (use_alternative_hp==FALSE) for example if we plan
>  the build one or

It would be nice to see this as a comment.
 
>  - for an existing unit (use_alternative_hp==TRUE, provide
>  the actual hps as another argument).
> 

<snip>

> POWER_FACTOR is only used with attack_strength and
> defense_strength. From data/default/terrain.ruleset:
> 
> ; defense_bonus        = 10 times actual; typically 10 to 30 (1.0 to 3.0)
> 
> This is another 10. But an external visible one. May this should be
> converted to percents.
> 

I would prefer that. Even as is though, this patch can be applied. These are
minor nitpicks.

> > And, why does the patch seem so small? In spite of the size
> > increase, it seems simpler. It is, finally, pretty code.
> 
>       Raimar
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/


[Prev in Thread] Current Thread [Next in Thread]