mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
Implemented new focus and limits
SE_Fc_Amplify_Mod 507 @Fc, On Caster, damage-heal-dot mod pct, base: pct SE_Fc_Amplify_Amt 508 @Fc, On Caster, damage-heal-dot mod flat amt, base: amt SE_Fc_ResistIncoming 510 implemented, @Fc, On Target, resist modifier, base: amt SE_Fc_CastTimeMod2 500 @Fc, On Caster, cast time mod pct, base: pct SE_Fc_CastTimeAmt 501 @Fc, On Caster, cast time mod flat amt, base: milliseconds SE_Ff_DurationMax 495 @Ff, Max duration of spell that can be focused, base: tics SE_Ff_ReuseTimeMin 490 @Ff, Minimum recast time of a spell that can be focused, base: recast time SE_Ff_ReuseTimeMax 491 @Ff, Max recast time of a spell that can be focused, base: recast time SE_Ff_Endurance_Min 492 @Ff, Minimum endurance cost of a spell that can be focused, base: endurance cost SE_Ff_Endurance_Max 493 @Ff, Max endurance cost of a spell that can be focused, base: endurance cost SE_Ff_Value_Min 479 @Ff, Minimum base value of a spell that can be focused, base: spells to be focused base1 value SE_Ff_Value_Max 480 @Ff, Max base value of a spell that can be focused, base: spells to be focused base1 value SE_Ff_Override_NotFocusable 460 @Fc, Allow spell to be focused event if flagged with 'not_focusable' in spell table, base: 1 Added basic focus and limit descriptions to source.
This commit is contained in:
@@ -1224,6 +1224,55 @@ bool IsEffectIgnoredInStacking(int spa)
|
||||
case SE_Ff_CasterClass:
|
||||
case SE_Ff_Same_Caster:
|
||||
case SE_Proc_Timer_Modifier:
|
||||
case SE_TwinCastBlocker:
|
||||
case SE_Fc_CastTimeAmt:
|
||||
case SE_Fc_CastTimeMod2:
|
||||
case SE_Ff_DurationMax:
|
||||
case SE_Ff_Endurance_Max:
|
||||
case SE_Ff_Endurance_Min:
|
||||
case SE_Ff_ReuseTimeMin:
|
||||
case SE_Ff_ReuseTimeMax:
|
||||
case SE_Ff_Value_Min:
|
||||
case SE_Ff_Value_Max:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool IsFocusLimit(int spa)
|
||||
{
|
||||
switch (spa) {
|
||||
case SE_LimitMaxLevel:
|
||||
case SE_LimitResist:
|
||||
case SE_LimitTarget:
|
||||
case SE_LimitEffect:
|
||||
case SE_LimitSpellType:
|
||||
case SE_LimitSpell:
|
||||
case SE_LimitMinDur:
|
||||
case SE_LimitInstant:
|
||||
case SE_LimitMinLevel:
|
||||
case SE_LimitCastTimeMin:
|
||||
case SE_LimitCastTimeMax:
|
||||
case SE_LimitCombatSkills:
|
||||
case SE_LimitManaMin:
|
||||
case SE_LimitSpellGroup:
|
||||
case SE_LimitManaMax:
|
||||
case SE_LimitClass:
|
||||
case SE_LimitRace:
|
||||
case SE_LimitCastingSkill:
|
||||
case SE_LimitUseMin:
|
||||
case SE_LimitUseType:
|
||||
case SE_Ff_Override_NotFocusable:
|
||||
case SE_Ff_CasterClass:
|
||||
case SE_Ff_Same_Caster:
|
||||
case SE_Ff_DurationMax:
|
||||
case SE_Ff_Endurance_Max:
|
||||
case SE_Ff_Endurance_Min:
|
||||
case SE_Ff_ReuseTimeMin:
|
||||
case SE_Ff_ReuseTimeMax:
|
||||
case SE_Ff_Value_Min:
|
||||
case SE_Ff_Value_Max:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user