Exemple #1
0
 public CommandHolder(int chanceNotNormalized, Command command, AdvancedTargeting targeting)
 {
     Chance    = chanceNotNormalized;
     Command   = command;
     Targeting = targeting;
     LastRoll  = 0;
 }
Exemple #2
0
 public ActionHolder(int chanceNotNormalized, Action action, AdvancedTargeting targeting)
 {
     Chance    = chanceNotNormalized;
     Action    = action;
     Targeting = targeting;
     LastRoll  = 0;
 }
 public ActionHolder(int chanceNotNormalized, Entity actionEntity, AdvancedTargeting targeting)
 {
     Chance = chanceNotNormalized;
     if (actionEntity != null)
     {
         Action = actionEntity.GetTemplate <ActionTemplate>();
     }
     Targeting = targeting;
     LastRoll  = 0;
 }