/** Base player level one stats **/ public BasePlayer() { this.playerName = "Mr. Default"; this.playerClass = "NPC"; this.playerProfile = "Images/generic"; this.playerLevel = 1; this.strength = 25; this.intelligence = 25; this.speed = 10; this.spirit = 10; this.defense = 25; this.hitPoints = 100; this.currentHP = this.hitPoints; this.magicPoints = 100; this.currentMP = this.magicPoints; this.fortitude = (defense / 2) + (speed / 2); this.attack = strength; this.magicDefense = spirit; this.magicAttack = intelligence; weapon = new BaseWeapon(); armor = new LeatherArmor(); accessory = new HPRing(); UpdatePlayer(); }
/** Base player level one stats **/ public BasePlayer() { this.playerName = "Mr. Default"; this.playerClass = "NPC"; this.playerProfile = "Images/generic"; this.playerLevel = 1; this.strength = 25; this.intelligence = 25; this.speed = 10; this.spirit = 10; this.defense = 25; this.hitPoints = 100; this.currentHP = this.hitPoints; this.magicPoints = 100; this.currentMP = this.magicPoints; this.fortitude = (defense / 2) + (speed / 2); this.attack = strength; this.magicDefense = spirit; this.magicAttack = intelligence; weapon = new BaseWeapon (); armor = new LeatherArmor (); accessory = new HPRing (); UpdatePlayer (); }