示例#1
0
void ForceDragonSetup(void)
{
	int i = 0;
	SetCurrentFloor(20);
	GrantGold(5000);
	for(i = 0; i < 20; ++i)
	{
		LevelUpData();
	}
	LevelUp();
}
示例#2
0
文件: Battle.c 项目: mla133/PebbGame
void BattleUpdate(void)
{
	if(currentMonsterHealth <= 0)
	{
		CloseBattleWindow();
		GrantGold(currentFloor * currentMonster->goldScale);
		if(currentFloor == 20)
		{
			ShowEndWindow();
		}
		else if(GrantExperience(currentFloor))
		{
			LevelUp();
		}
		return;
	}

	MonsterAttack();
}
示例#3
0
void ForceGold(void)
{
	GrantGold(100);
	ShowMainWindowRow(4, "Gold", UpdateGoldText());
}