2017-10-19 21:00:49 -05:00
|
|
|
Class Ext_TraitRetali extends Ext_TraitBase;
|
|
|
|
|
2020-11-28 23:04:55 +03:00
|
|
|
static function bool PreventDeath(KFPawn_Human Player, Controller Instigator, Class<DamageType> DamType, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-19 21:00:49 -05:00
|
|
|
{
|
|
|
|
local ExtProj_SUPERGrenade P;
|
2023-05-14 05:49:12 +03:00
|
|
|
|
2017-10-19 21:00:49 -05:00
|
|
|
P = Player.Spawn(class'ExtProj_SUPERGrenade');
|
2020-11-28 23:12:58 +03:00
|
|
|
if (P!=None)
|
2017-10-19 21:00:49 -05:00
|
|
|
{
|
|
|
|
P.bExplodeOnContact = false; // Nope!
|
|
|
|
P.InstigatorController = Player.Controller;
|
|
|
|
P.ClusterNades = class'ExtProj_CrackerGrenade';
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
DefLevelCosts(0)=50
|
|
|
|
DefMinLevel=40
|
|
|
|
}
|