Land of Tower's bugs are really bugging me, so I decided I'd start yet another one... I assured myself that there was bound to be a bug in the new game that will force me to return to LoT.
If you're wondering what the new game's about, here is some of the code:
class Enemy extends Character{
var tier:Number;
var mingzi:String;
var currentForceSkill:Skill;
var currentAccuracySkill:Skill;
var currentRechargeSkill:Skill;
var characterTypeName:String;
var specialName:String;
var element:String;
var bust:MovieClip;
var picture:MovieClip;
var typeNumber:Number = 0;
var boss:Boolean
function Hero(type:Number, tier:Number, boss:Boolean, mingzi:String,
force:Skill, accuracy:Skill, recharge:Skill){
this.currentForceSkill = force;
this.currentAccuracySkill = accuracy;
this.currentRechargeSkill = recharge;
this.mingzi = mingzi;
this.typeNumber = type;
this.tier = tier;
if(boss){
switch(type){
case 1:
this.characterTypeName = "Warrior"
this.specialName = "Honour"
this.element = "Metal"
this.offence = 3 * tier;
this.defence = 3 * tier;
this.special = 1 * tier;
By the way, I'm going to try out some of the Game Jam 8 games in a moment!