Trophy updates.

This commit is contained in:
Steve 2016-04-28 17:20:16 +01:00
parent fc3bb75456
commit 099152b820
2 changed files with 17 additions and 6 deletions

View File

@ -154,25 +154,25 @@
}, },
{ {
"id" : "_CHALLENGE_25", "id" : "_CHALLENGE_25",
"title" : "", "title" : "Dedicated",
"description" : "Complete 25%% of all challenges", "description" : "Complete 25%% of all challenges",
"value" : "TROPHY_BRONZE" "value" : "TROPHY_BRONZE"
}, },
{ {
"id" : "_CHALLENGE_50", "id" : "_CHALLENGE_50",
"title" : "", "title" : "Obssessed",
"description" : "Complete 50%% of all challenges", "description" : "Complete 50%% of all challenges",
"value" : "TROPHY_SILVER" "value" : "TROPHY_SILVER"
}, },
{ {
"id" : "_CHALLENGE_100", "id" : "_CHALLENGE_100",
"title" : "", "title" : "Completitonist",
"description" : "Complete 100%% of all challenges", "description" : "Complete 100%% of all challenges",
"value" : "TROPHY_GOLD" "value" : "TROPHY_GOLD"
}, },
{ {
"id" : "ENEMY_50", "id" : "ENEMY_50",
"title" : "", "title" : "Hero",
"description" : "Take down 50 enemies (player only)", "description" : "Take down 50 enemies (player only)",
"value" : "TROPHY_BRONZE", "value" : "TROPHY_BRONZE",
"stat" : "STAT_ENEMIES_KILLED_PLAYER", "stat" : "STAT_ENEMIES_KILLED_PLAYER",
@ -180,7 +180,7 @@
}, },
{ {
"id" : "ENEMY_500", "id" : "ENEMY_500",
"title" : "", "title" : "Veteran",
"description" : "Take down 500 enemies (player only)", "description" : "Take down 500 enemies (player only)",
"value" : "TROPHY_SILVER", "value" : "TROPHY_SILVER",
"stat" : "STAT_ENEMIES_KILLED_PLAYER", "stat" : "STAT_ENEMIES_KILLED_PLAYER",
@ -188,7 +188,7 @@
}, },
{ {
"id" : "ENEMY_5000", "id" : "ENEMY_5000",
"title" : "", "title" : "Legend",
"description" : "Take down 5,000 enemies (player only)", "description" : "Take down 5,000 enemies (player only)",
"value" : "TROPHY_GOLD", "value" : "TROPHY_GOLD",
"stat" : "STAT_ENEMIES_KILLED_PLAYER", "stat" : "STAT_ENEMIES_KILLED_PLAYER",
@ -260,6 +260,12 @@
"statValue" : 13, "statValue" : 13,
"hidden" : 1 "hidden" : 1
}, },
{
"id" : "SURVIVOR",
"title" : "Survivor",
"description" : "Complete an epic battle without being killed",
"value" : "TROPHY_SILVER"
},
{ {
"id" : "ATAF_DESTROYED", "id" : "ATAF_DESTROYED",
"title" : "Almost indestructable. Almost", "title" : "Almost indestructable. Almost",

View File

@ -453,6 +453,11 @@ void awardPostMissionTrophies(void)
if (game.currentMission->epic) if (game.currentMission->epic)
{ {
awardTrophy("EPIC"); awardTrophy("EPIC");
if (battle.stats[STAT_PLAYER_KILLED] == 0)
{
awardTrophy("SURVIVOR");
}
} }
} }