Drakten

Untitled

Jun 3rd, 2020
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. static function X2AbilityTemplate PommelBscAbility()
  2. {
  3. local XMBEffect_ConditionalBonus Effect;
  4. local XMBCondition_AbilityName Condition;
  5.  
  6. Effect = new class'XMBEffect_ConditionalBonus';
  7. Effect.AddDamageModifier(default.POMMEL_BSC_DMG, eHit_Success, '');
  8. Condition = new class'XMBCondition_AbilityName';
  9. Condition.IncludeAbilityNames.AddItem('BladestormAttack');
  10. Effect.AbilityTargetConditions.AddItem(Condition);
  11.  
  12. // Create the template using a helper function
  13. return Passive('PommelBscAbility', "img:///XPerkIconPack.UIPerk_move_sniper", false, Effect);
  14. }
Add Comment
Please, Sign In to add comment