Archive for October 30th, 2006

My good deed for 10/30

October 30, 2006

So like my good deed for the day (actually months now) is to help some one that was locked out of their house. I gave her a jacket and allowed her to make a few phone calls from my cell phone.

I happened to be running around the block to blow off some steam, turned out talking to her.

Well it’s a karma thing. I feel better about myself now that I was able to help someone, a complete stranger. Found out her name was Autumn and she’ll return my jacket another time.

Anyhow, a good deed. =)

Character Data

October 30, 2006

typedef struct
{
 // Detailed Values
 int nExperience;

 // Base Values
 int nLevel;
 int nStrength;
 int nAgility;
 int nVitality;
 int nDexterity;
 int nFocus;
 int nSpirit;
 int nMind;
 int nMovement;
 int nJumpHeight;

 // Computed Values (base values)
 int nMaxWeight;    //(Maximum amount of weight the character can carry)
 int nCurWeight;    //(computed from equipment and items carried)
 float nDamageRatioDefend; //Damage ratio used when defending
 float nDamageRatioNormal; //Damage ratio used when normal
 float nDamageRatioDash;  //Damage ratio used when dashing
 float nDamageRatioSkill; //Damage ratio used when performing a skill

 // Computed Values (equipment and stance)
 int nAttackSlash;   //(mostly bladed weapons, Dex.5, Str1)
 int nAttackStab;   //(mostly pointed weapons, Dex.5, Str1)
 int nAttackStrike;   //(mostly blunt weapons, Dex.5, Str1)
 int nAttackFire;   //(elemental property weapons, Focus.5, Mind1)
 int nAttackIce;    //(elemental property weapons, Focus.5, Mind1)
 int nAttackLighting;  //(elemental property weapons, Focus.5, Mind1)
 
 int nAttackMagic;   //(raw magic attack power before elemental property, Focus1, Mind.5, Spirit.5)
 int nEvade;     //(evades magic and physical, agility, weight)
 int nDefence;    //(defence points from armor and stance modification)
 int nHit;     //(Accuracy based off dexterity mostly)
 int nResistanceFire;  //(Mind, Focus, Vitality)
 int nResistanceIce;   //(Mind, Focus, Vitality)
 int nResistanceLighting; //(Mind, Focus, Vitality)
 int nCriticalRate;   //(Dex, Agility, Focus)

} CharacterStats;

// Should hold information that is changing
// and can be broadcasted to other client applications
// Should try to keep this information minimal to
// keep bandwidth usage down
typedef struct
{
 int nMaxHealth;
 int nCurHealth;

 int nMaxEnergy;
 int nCurEnergy;
} CharacterDetails;