Dancer_A

If Gold

Feb 1st, 2023
999
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. // Event_Processor_Command.cs
  2.         private bool if_statement_switch(string[] if_key)
  3.         {
  4.         ...
  5. // I put it between map and unit state under the ballista ammo check, but it doesn't really matter where
  6.          case "Gold":
  7.          // Value[1] = gold amount
  8.          result = Global.battalion.gold >= process_number(command.Value[1]);
  9.          break;
  10.         ...
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment