예제 #1
0
 // Any addition attributes special to a particular weapon
 private void AddAttribute()
 {
     for (int i = 0; i < weaponAttribute.Length; i++)
     {
         switch (weaponAttribute[i])
         {
         case "s": weaponAttributeIndex[i] = (AttributeInstance.moveSpeedInstance(1, 10f)); break;
         }
     }
 }