|
91 | 91 | {
|
92 | 92 | "type": "effect_on_condition",
|
93 | 93 | "id": "EOC_SKY_ISLAND_VAMPIRE_TIER_4",
|
| 94 | + "condition": { "u_has_trait": "VAMPIRE3" }, |
94 | 95 | "effect": [
|
95 | 96 | { "u_remove_item_with": "upgradekey_vampire4" },
|
96 | 97 | { "u_forget_recipe": "upgradekey_vampire4" },
|
97 | 98 | { "u_add_trait": "VAMPIRE4" },
|
98 | 99 | { "run_eocs": "EOC_REMOVE_DREAM_MAGIC" },
|
| 100 | + { "run_eocs": [ "EOC_VAMPIRE_ADD_ONE_WEAKNESS" ] }, |
99 | 101 | { "u_add_effect": "vampire_virus_ascendant", "intensity": 1, "duration": "PERMANENT" },
|
100 | 102 | { "u_message": "Your eyes redden even more as you pass a point of no return.", "type": "mixed" }
|
| 103 | + ], |
| 104 | + "false_effect": [ |
| 105 | + { |
| 106 | + "if": { "u_has_effect": "vampire_virus" }, |
| 107 | + "then": { "u_message": "You lack the vampiric potency to use this.", "type": "bad" }, |
| 108 | + "else": { "u_message": "You cannot empower your vampirism without being a vampire.", "type": "bad" } |
| 109 | + } |
101 | 110 | ]
|
102 | 111 | },
|
103 | 112 | {
|
|
129 | 138 | { "u_remove_item_with": "upgradekey_vampire5" },
|
130 | 139 | { "u_forget_recipe": "upgradekey_vampire5" },
|
131 | 140 | { "u_add_trait": "BLOOD_DRINKER" },
|
| 141 | + { "run_eocs": [ "EOC_VAMPIRE_ADD_ONE_WEAKNESS" ] }, |
| 142 | + { "run_eocs": [ "EOC_VAMPIRE_ADD_ONE_WEAKNESS" ] }, |
132 | 143 | { "u_add_effect": "vampire_virus_post_mortal", "intensity": 1, "duration": "PERMANENT" },
|
133 | 144 | {
|
134 | 145 | "u_message": "Your thirst for blood grows, and so does your power, as you reach the final state of vampirism.",
|
|
0 commit comments