C:\Users\buildzoid\Desktop\GameEngineOnlyBranch\src\Actions\a1example.java |
1 package Actions;
2
3
4
5 import game.FightGUI;
6 import game.MFC;
7
8
9
10
11 public class a1example {
12 public static String gname(){
13 return "Water burst";
14 }
15
16 public static String gdescription(){;
17 return "The user summons humidity from the surrounds\n"
18 + "and then sends it at the enemy at high speed.";
19 }
20
21 public static void dothing(int tti, int trgt, int caster){
22
23 if (tti == 0) {
24
25 FightGUI.addAction(1, 2, trgt, caster);
26 }else if (tti > 1){
27 FightGUI.addAction(1, 1, trgt, caster);
28 } else if (tti == 1){
29 MFC.EIDs[trgt].HPmod += 100;
30 }
31 }
32
33 public static int gAOE(){
34
35 return 1;
36 }
37 }
38