SHARE
TWEET

Untitled

a guest Nov 14th, 2018 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Subscribe with Combatant.Actions.ActionStateChanged += Actions_ActionStateChanged;  
  2. private void Actions_ActionStateChanged(Combatant combatant)
  3.         {
  4.             UpdateSkills();
  5.             switch (combatant.Actions.ActionState)
  6.             {
  7.                 case CombatantActionState.Available:
  8.                     break;
  9.                 case CombatantActionState.Casting:
  10.                     break;
  11.                 case CombatantActionState.InAction:
  12.                     this.itemHoverChangedNotification(null);
  13.                     break;
  14.                 case CombatantActionState.EndingAction:
  15.                     if (BaseAttackActive)
  16.                         BaseAttackActive = false;
  17.                     break;
  18.                 default:
  19.                     break;
  20.             }
  21.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top