示例#1
0
 public void ArmorOnAdd(coPlayerData datablock, coPlayer player)
     {
     player["mountVehicle"] = true.AsString();
     player.setRechargeRate(datablock["rechargeRate"].AsFloat());
     player.setRepairRate(0);
     //player.schedule("50", "updateHealth");
     }