public void setAlive(boolean alive) {
        aliveDirty = true;
        lifeDirty = true;
        if (this.alive == false && alive) {
            this.setLife(1);
            for (WeaponInfo wi : getWeaponsData()) {
                wi.resetAmoAmount();
            }
        }
        this.alive = alive;
    }