Skip to content

Commit

Permalink
E3S10: Give Blood Cores and doppelgangers IS_HERO
Browse files Browse the repository at this point in the history
This should *hopefully* make their presence seem really significant to
the player, in a "what happens if i touch this" sort of way at the very
minimum.

(See also issue #76.)
  • Loading branch information
irydacea committed Jun 25, 2020
1 parent 61747bc commit aa9cfaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Version 0.10.0+dev:
* E3S7A - Dark Fire:
* Poison Jar can now be used by the Saurian Skirmisher line and adds to
existing weapon specials instead of replacing them.
* E3S10 - Blood:
* Minor UI tweaks.

* Terrains:
* Updated Blood terrain to use the Wesnoth 1.14 water composition rules
Expand Down
10 changes: 9 additions & 1 deletion episode3/scenarios/10_Blood.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,7 @@ i #endarg
facing=$direction
random_traits=no
generate_name=no
{IS_HERO}
[variables]
is_zhangors_body=yes
[/variables]
Expand Down Expand Up @@ -2489,6 +2490,8 @@ i #endarg
{VARIABLE shapeshifter_id $null}
{VARIABLE shapeshifter_name $null}
{VARIABLE shapeshifter_variation $null}
{VARIABLE shapeshifter_ellipse "misc/ellipse-hero"}
{VARIABLE shapeshifter_overlays "misc/hero-icon.png"}

# Greater chance to spawn a generic shapeshifter rather than a
# mimic for any named character.
Expand Down Expand Up @@ -2574,6 +2577,8 @@ i #endarg
{VARIABLE shapeshifter_name _"Reghara"}
[/case]
[else]
{VARIABLE shapeshifter_ellipse $null}
{VARIABLE shapeshifter_overlays $null}
{RANDOM 1..100}
[if]
{VARIABLE_NUMERICAL_GREATER_THAN random 50}
Expand Down Expand Up @@ -2602,6 +2607,8 @@ i #endarg
x,y=$banshee_loc.x,$banshee_loc.y
id=$shapeshifter_id
name=$shapeshifter_name
ellipse=$shapeshifter_ellipse
overlays=$shapeshifter_overlays
generate_name=no
random_traits=no
random_gender=yes
Expand All @@ -2614,7 +2621,7 @@ i #endarg
[/variables]
[/unit]

{CLEAR_VARIABLE shapeshifter_id,shapeshifter_type,shapeshifter_mods,direction,random}
{CLEAR_VARIABLE shapeshifter_id,shapeshifter_type,shapeshifter_mods,shapeshifter_ellipse,shapeshifter_overlays,direction,random}
[/do]
[/foreach]

Expand Down Expand Up @@ -3400,6 +3407,7 @@ i #endarg
x,y=$satellite_loc.x,$satellite_loc.y
random_traits=no
generate_name=no
{IS_HERO}
[variables]
is_zhangors_body=yes
[/variables]
Expand Down

0 comments on commit aa9cfaa

Please sign in to comment.