Skip to content

Commit

Permalink
Add Eyes Amid the Leaves
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm authored Feb 5, 2025
1 parent 371047e commit e255c62
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
{ "values": [ { "value": "LUMINATION", "add": 2 } ] }
]
},
{
"type": "effect_type",
"id": "effect_changeling_autumn_scare_animals",
"//": "Tracker to prevent spell from being re-used back to back",
"name": [ "" ],
"desc": [ "" ]
},
{
"type": "effect_type",
"id": "effect_changeling_winter_freeze_target_in_place_not_winter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
"id": "EOC_CHANGELING_RESEARCH_SEASONAL_MAGIC_AUTUMN_TIER_1",
"effect": [
{
"u_roll_remainder": [ "changeling_summer_light_spell", "changeling_summer_sun_glasses_spell" ],
"u_roll_remainder": [ "changeling_autumn_scare_animals_spell" ],
"type": "spell",
"message": "Your research bears fruit! You learn the %s glamour.",
"true_eocs": [ "EOC_CHANGELING_RESEARCH_SEASONAL_MAGIC_DREAMDROSS_COST_UPDATER" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,37 @@
"max_book_level": 0,
"failure_chance_formula_id": "xe_fey_seasonal_magick_autumn_failure_chance"
},
{
"id": "changeling_autumn_scare_animals_spell",
"type": "SPELL",
"name": "Eyes Amid the Leaves",
"description": "Gaze at a nearby animal with the eyes of a stalking predator, sending them fleeing. Repeated gazes in a short period of time have no additional effect. The glamour has <color_yellow>reduced effect</color> in spring.",
"flags": [ "SOMATIC" ],
"magic_type": "xe_fey_seasonal_magick_autumn",
"spell_class": "CHANGELING_SEASONAL_MAGIC_AUTUMN",
"valid_targets": [ "ally", "hostile" ],
"teachable": false,
"skill": "deduction",
"max_level": 1,
"shape": "blast",
"difficulty": 2,
"effect": "effect_on_condition",
"effect_str": "EOC_CHANGELING_AUTUMN_SCARE_ANIMALS",
"min_range": {
"math": [
"min( ( 2 + (u_spell_count('school': 'CHANGELING_SEASONAL_MAGIC_AUTUMN') * 0.4) + (u_skill('deduction') * 0.6) ), 10)"
]
},
"max_range": {
"math": [
"min( ( 2 + (u_spell_count('school': 'CHANGELING_SEASONAL_MAGIC_AUTUMN') * 0.4) + (u_skill('deduction') * 0.6) ), 10)"
]
},
"base_energy_cost": {
"math": [ "max( ( 150 - (u_spell_count('school': 'CHANGELING_SEASONAL_MAGIC_AUTUMN') * 3) - (u_skill('deduction') * 6)), 50)" ]
},
"base_casting_time": 50
},
{
"id": "changeling_autumn_call_mists_spell",
"type": "SPELL",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,52 @@
[
{
"type": "effect_on_condition",
"id": "EOC_CHANGELING_AUTUMN_SCARE_ANIMALS",
"//": "Exclusive species list for compatibility",
"condition": {
"and": [
{ "not": "u_is_character" },
{ "not": { "u_has_species": "ROBOT" } },
{ "not": { "u_has_species": "ROBOT_FLYING" } },
{ "not": { "u_has_species": "NETHER" } },
{ "not": { "u_has_species": "NETHER_BURROWING" } },
{ "not": { "u_has_species": "FERAL" } },
{ "not": { "u_has_species": "VAMPIRE" } },
{ "not": { "u_has_species": "RENFIELD" } },
{ "not": { "u_has_species": "HORROR" } },
{ "not": { "u_has_species": "ABERRATION" } },
{ "not": { "u_has_species": "NIGHTMARE" } },
{ "not": { "u_has_species": "MIGO" } },
{ "not": { "u_has_species": "ZOMBIE" } },
{ "not": { "u_has_species": "SLIME" } },
{ "not": { "u_has_species": "PLANT" } },
{ "not": { "u_has_species": "FUNGUS" } },
{ "not": { "u_has_species": "CYBORG" } },
{ "not": { "u_has_species": "CHANGELING" } },
{ "not": { "u_has_species": "ARVORE" } },
{ "not": { "u_has_species": "HOMULLUS" } },
{ "not": { "u_has_species": "IERDE" } },
{ "not": { "u_has_species": "SALAMANDER" } },
{ "not": { "u_has_species": "SYLPH" } },
{ "not": { "u_has_species": "UNDINE" } }
]
},
"effect": [
{
"if": { "not": { "u_has_effect": "effect_changeling_autumn_scare_animals" } },
"then": [
{
"math": [
"u_val('morale')",
"-=",
"(25 + ( (u_spell_count('school': 'CHANGELING_SEASONAL_MAGIC_AUTUMN') * 2) + (u_skill('deduction') * 4) ) ) * global_what_is_the_season == 1 ? 0.5 : 1"
]
},
{ "u_add_effect": "effect_changeling_autumn_scare_animals", "duration": "5 minutes" }
]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_CHANGELING_AUTUMN_CHANGE_WEATHER_DENSE_FOG",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"description": "Your command over plants allows you to cause grass to grow in profusion from the soil, making the terrain very difficult for enemies to traverse. The glamour is much more difficult to use in the winter.",
"valid_targets": [ "hostile", "ground" ],
"teachable": false,
"flags": [ "VERRBAL", "SOMATIC", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS" ],
"flags": [ "SOMATIC", "NO_PROJECTILE", "NO_HANDS", "NO_LEGS" ],
"magic_type": "xe_fey_seasonal_magick_spring",
"spell_class": "CHANGELING_SEASONAL_MAGIC_SPRING",
"max_level": 1,
Expand Down Expand Up @@ -87,7 +87,7 @@
"type": "SPELL",
"name": "Nurturing the Green",
"description": "You can greatly speed plant growth. Grass can grow from seed in moments, crops can shoot towards the sky, and even young trees can put forth mighty limbs. You cannot, however, bring a plant to ripeness or fruiting. The glamour <color_red>cannot be used</color> in the winter.",
"flags": [ "SOMATIC", "VERBAL" ],
"flags": [ "VERBAL" ],
"magic_type": "xe_fey_seasonal_magick_spring",
"spell_class": "CHANGELING_SEASONAL_MAGIC_SPRING",
"valid_targets": [ "ground" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"name": "Bonefire's Light",
"description": "Conjure up a flickering ball of orange and red light that hovers nearby and sheds a dim glow on your surroundings. The glamour is <color_yellow>quicker to expire</color> in winter.",
"message": "",
"flags": [ "SOMATIC", "VERBAL", "RANDOM_DURATION" ],
"flags": [ "SOMATIC", "RANDOM_DURATION" ],
"magic_type": "xe_fey_seasonal_magick_summer",
"spell_class": "CHANGELING_SEASONAL_MAGIC_SUMMER",
"valid_targets": [ "self" ],
Expand Down Expand Up @@ -52,7 +52,7 @@
"name": "Shading Your Eyes",
"description": "The true initiate of summer can gaze directly at the sun without flinching. The glamour protects your eyes from the light of the noonday sun, as well as other sources of bright light such as flashbangs or welding torches.",
"message": "",
"flags": [ "SOMATIC", "VERBAL", "RANDOM_DURATION" ],
"flags": [ "VERBAL", "RANDOM_DURATION" ],
"magic_type": "xe_fey_seasonal_magick_summer",
"spell_class": "CHANGELING_SEASONAL_MAGIC_SUMMER",
"valid_targets": [ "self", "ally" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"name": "Jack's Breath",
"description": "Draw in the chill air of winter and breathe out a cone of freezing air and ice, damaging and slowing your opponents.",
"message": "You breathe out a cone of freezing air.",
"flags": [ "SOMATIC", "VERBAL", "RANDOM_DAMAGE", "RANDOM_DURATION" ],
"flags": [ "SOMATIC", "RANDOM_DAMAGE", "RANDOM_DURATION" ],
"magic_type": "xe_fey_seasonal_magick_winter",
"spell_class": "CHANGELING_SEASONAL_MAGIC_WINTER",
"valid_targets": [ "ally", "hostile", "ground" ],
Expand Down

0 comments on commit e255c62

Please sign in to comment.