Beispiel #1
0
 private static void StatManagerOnOnEquipmentActivated(On.RoR2.Stats.StatManager.orig_OnEquipmentActivated orig, EquipmentSlot activator, EquipmentIndex equipmentIndex)
 {
     if ((int)equipmentIndex < OriginalEquipmentCount)
     {
         orig(activator, equipmentIndex);
     }
 }
Beispiel #2
0
 private void StatManager_OnEquipmentActivated(On.RoR2.Stats.StatManager.orig_OnEquipmentActivated orig, EquipmentSlot activator, EquipmentIndex equipmentIndex)
 {
     if (!Drizzle())
     {
         orig(activator, equipmentIndex);
     }
 }