Revert cause it's using the wrong cooldown
This commit is contained in:
		
							parent
							
								
									59d28be90a
								
							
						
					
					
						commit
						8dbb5e1145
					
				| @ -36,7 +36,8 @@ let getShieldGif = function | ||||
| let constructButtons (actionType: string) (player: PlayerData) (buttonId : string) (items: BattleItem array) isTrainer = | ||||
|     items | ||||
|     |> Array.map (fun item -> | ||||
|         match player.Actions |> Array.exists (fun i -> i.ActionId = item.Id) && not isTrainer with | ||||
| //        match player.Actions |> Array.exists (fun i -> i.ActionId = item.Id) && not isTrainer with | ||||
|         match false with | ||||
|         | true -> DiscordButtonComponent(Game.getClassButtonColor item.Class, $"{actionType}-{item.Id}", $"{item.Name} (on cooldown)", true) | ||||
|         | false -> DiscordButtonComponent(Game.getClassButtonColor item.Class, $"{actionType}-{item.Id}-{buttonId}", $"{item.Name}")) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user