mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
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:
parent
b8d6a943aa
commit
c5ce2ec771
239 changed files with 5125 additions and 1237 deletions
|
@ -1,57 +1,87 @@
|
|||
modifiersGlobal =
|
||||
{
|
||||
None = 0,
|
||||
Hp = 1,
|
||||
HpPercent = 2,
|
||||
Mp = 3,
|
||||
MpPercent = 4,
|
||||
Tp = 5,
|
||||
TpPercent = 6,
|
||||
Regen = 7,
|
||||
Refresh = 8,
|
||||
Strength = 9,
|
||||
Vitality = 10,
|
||||
Dexterity = 11,
|
||||
Intelligence = 12,
|
||||
Mind = 13,
|
||||
Piety = 14,
|
||||
Attack = 15,
|
||||
Accuracy = 16,
|
||||
Defense = 17,
|
||||
Evasion = 18,
|
||||
MagicAttack = 19,
|
||||
MagicHeal = 20, -- is this needed? shouldnt it just be calc'd from mind
|
||||
MagicAccuracy = 21,
|
||||
MagicEvasion = 22,
|
||||
MagicDefense = 23,
|
||||
MagicEnhancePotency = 24,
|
||||
MagicEnfeeblingPotency = 25,
|
||||
ResistFire = 26,
|
||||
ResistIce = 27,
|
||||
ResistWind = 28,
|
||||
ResistLightning = 29,
|
||||
ResistEarth = 30,
|
||||
ResistWater = 31, -- <3 u jorge
|
||||
AttackRange = 32,
|
||||
Speed = 33,
|
||||
AttackDelay = 34,
|
||||
modifiersGlobal =
|
||||
{
|
||||
NAMEPLATE_SHOWN = 0,
|
||||
TARGETABLE = 1,
|
||||
NAMEPLATE_SHOWN2 = 2,
|
||||
--NAMEPLATE_SHOWN2 = 3,
|
||||
|
||||
CraftProcessing = 35,
|
||||
CraftMagicProcessing = 36,
|
||||
CraftProcessControl = 37,
|
||||
Strength = 3,
|
||||
Vitality = 4,
|
||||
Dexterity = 5,
|
||||
Intelligence = 6,
|
||||
Mind = 7,
|
||||
Piety = 8,
|
||||
|
||||
HarvestPotency = 38,
|
||||
HarvestLimit = 39,
|
||||
HarvestRate = 40,
|
||||
ResistFire = 9,
|
||||
ResistIce = 10,
|
||||
ResistWind = 11,
|
||||
ResistLightning = 12,
|
||||
ResistEarth = 13,
|
||||
ResistWater = 14,
|
||||
|
||||
Raise = 41,
|
||||
MinimumHpLock = 42, -- hp cannot fall below this value
|
||||
AttackType = 43, -- slashing, piercing, etc
|
||||
BlockRate = 44,
|
||||
Block = 45,
|
||||
CritRating = 46,
|
||||
HasShield = 47,
|
||||
HitCount = 48
|
||||
Accuracy = 15,
|
||||
Evasion = 16,
|
||||
Attack = 17,
|
||||
Defense = 18, --Is there a magic defense stat? 19 maybe?
|
||||
MagicAttack = 23,
|
||||
MagicHeal = 24,
|
||||
MagicEnhancePotency = 25,
|
||||
MagicEnfeeblingPotency = 26,
|
||||
|
||||
MagicAccuracy = 27,
|
||||
MagicEvasion = 28,
|
||||
|
||||
CraftProcessing = 30,
|
||||
CraftMagicProcessing = 31,
|
||||
CraftProcessControl = 32,
|
||||
|
||||
HarvestPotency = 33,
|
||||
HarvestLimit = 34,
|
||||
HarvestRate = 35,
|
||||
|
||||
None = 36,
|
||||
Hp = 37,
|
||||
HpPercent = 38,
|
||||
Mp = 39,
|
||||
MpPercent = 40,
|
||||
Tp = 41,
|
||||
TpPercent = 42,
|
||||
Regen = 43,
|
||||
Refresh = 44,
|
||||
|
||||
AttackRange = 45,
|
||||
Speed = 46,
|
||||
AttackDelay = 47,
|
||||
|
||||
Raise = 48,
|
||||
MinimumHpLock = 49, -- hp cannot fall below this value
|
||||
AttackType = 50, -- slashing, piercing, etc
|
||||
BlockRate = 51,
|
||||
Block = 52,
|
||||
CritRating = 53,
|
||||
HasShield = 54, -- Need this because shields are required for blocks. Could have used BlockRate or Block but BlockRate is provided by Gallant Sollerets and Block is provided by some buffs.
|
||||
HitCount = 55, -- Amount of hits in an auto attack. Usually 1, 2 for h2h, 3 with spinning heel
|
||||
|
||||
--Flat percent increases to these rates. Probably a better way to do this
|
||||
RawEvadeRate = 56,
|
||||
RawParryRate = 57,
|
||||
RawBlockRate = 58,
|
||||
RawResistRate = 59,
|
||||
RawHitRate = 60,
|
||||
RawCritRate = 61,
|
||||
|
||||
DamageTakenDown = 62, -- Percent damage taken down
|
||||
StoreTP = 63, --.1% extra tp per point. Lancer trait is 50 StoreTP
|
||||
PhysicalCritRate = 64, --CritRating but only for physical attacks. Increases chance of critting.
|
||||
PhysicalCritEvasion = 65, --Opposite of CritRating. Reduces chance of being crit by phyiscal attacks
|
||||
PhysicalCritAttack = 66, --Increases damage done by Physical Critical hits
|
||||
PhysicalCritResilience = 67, --Decreases damage taken by Physical Critical hits
|
||||
Parry = 68, --Increases chance to parry
|
||||
MagicCritPotency = 69, --Increases
|
||||
Regain = 70, --TP regen, should be -90 out of combat, Invigorate sets to 100+ depending on traits
|
||||
RegenDown = 71, --Damage over time effects. Separate from normal Regen because of how they are displayed in game
|
||||
Stoneskin = 72, --Nullifies damage
|
||||
MinimumTpLock = 73
|
||||
}
|
||||
|
||||
mobModifiersGlobal =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue