CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.Status Class Reference

A class representing the status in the game. More...

Public Member Functions

int Attack (int element)
 The attack values for each element.
 
int Defense (int element)
 The defense values for each element.
 
int Accuracy (int element)
 The accuracy values for each element.
 
int CriticalRate (int element)
 The critical rate for each element, which determines the chance of a critical hit.
 
int CriticalBlockRate (int element)
 The critical block rate for each element, which determines the chance to block a critical hit.
 
int Pierce (int element)
 The pierce value for each element, reducing the opponent's defense.
 

Static Public Member Functions

static Status operator+ (Status a, Status b)
 

Properties

int Health [get, set]
 A health value representing the current health of the character.
 
int Mana [get, set]
 A mana value representing the current mana of the character.
 
int IncomingHeal [get]
 The incoming heal modifier.
 
int OutGoingHeal [get]
 The outgoing heal modifier.
 
int PowerPipRate [get, set]
 The rate to gain a power pip. 100 means you gain a power pip every turns.
 
int ArchmasteryRate [get]
 The archmastery rate, which determines the rate to gain an element pip. Your archmastery rate is compared against the sum of all enemies' archmastery rates. Your rate is reduced by the sum of all enemies' archmastery rates. You will always gain an element pip if all enemies archmastery rates are 0 if your archmastery rate is greater than 0.
 

Detailed Description

A class representing the status in the game.

Member Function Documentation

◆ CriticalBlockRate()

int CardRPG.Status.CriticalBlockRate ( int element)

The critical block rate for each element, which determines the chance to block a critical hit.

Parameters
element
Returns

◆ CriticalRate()

int CardRPG.Status.CriticalRate ( int element)

The critical rate for each element, which determines the chance of a critical hit.

Parameters
element
Returns

◆ operator+()

static Status CardRPG.Status.operator+ ( Status a,
Status b )
inlinestatic
  • Operator overload to add two Status objects together.
Parameters
a
b
Returns
Exceptions
ArgumentNullException

◆ Pierce()

int CardRPG.Status.Pierce ( int element)

The pierce value for each element, reducing the opponent's defense.

Parameters
element
Returns

The documentation for this class was generated from the following file: