Combat additions

Added formulas for base EXP gain and chain experience
Added basic scripts for most player abilities and effects
Added stat gains for some abilities
Changed status flags
Fixed bug with player death
Fixed bug where auto attacks didnt work when not locked on
Added traits
This commit is contained in:
yogurt 2018-04-18 16:06:41 -05:00
parent b8d6a943aa
commit c5ce2ec771
239 changed files with 5125 additions and 1237 deletions

View file

@ -2,10 +2,11 @@
{
class BattleTemp
{
//Are these right?
public const uint NAMEPLATE_SHOWN = 0;
public const uint TARGETABLE = 1;
//public const uint NAMEPLATE_SHOWN2 = 2;
public const uint NAMEPLATE_SHOWN2 = 3;
public const uint NAMEPLATE_SHOWN2 = 2;
//public const uint NAMEPLATE_SHOWN2 = 3;
public const uint STAT_STRENGTH = 3;
public const uint STAT_VITALITY = 4;
@ -25,13 +26,13 @@
public const uint STAT_ACCURACY = 15;
public const uint STAT_NORMALDEFENSE = 18;
public const uint STAT_EVASION = 16;
public const uint STAT_ATTACK_MAGIC = 24;
public const uint STAT_HEAL_MAGIC = 25;
public const uint STAT_ENCHANCEMENT_MAGIC_POTENCY = 26;
public const uint STAT_ENFEEBLING_MAGIC_POTENCY = 27;
public const uint STAT_MAGIC_ACCURACY = 28;
public const uint STAT_MAGIC_EVASION = 29;
public const uint STAT_ATTACK_MAGIC = 23;
public const uint STAT_HEAL_MAGIC = 24;
public const uint STAT_ENCHANCEMENT_MAGIC_POTENCY = 25;
public const uint STAT_ENFEEBLING_MAGIC_POTENCY = 26;
public const uint STAT_MAGIC_ACCURACY = 27;
public const uint STAT_MAGIC_EVASION = 28;
public const uint STAT_CRAFT_PROCESSING = 30;
public const uint STAT_CRAFT_MAGIC_PROCESSING = 31;
@ -43,6 +44,6 @@
public float[] castGauge_speed = { 1.0f, 0.25f};
public bool[] timingCommandFlag = new bool[4];
public ushort[] generalParameter = new ushort[35];
public short[] generalParameter = new short[35];
}
}