General Combat (Game Mechanics)

From SWGANH Wiki
Revision as of 16:55, 9 March 2009 by Ready (Talk | contribs) (Weapon Certifications)

Jump to: navigation, search




Game Mechanics - Mechanics Category

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Navigation

Description

Template (Game Messages)

Related Tags

25% This document has been partially completed.

Mechanics This document is about game mechanics.

Combat Flag

HAM Bars

Players, Npcs and Creatures have three bars representing their Health, Action, and Mind pool. When you target something, its name and HAM bar will appear in your heads up display, as well as over the target's head. Red represents the Health pool, green represents the Action pool, and blue represents the Mind pool. When you deal damage to a target through combat, you will notice that its Health, Action, and Mind pools deplete, based upon the amount and type of damage dealt. This can be seen in the HAM bar by a shortening of the colored bar that represents the pool that was depleted. When any one of the three pools is completely depleted, the remainder of the colored bar will disappear and the target will die if it as npc or creature or become incapacitated if is a player.

Damage received by and done to targets is displayed in flytext over the character/npc's head. The damage hit location is also displayed. Both the hit location and damage amount done are color coded to display the ham bar(s) that were affected by the attacks.



Special Attack Costs

Default or auto attacks require no HAM to use. Almost every special attack or ability in the game has a base value associated with it. This base value represents the HAM that will be deducted from the player whenever they use that ability. Weapons are also given base values which are found under the Special Attack Cost category on the item. When a special is used with a weapon, a multiplier for that particular special comes into play. The multiplier for that particular special is multiplied against the current Special Attack Cost values on the weapon, then the values are added to the base special HAM costs. The value that comes from this process is then passed on to be affected by the player's secondary stats for each HAM attribute. The final HAM cost to the player is the remainder from this process. If a player does not have sufficient HAM to cover the costs of using the special either by itself or with the equipped weapon, then the player is simply denied the ability to use the special.


Note: Base cost in the following example is the summation of the actual base ham cost of the special plus the calculated multiplier against the weapon special attack costs. For example if the base costs on a special were 50, the multiplier on the special was 1.5 and the special attack cost value on the weapon was 50 then the base cost of the special prior to going through secondary stats would be 125.


Final Ham Cost Formula:


Cost = Base * ( 1 - ( Stat / 1400 ) )


For example:

1. Unarmed Hit 2 has a base cost of 12/18/12.

2. Given an Strength/Quickness/Focus of 400/350/450, the HAM cost is reduced by 28.6% / 25% / 32%.

3. HAM cost for these stats is 9/14/8. That's 8.75 / 13.5 / 8.14 rounded.


I'll stress again that the formula isn't accounting for some fractional amounts, but will usually get within 1 point of actual ingame costs.


HAM cost formula where Base is the Health, Aaction or Mind base cost for the skill and Stat is the relevant Strength, Quickness and Focus value:



Source References

Source Source in Context