Early Access, v1.0.1

This commit is contained in:
Nicola Sovic
2022-02-24 10:45:40 +01:00
parent 9610402e53
commit 639b127238
936 changed files with 75851 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
public class BasicRace
{
public string racename;
protected int dexterityBonus;
protected int intelligenceBonus;
protected int strengthBonus;
protected int healthBonus;
protected int secondaryBonus;
public BasicRace()
{
racename = "";
dexterityBonus = 0;
intelligenceBonus = 0;
strengthBonus = 0;
healthBonus = 0;
secondaryBonus = 0;
}
public void applyBonus(Player player)
{
player.changeStats(strengthBonus, healthBonus, dexterityBonus, intelligenceBonus, secondaryBonus);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9d7205b9e587ea844a590901f6ab3118
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
class DwarvenRace : BasicRace
{
public DwarvenRace() : base()
{
racename = "Dwarf";
dexterityBonus = 1;
intelligenceBonus = 0;
strengthBonus = 2;
healthBonus = 10;
secondaryBonus = -10;
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 33997d803fe792b498271ab199504f27
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
class ElvenRace : BasicRace
{
public ElvenRace() : base()
{
racename = "Elf";
dexterityBonus = 2;
intelligenceBonus = 3;
strengthBonus = -2;
healthBonus = 0;
secondaryBonus = 20;
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 887319a01dbcc7146813838a0f824cdf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
class GiantRace : BasicRace
{
public GiantRace() : base()
{
racename = "Giant";
dexterityBonus = 0;
intelligenceBonus = -3;
strengthBonus = 2;
healthBonus = 20;
secondaryBonus = -10;
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4211e7c55cb15f44c855072c2d94d1d1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
class GoblinRace : BasicRace
{
public GoblinRace() : base()
{
racename = "Goblin";
dexterityBonus = 3;
intelligenceBonus = -1;
strengthBonus = -2;
healthBonus = -10;
secondaryBonus = -10;
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 882772f2b274cbf4082a5df89b98c49d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Races
{
class HumanRace : BasicRace
{
public HumanRace() : base()
{
racename = "Human";
dexterityBonus = 0;
intelligenceBonus = 0;
strengthBonus = 0;
healthBonus = 0;
secondaryBonus = 0;
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2dbb989f6aa8fc84085a77f592987411
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: