引雷标记extender
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Cielonos.MainGame.Inventory.Collections
|
||||
private bool _hasCubicScatterIndexer;
|
||||
private bool _hasFusionChargeCore;
|
||||
private bool _hasSigilBreakWedge;
|
||||
private bool _hasLightningConcentrator;
|
||||
|
||||
private const int StellarRingQuickcasterSpinAreaUpgradeLevel = 1;
|
||||
private const int FusionChargeCoreExtraFusionStack = 1;
|
||||
@@ -32,6 +33,23 @@ namespace Cielonos.MainGame.Inventory.Collections
|
||||
_hasCubicScatterIndexer = HasExtender<CubicScatterIndexer>();
|
||||
_hasFusionChargeCore = HasExtender<FusionChargeCore>();
|
||||
_hasSigilBreakWedge = HasExtender<SigilBreakWedge>();
|
||||
_hasLightningConcentrator = HasExtender<LightningConcentrator>();
|
||||
functionSm?["Lightning"]?.SetRuntimeTag(
|
||||
nameof(LightningConcentrator),
|
||||
FunctionData.FunctionUnit.DisruptionTag,
|
||||
_hasLightningConcentrator);
|
||||
}
|
||||
|
||||
private AttackUnit ApplyLightningConcentrator(AttackUnit source)
|
||||
{
|
||||
if (!_hasLightningConcentrator) return source;
|
||||
|
||||
// AttackData 已把基础倍率结算进 startDamage;clone 后只修改本次 Lightning。
|
||||
AttackUnit modified = source.Clone();
|
||||
modified.startDamage *= 2f;
|
||||
modified.damageDeviation *= 2f;
|
||||
modified.breakthroughType = Breakthrough.Type.Disruption;
|
||||
return modified;
|
||||
}
|
||||
|
||||
private bool PlayStellarRingQuickcasterSpinArea()
|
||||
|
||||
Reference in New Issue
Block a user