Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- event OnProjectileCollision( pos, normal : Vector, collidingComponent : CComponent, hitCollisionsGroups : array< name >, actorIndex : int, shapeIndex : int )
- {
- var dmgMult : float; // FCR3
- super.OnProjectileCollision(pos, normal, collidingComponent, hitCollisionsGroups, actorIndex, shapeIndex);
- if ( !dealDamageEvenIfDodging && victim == thePlayer && ( GetAttitudeBetween( victim, caster ) == AIA_Friendly || ( thePlayer.IsCurrentlyDodging() && ( thePlayer.IsCiri() || thePlayer.GetBehaviorVariable( 'isRolling' ) == 1.f ) ) ) )
- {
- victim = NULL;
- ignore = true;
- }
- if( (FactsQuerySum("NewGamePlus") <= 0 || !ModGeraltLevelScalesShouldBuffNGP()) && caster == thePlayer)
- {
- projDMG = projDMG + (( projDMG * 0.025f ) * ((CNewNPC)victim).GetLevel());
- return true;
- }
- if(false)
- // FCR3 --
- if ( thePlayer.IsCiri() && (CActor)victim )
- {
- projDMG = projDMG + (( projDMG * 0.025f ) * ((CActor)victim).GetLevel());
- }
- else
- {
- projDMG = projDMG + (( projDMG * 0.025f ) * thePlayer.GetLevel());
- }
- // -- FCR3
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement