Scenario 3 adjustment to turn 1 player unit recall and adjustment to evil Garak death events

This commit is contained in:
doofus-01 2018-05-19 10:45:28 -07:00 committed by Gregory A Lundberg
parent 846e5aff4e
commit f3500620ad
No known key found for this signature in database
GPG Key ID: 149484078AE8AE9E
3 changed files with 79 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -353,6 +353,13 @@
{NAMED_NOTRAIT_UNIT 3 (Spectre) 22 7 (Grak) (_"Grak")}
#endif
# give the champs an icon so they stand out, but make it gray since they are not loyal
[modify_unit]
[filter]
id=Grak,Zur
[/filter]
overlays=misc/loyal-icon.png~GS()
[/modify_unit]
[message]
speaker=Nym
message= _ "Kaleh, wake up! Sentries report movement in the sands!"
@ -462,6 +469,28 @@
[/foreach]
{CLEAR_VARIABLE tents}
{CLEAR_VARIABLE rally_chance}
# depending on what units rally, and where, player can lose a village to the north champion purely to RNG, this scout can block that without being too wonderful otherwise
#ifndef HARD
[recall]
type=Quenoth Scout
x,y=16,14
facing=se
[/recall]
[if]
[have_unit]
x,y=16,14
[/have_unit]
[else]
[unit]
type=Quenoth Scout
side=1
x,y=16,14
facing=se
[/unit]
[/else]
[/if]
#endif
[/event]
# The first capture of an elven_camp has some speech
@ -663,11 +692,15 @@
apply_to=attack
range=melee
[set_specials]
# name_inactive feature may be broken, causing this to be confusing. Commenting out the old strings, rather than removing, so it can easily be restored in case name_inactive is restored
[berserk]
id=berserk
name= _ "berserk"
# this should get a new name; it currently looks broken, since Garak doesn't have berserk attack against most enemies
# name= _ "berserk"
name= _ "incentive"
name_inactive=""
description= _ "Whether used offensively or defensively, this attack presses the engagement until one of the combatants is slain, or 30 rounds of attacks have occurred."
# description= _ "Whether used offensively or defensively, this attack presses the engagement until one of the combatants is slain, or 30 rounds of attacks have occurred."
description= _ "Whether used offensively or defensively, this attack presses the engagement until one of the champions is slain, or 30 rounds of attacks have occurred."
value=30
[filter_opponent]
id=Grak,Zur
@ -676,9 +709,12 @@
#ifndef HARD
[chance_to_hit]
id=magical
name= _ "magical"
# this should get a new name; it currently looks broken, since Garak doesn't have magical attack against most enemies
# name= _ "magical"
name= _ "blessed"
name_inactive=""
description= _ "This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
# description= _ "This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
description= _ "This attack always has a 70% chance to hit regardless of the defensive ability of the champion being attacked."
value=70
cumulative=no
[filter_opponent]
@ -1826,25 +1862,33 @@
speaker=Possessed Garak
message= _ "See, I told you I was more powerful. This game is over, now I can leave this shell of a body."
[/message]
[kill]
id=Possessed Garak
animate=no
fire_event=no
[/kill]
[unstore_unit]
variable=ElvishGarak
find_vacant=yes
[/unstore_unit]
[store_unit]
[filter]
id=Possessed Garak
[/filter]
variable=PossGarak
kill=no
[/store_unit]
[unit]
side=$unit.side
type=Defeated Corrupted Quenoth Elf
name= _ "Garak"
hitpoints=1
id=Garak_defeated
x,y=$PossGarak.x,$PossGarak.y
overwrite=yes
[/unit]
{CLEAR_VARIABLE PossGarak}
[message]
speaker=Zhul
message= _ "Hes... hes still breathing!"
[/message]
[message]
speaker=Garak
speaker=Garak_defeated
message= _ "Protect the boy for me Zhul, (<i>cough</i>) I go to a better place."
[/message]
[kill]
id=Garak
id=Garak_defeated
animate=yes
fire_event=no
[/kill]
@ -1992,11 +2036,6 @@
[filter]
id=Possessed Garak
[/filter]
[kill]
id=Possessed Garak
animate=no
fire_event=no
[/kill]
[if]
[have_unit]
id=Azkotep
@ -2018,20 +2057,25 @@
speaker=Kaleh
message= _ "Finally. It is over."
[/message]
[unstore_unit]
variable=ElvishGarak
find_vacant=yes
[/unstore_unit]
[unit]
side=$unit.side
type=Defeated Corrupted Quenoth Elf
name= _ "Garak"
hitpoints=1
id=Garak_defeated
x,y=$unit.x,$unit.y
overwrite=yes
[/unit]
[message]
speaker=Zhul
message= _ "Hes... hes still breathing!"
[/message]
[message]
speaker=Garak
speaker=Garak_defeated
message= _ "Protect the boy for me Zhul, (<i>cough</i>) I go to a better place."
[/message]
[kill]
id=Garak
id=Garak_defeated
animate=yes
fire_event=no
[/kill]

View File

@ -72,3 +72,12 @@
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -200}
[/attack_anim]
[/unit_type]
[unit_type]
id=Defeated Corrupted Quenoth Elf
image=units/quenoth/corrupted-elf-defeated.png
[base_unit]
id=Corrupted Quenoth Elf
[/base_unit]
do_not_list=yes
[/unit_type]