@ -75,47 +75,47 @@ var EnemyTemplates = map[EnemyType]Enemy{
// --- Basic enemies ---
// --- Basic enemies ---
EnemyWolf : {
EnemyWolf : {
Type : EnemyWolf , Name : "Forest Wolf" ,
Type : EnemyWolf , Name : "Forest Wolf" ,
MaxHP : 45, Attack : 9 , Defense : 4 , Speed : 1.8 , CritChance : 0.05 ,
MaxHP : 60, Attack : 11 , Defense : 5 , Speed : 1.8 , CritChance : 0.05 ,
MinLevel : 1 , MaxLevel : 5 ,
MinLevel : 1 , MaxLevel : 5 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
} ,
} ,
EnemyBoar : {
EnemyBoar : {
Type : EnemyBoar , Name : "Wild Boar" ,
Type : EnemyBoar , Name : "Wild Boar" ,
MaxHP : 65, Attack : 18 , Defense : 7 , Speed : 0.8 , CritChance : 0.08 ,
MaxHP : 74, Attack : 19 , Defense : 8 , Speed : 0.8 , CritChance : 0.08 ,
MinLevel : 2 , MaxLevel : 6 ,
MinLevel : 2 , MaxLevel : 6 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
} ,
} ,
EnemyZombie : {
EnemyZombie : {
Type : EnemyZombie , Name : "Rotting Zombie" ,
Type : EnemyZombie , Name : "Rotting Zombie" ,
MaxHP : 95, Attack : 16 , Defense : 7 , Speed : 0.5 ,
MaxHP : 108, Attack : 17 , Defense : 8 , Speed : 0.5 ,
MinLevel : 3 , MaxLevel : 8 ,
MinLevel : 3 , MaxLevel : 8 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
SpecialAbilities : [ ] SpecialAbility { AbilityPoison } ,
SpecialAbilities : [ ] SpecialAbility { AbilityPoison } ,
} ,
} ,
EnemySpider : {
EnemySpider : {
Type : EnemySpider , Name : "Cave Spider" ,
Type : EnemySpider , Name : "Cave Spider" ,
MaxHP : 38, Attack : 16 , Defense : 3 , Speed : 2.0 , CritChance : 0.15 ,
MaxHP : 44, Attack : 17 , Defense : 4 , Speed : 2.0 , CritChance : 0.15 ,
MinLevel : 4 , MaxLevel : 9 ,
MinLevel : 4 , MaxLevel : 9 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
SpecialAbilities : [ ] SpecialAbility { AbilityCritical } ,
SpecialAbilities : [ ] SpecialAbility { AbilityCritical } ,
} ,
} ,
EnemyOrc : {
EnemyOrc : {
Type : EnemyOrc , Name : "Orc Warrior" ,
Type : EnemyOrc , Name : "Orc Warrior" ,
MaxHP : 11 0, Attack : 21 , Defense : 12 , Speed : 1.0 , CritChance : 0.05 ,
MaxHP : 11 8, Attack : 22 , Defense : 13 , Speed : 1.0 , CritChance : 0.05 ,
MinLevel : 5 , MaxLevel : 12 ,
MinLevel : 5 , MaxLevel : 12 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
SpecialAbilities : [ ] SpecialAbility { AbilityBurst } ,
SpecialAbilities : [ ] SpecialAbility { AbilityBurst } ,
} ,
} ,
EnemySkeletonArcher : {
EnemySkeletonArcher : {
Type : EnemySkeletonArcher , Name : "Skeleton Archer" ,
Type : EnemySkeletonArcher , Name : "Skeleton Archer" ,
MaxHP : 9 0, Attack : 24 , Defense : 10 , Speed : 1.3 , CritChance : 0.06 ,
MaxHP : 9 6, Attack : 24 , Defense : 11 , Speed : 1.3 , CritChance : 0.06 ,
MinLevel : 6 , MaxLevel : 14 ,
MinLevel : 6 , MaxLevel : 14 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
SpecialAbilities : [ ] SpecialAbility { AbilityDodge } ,
SpecialAbilities : [ ] SpecialAbility { AbilityDodge } ,
} ,
} ,
EnemyBattleLizard : {
EnemyBattleLizard : {
Type : EnemyBattleLizard , Name : "Battle Lizard" ,
Type : EnemyBattleLizard , Name : "Battle Lizard" ,
MaxHP : 14 0, Attack : 24 , Defense : 18 , Speed : 0.7 , CritChance : 0.03 ,
MaxHP : 14 8, Attack : 25 , Defense : 19 , Speed : 0.7 , CritChance : 0.03 ,
MinLevel : 7 , MaxLevel : 15 ,
MinLevel : 7 , MaxLevel : 15 ,
XPReward : 1 , GoldReward : 1 ,
XPReward : 1 , GoldReward : 1 ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen } ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen } ,
@ -124,42 +124,42 @@ var EnemyTemplates = map[EnemyType]Enemy{
// --- Elite enemies ---
// --- Elite enemies ---
EnemyFireDemon : {
EnemyFireDemon : {
Type : EnemyFireDemon , Name : "Fire Demon" ,
Type : EnemyFireDemon , Name : "Fire Demon" ,
MaxHP : 230, Attack : 34 , Defense : 20 , Speed : 1.2 , CritChance : 0.10 ,
MaxHP : 128, Attack : 24 , Defense : 13 , Speed : 1.2 , CritChance : 0.10 ,
MinLevel : 10 , MaxLevel : 20 ,
MinLevel : 10 , MaxLevel : 20 ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilityBurn } ,
SpecialAbilities : [ ] SpecialAbility { AbilityBurn } ,
} ,
} ,
EnemyIceGuardian : {
EnemyIceGuardian : {
Type : EnemyIceGuardian , Name : "Ice Guardian" ,
Type : EnemyIceGuardian , Name : "Ice Guardian" ,
MaxHP : 2 80, Attack : 32 , Defense : 28 , Speed : 0.7 , CritChance : 0.04 ,
MaxHP : 2 45, Attack : 28 , Defense : 26 , Speed : 0.7 , CritChance : 0.04 ,
MinLevel : 12 , MaxLevel : 22 ,
MinLevel : 12 , MaxLevel : 22 ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilityIceSlow } ,
SpecialAbilities : [ ] SpecialAbility { AbilityIceSlow } ,
} ,
} ,
EnemySkeletonKing : {
EnemySkeletonKing : {
Type : EnemySkeletonKing , Name : "Skeleton King" ,
Type : EnemySkeletonKing , Name : "Skeleton King" ,
MaxHP : 420, Attack : 48 , Defense : 30 , Speed : 0.9 , CritChance : 0.08 ,
MaxHP : 365, Attack : 42 , Defense : 28 , Speed : 0.9 , CritChance : 0.08 ,
MinLevel : 15 , MaxLevel : 25 ,
MinLevel : 15 , MaxLevel : 25 ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
XPReward : 1 , GoldReward : 1 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen , AbilitySummon } ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen , AbilitySummon } ,
} ,
} ,
EnemyWaterElement : {
EnemyWaterElement : {
Type : EnemyWaterElement , Name : "Water Element" ,
Type : EnemyWaterElement , Name : "Water Element" ,
MaxHP : 520, Attack : 42 , Defense : 24 , Speed : 0.8 , CritChance : 0.05 ,
MaxHP : 455, Attack : 37 , Defense : 22 , Speed : 0.8 , CritChance : 0.05 ,
MinLevel : 18 , MaxLevel : 28 ,
MinLevel : 18 , MaxLevel : 28 ,
XPReward : 2 , GoldReward : 1 , IsElite : true ,
XPReward : 2 , GoldReward : 1 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilitySlow } ,
SpecialAbilities : [ ] SpecialAbility { AbilitySlow } ,
} ,
} ,
EnemyForestWarden : {
EnemyForestWarden : {
Type : EnemyForestWarden , Name : "Forest Warden" ,
Type : EnemyForestWarden , Name : "Forest Warden" ,
MaxHP : 700, Attack : 38 , Defense : 40 , Speed : 0.5 , CritChance : 0.03 ,
MaxHP : 610, Attack : 34 , Defense : 37 , Speed : 0.5 , CritChance : 0.03 ,
MinLevel : 20 , MaxLevel : 30 ,
MinLevel : 20 , MaxLevel : 30 ,
XPReward : 2 , GoldReward : 1 , IsElite : true ,
XPReward : 2 , GoldReward : 1 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen } ,
SpecialAbilities : [ ] SpecialAbility { AbilityRegen } ,
} ,
} ,
EnemyLightningTitan : {
EnemyLightningTitan : {
Type : EnemyLightningTitan , Name : "Lightning Titan" ,
Type : EnemyLightningTitan , Name : "Lightning Titan" ,
MaxHP : 650, Attack : 56 , Defense : 30 , Speed : 1.5 , CritChance : 0.12 ,
MaxHP : 565, Attack : 49 , Defense : 28 , Speed : 1.5 , CritChance : 0.12 ,
MinLevel : 25 , MaxLevel : 35 ,
MinLevel : 25 , MaxLevel : 35 ,
XPReward : 3 , GoldReward : 2 , IsElite : true ,
XPReward : 3 , GoldReward : 2 , IsElite : true ,
SpecialAbilities : [ ] SpecialAbility { AbilityStun , AbilityChainLightning } ,
SpecialAbilities : [ ] SpecialAbility { AbilityStun , AbilityChainLightning } ,