메소드 | 설명 | |
---|---|---|
Attack ( |
Performs an attack on a character. Will also give an amount of feedback. Also reduces the health of the defender if the attack hits
|
|
CalculateHitPercentage ( |
Calculates the chance of hitting a particular body part.
|
|
GetRandomAttackLocation ( |
Gets a random attack location to attack. Will prefer attack locations which have more chance of hitting, and will never return any locations which have a 0 chance to hit. If this is not possible, return null
|
|
KillCharacter ( |
Kills the current character
|
|
PerformSpecialAttack ( |
Attack a particular target using this special attack
|
메소드 | 설명 | |
---|---|---|
CombatManager ( ) : System | ||
GetStanceEffect ( int &attack, int &defence, ActorStance stance ) : void |
Gets the effect the stance has on attack and defence
|
|
LogAction ( |
Returns a particular logged action.
|
public static Attack ( |
||
attacker | ||
defender | ||
location | AttackLocation | |
special | Special attack modifications to make. THIS DOES NOT CONSIDER TARGETS OR ATTACKS | |
리턴 | ActionFeedback[] |
public static CalculateHitPercentage ( |
||
attacker | ||
defender | ||
location | AttackLocation | |
리턴 | int |
public static GetRandomAttackLocation ( |
||
attacker | ||
defender | ||
리턴 | AttackLocation? |
public static KillCharacter ( |
||
actor | ||
리턴 | void |
public static PerformSpecialAttack ( |
||
attacker | ||
target | ||
attack | ||
리턴 | ActionFeedback[] |