Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home3/tedson/public_html/metalshard/header.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /home3/tedson/public_html/metalshard/header.php:14) in /home3/tedson/public_html/metalshard/header.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home3/tedson/public_html/metalshard/header.php:14) in /home3/tedson/public_html/metalshard/header.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home3/tedson/public_html/metalshard/header.php:14) in /home3/tedson/public_html/metalshard/header.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home3/tedson/public_html/metalshard/header.php:14) in /home3/tedson/public_html/metalshard/header.php on line 26
Pocket PC Forum page 1 topic 591 at MetalShard
MetalShard, inc.
Pocket PC and Windows Games and Software

Pocket War (Game) Forum




This is a message in the Pocket War (Game) forum. If you would like to reply to this subject then fill in your reply in the box at the bottom of the page and click the Reply button. To get back to the main page for this forum click the Topics button.

Subject - What are the Attack Adjustment Limits?
Pages: [1] Messages 1 - 3 of 3
Posted By: Anonymous (2005-08-27 17:34:24)

I noticed that the comments for the military police in city.js show attack adjustment limits of -30 to +30.
>
// this method sets the attack adjustsments. The min is -30 which means it cant attack
// that type of unit and max is +30
// the params are the unit to set the stat on, air, ground, sea

Yet the code right after that show attack adjustments of -100 to (?)
>
setAttackAdjustment( unit, -100, 20, -100 );

So my question is which is correct?
The code or the comments?

For example, does -50 mean that a unit cannot attack that category ever, or does it just mean that it is difficult to attack that category?

Thanks
Posted By: Tully (2005-08-27 22:09:05)

The comments are out of date. The attack, defense, etc adjustments were adjusted for 1.6. The limits on the attack and defense properties are 0 - 100. SeeRange is 8 Attack Range is 8.

Attack adj, defense adj are both in the range of -100 to 100. Where -100 means it cant hit that type and +100 doubles the damage done.

Hope that helps.
Posted By: Tully (2005-08-27 22:10:13)

oh so to answer you question -50 would do half damage to that type of unit. Defense Adj is the opposite way. A defense ajd of -50 would double the damage you take when that type of unit attacks you.
Pages: [1] Messages 1 - 3 of 3




Reply


Attach File (zip and pwg files only)


you must be logged in to post
 
Copyright 2003-2010 MetalShard, inc. Games for Windows and Pocket PCs pocket war forums, automation software freegames