Exemplo n.º 1
0
 //CHECK THE PATHFINDER
 void AddStuffToPlayer(TroopScript player,int faction,muhClasses muhclass,Chief leader, int Attack,int Defence,int HitPoints,int Speed,int NumberOfSoldiers,  Weaponry _weapon, Armory _armor)
 {
     //	Classes ClassToSet = Classes.fromList(muhclass);
     player.Faction = faction;
     player.SetClassDONTUSETHISAREYOUSUREYOUWANTTOUSETHISYOUREALLYSHOULDNT(muhclass);
     player.SetChief(leader);
     player.SetBaseAttack(Attack);
     player.SetBaseDefence(Defence);
     player.SetBaseHitpoints(HitPoints);
     player.SetBaseSpeed(Speed);
     player.SetNumber(NumberOfSoldiers);
     player.SetWeapon(_weapon);
     player.SetArmor(_armor);
 }