Exemple #1
0
def user_attack():
	dam = player.player_damage()
	dam = mob.mob_defence(dam)
	mob.damage_mob(dam)
	mob.print_HP()
	if mob.is_alive() == True:	
		if mob.poison == True:
			dam = player.poison_damage(mob.mob_name)
			mob.damage_mob(dam)
			mob.print_HP()
			mob_attack()
		else:
			mob_attack()
	else:
		player.xp_check(mob.mob_expValue)
		drop = mob.get_item_drop(player.plr_lvl)
		player.add_drop(drop)
		return
Exemple #2
0
def user_attack():
    dam = player.player_damage()
    dam = mob.mob_defence(dam)
    mob.damage_mob(dam)
    mob.print_HP()
    if mob.is_alive() == True:
        if mob.poison == True:
            dam = player.poison_damage(mob.mob_name)
            mob.damage_mob(dam)
            mob.print_HP()
            mob_attack()
        else:
            mob_attack()
    else:
        player.xp_check(mob.mob_expValue)
        drop = mob.get_item_drop(player.plr_lvl)
        player.add_drop(drop)
        return
Exemple #3
0
def player_power():
	if player.AP_check() == True:
		player.cost_AP()
	else:
		battle_options()	
	if player.is_class("Rouge"):
		mob.poison_mob()
		battle_options()
	else:
		dam = player.power_use()
		dam = mob.mob_defence(dam)
		mob.damage_mob(dam)
		mob.print_HP()
		player.print_AP2()
		if mob.is_alive() == True:
			mob_attack()
		else:
			player.xp_check(mob.mob_expValue)
			mob.get_item_drop(player.plr_lvl)
			return
Exemple #4
0
def player_power():
    if player.AP_check() == True:
        player.cost_AP()
    else:
        battle_options()
    if player.is_class("Rouge"):
        mob.poison_mob()
        battle_options()
    else:
        dam = player.power_use()
        dam = mob.mob_defence(dam)
        mob.damage_mob(dam)
        mob.print_HP()
        player.print_AP2()
        if mob.is_alive() == True:
            mob_attack()
        else:
            player.xp_check(mob.mob_expValue)
            mob.get_item_drop(player.plr_lvl)
            return