add C++, Typescript and more stuff
This commit is contained in:
@@ -17,7 +17,10 @@ namespace KernelPanic.Combat
|
||||
return;
|
||||
}
|
||||
|
||||
int before = context.Source.Shield;
|
||||
context.CombatManager.GrantPlayerShield(context.ScaleExplicitShield(amount), label);
|
||||
Core.GameEvents.RaiseCardContribution(new Core.CardContributionEvent(context.Card,
|
||||
shieldGranted: System.Math.Max(0, context.Source.Shield - before)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user