Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. if (che_nodo_toccato_speciale > -1)
  2. {
  3.  
  4. if (che_nodo_toccato_speciale != carta_speciale_che_nodo_rt_toccato)
  5. {
  6.  
  7.  
  8. if (carta_evento_speciale == "node_friendly")
  9. {
  10.  
  11. if (che_proprieta == che_giocatore)
  12. {
  13.  
  14. if (Input.GetMouseButtonUp(0))
  15. {
  16. fatto_evento = 1;
  17.  
  18. posizione_op = -1;
  19. carta_speciale_deck_id = 0;
  20.  
  21. }
  22.  
  23. }
  24.  
  25. }
  26.  
  27. if (carta_evento_speciale == "node_opponent")
  28. {
  29.  
  30. if (che_proprieta != che_giocatore)
  31. {
  32.  
  33. if (Input.GetMouseButtonUp(0))
  34. {
  35. fatto_evento = 1;
  36.  
  37. posizione_op = -1;
  38. carta_speciale_deck_id = 0;
  39.  
  40. }
  41.  
  42. }
  43.  
  44. }
  45.  
  46. if (carta_evento_speciale == "node_generic")
  47. {
  48.  
  49.  
  50. if (Input.GetMouseButtonUp(0))
  51. {
  52. fatto_evento = 1;
  53.  
  54. posizione_op = -1;
  55. carta_speciale_deck_id = 0;
  56.  
  57. }
  58.  
  59. }
  60.  
  61. if (carta_evento_speciale == "op_friendly")
  62. {
  63. if (che_proprieta == che_giocatore)
  64. {
  65.  
  66. if (Input.GetMouseButtonUp(0) && posizione_op > -1)
  67. {
  68. fatto_evento = 1;
  69.  
  70. }
  71.  
  72. }
  73.  
  74. }
  75.  
  76. if (carta_evento_speciale == "op_opponent")
  77. {
  78. if (che_proprieta != che_giocatore)
  79. {
  80.  
  81. if (Input.GetMouseButtonUp(0) && posizione_op > -1)
  82. {
  83. fatto_evento = 1;
  84.  
  85. }
  86.  
  87. }
  88.  
  89. }
  90.  
  91. if (carta_evento_speciale == "op_generic")
  92. {
  93.  
  94.  
  95. if (Input.GetMouseButtonUp(0) && posizione_op > -1)
  96. {
  97. fatto_evento = 1;
  98.  
  99. }
  100.  
  101.  
  102. }
  103.  
  104. }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement