Commit 0cfbaf59e43913e4b95f67a2e7847a8386fc8558
1 parent
34fac931
Fix blighted summoning not working with some wild summons
Showing
1 changed file
with
6 additions
and
6 deletions
... | ... | @@ -205,23 +205,23 @@ uberTalent{ |
205 | 205 | who:learnTalent(who.T_VIRULENT_DISEASE, true, 3, {no_unlearn=true}) |
206 | 206 | end |
207 | 207 | elseif who.is_nature_summon then |
208 | - if who.name == "war hound" then | |
208 | + if who.subtype == "canine" then | |
209 | 209 | who:learnTalent(who.T_GNAW, true, 3, {no_unlearn=true}) |
210 | 210 | elseif who.subtype == "jelly" then |
211 | 211 | who:learnTalent(who.T_CURSE_OF_DEFENSELESSNESS, true, 3, {no_unlearn=true}) |
212 | - elseif who.name == "minotaur" then | |
212 | + elseif who.subtype == "minotaur" then | |
213 | 213 | who:learnTalent(who.T_RUIN, true, 3, {no_unlearn=true}) who:forceUseTalent(who.T_RUIN, {ignore_energy=true}) |
214 | - elseif who.name == "stone golem" then | |
214 | + elseif who.subtype == "stone" then | |
215 | 215 | who:learnTalent(who.T_ACID_BLOOD, true, 3, {no_unlearn=true}) |
216 | 216 | elseif who.subtype == "ritch" then |
217 | 217 | who:learnTalent(who.T_LIFE_TAP, true, 3, {no_unlearn=true}) |
218 | 218 | elseif who.type == "hydra" then |
219 | 219 | who:learnTalent(who.T_BLOOD_SPRAY, true, 3, {no_unlearn=true}) |
220 | - elseif who.name == "rimebark" then | |
220 | + elseif who.subtype == "plants" then | |
221 | 221 | who:learnTalent(who.T_POISON_STORM, true, 3, {no_unlearn=true}) |
222 | - elseif who.name == "fire drake" then | |
222 | + elseif who.name == "fire drake" or who.name == "fire drake (wild summon)" then | |
223 | 223 | who:learnTalent(who.T_FLAME_OF_URH_ROK, true, 3, {no_unlearn=true}) who:forceUseTalent(who.T_FLAME_OF_URH_ROK, {ignore_energy=true}) |
224 | - elseif who.name == "turtle" then | |
224 | + elseif who.subtype == "turtle" then | |
225 | 225 | who:learnTalent(who.T_ELEMENTAL_DISCORD, true, 3, {no_unlearn=true}) who:forceUseTalent(who.T_ELEMENTAL_DISCORD, {ignore_energy=true}) |
226 | 226 | elseif who.subtype == "spider" then |
227 | 227 | who:learnTalent(who.T_BLOOD_GRASP, true, 3, {no_unlearn=true}) | ... | ... |
-
Please register or login to post a comment