Ejemplo n.º 1
0
 public AbnormalTypeDivine(string[] data)
 {
     Debug.Assert(data.Length == 4);
     maxStack         = int.Parse(data[1]);
     duration         = int.Parse(data[2]);
     stackDecreseType = (StackDecreaseTypeEnum)Enum.Parse(typeof(StackDecreaseTypeEnum), data[4]);
 }
Ejemplo n.º 2
0
 public AbnormalTypeHaste(string[] data)
 {
     Debug.Assert(data.Length == 5);
     percentValue     = int.Parse(data[1]);
     maxStack         = int.Parse(data[2]);
     duration         = int.Parse(data[3]);
     stackDecreseType = (StackDecreaseTypeEnum)Enum.Parse(typeof(StackDecreaseTypeEnum), data[4]);
 }