#21
|
|||
|
|||
1) the powerful raise ability is intentionally limited to the recent past... as a balancing factor... its still prolly op!
2) what does the witchhunter fix actually do? (I didn't know what was wrong with them before) also... is 20intiative rune mages a bug? what should it be? is that fixable via lua? what was it in crossworlds? 20 seems like its gotta be a typo? 20 is prolly the max possible value or something? |
#22
|
|||
|
|||
I think this post covers this problem: http://forum.1cpublishing.eu/showthread.php?t=35519
Quote:
/C\/C\ Quote:
|
#23
|
|||
|
|||
Quote:
Quote:
|
#24
|
|||
|
|||
Quote:
I've never used Alchemists/Engineers in WotN, so I'm not sure if they are supposed to have the option to mix more than one without an item. |
#25
|
|||
|
|||
Alfheim fix - the Alfheim edda is supposed to only cast beneficial spells on allies and harmful spells on enemies, but it was casting both types on any units
addon_arena.lua original: Code:
local tab_spell_select = { -- õîðîøèå çàêëû {s = "spell_dispell", nf = "magic_immunitet,pawn,boss"}, {s = "spell_haste", nf = "magic_immunitet,pawn,boss"}, {s = "spell_bless", nf = "undead,magic_immunitet,pawn,boss"}, {s = "spell_divine_armor", nf = "undead,magic_immunitet,pawn,boss"}, {s = "spell_reaction", nf = "magic_immunitet,pawn,boss"}, {s = "spell_gifts", nf = "magic_immunitet,pawn,boss"}, -- ïëîõèå çàêëû {s = "spell_defenseless", nf = "magic_immunitet,pawn,boss"}, {s = "spell_slow", nf = "magic_immunitet,pawn,boss"}, {s = "spell_magic_bondage", nf = "mind_immunitet,magic_immunitet,pawn,boss"}, {s = "spell_pygmy", nf = "magic_immunitet,pawn,boss"}, {s = "spell_scare", nf = "magic_immunitet,mind_immunitet,undead,pawn,boss"}, {s = "spell_weakness", nf = "undead,golem,plant,magic_immunitet,pawn,boss"}, {s = "spell_crue_fate", nf = "magic_immunitet,pawn,boss"}--[[, {s = "spell_ram", nf = "magic_immunitet,pawn,boss,mech"}]] } local cast = {} local spell_count = table.getn(tab_spell_select) local acnt = Attack.act_count() local total_prob = 0 for i = 1, spell_count do local spell = (tab_spell_select[i]).s local nfeatures = (tab_spell_select[i]).nf local tab_spell_targets = {} for j = 0, acnt-1 do if not Attack.act_feature(j, nfeatures) and Attack.act_takesdmg(j) then table.insert(tab_spell_targets, j) -- âûáîð áàçîâûõ öåëåé end end if table.getn(tab_spell_targets) > 0 then -- åñòü áàçîâûå öåëè local spell_lvl = Game.Random (1, 3) -- óðîâåíü çàêëà, êîòîðûé áóäåì þçàòü local applicable = Attack.build_spell_attack(spell, spell_lvl).applicable for i, t in ipairs (tab_spell_targets) do if applicable(t) then -- çàêë ïðèìåíèì íà ýòó öåëü local prob = 10 total_prob = total_prob + prob table.insert(cast, {spell = spell, level = spell_lvl, target = t, prob = prob}) end end end end Code:
local tab_spell_select_positive = { -- õîðîøèå çàêëû {s = "spell_dispell", nf = "magic_immunitet,pawn,boss"}, {s = "spell_haste", nf = "magic_immunitet,pawn,boss"}, {s = "spell_bless", nf = "undead,magic_immunitet,pawn,boss"}, {s = "spell_divine_armor", nf = "undead,magic_immunitet,pawn,boss"}, {s = "spell_reaction", nf = "magic_immunitet,pawn,boss"}, {s = "spell_gifts", nf = "magic_immunitet,pawn,boss"} } local tab_spell_select_negative = { -- ïëîõèå çàêëû {s = "spell_defenseless", nf = "magic_immunitet,pawn,boss"}, {s = "spell_slow", nf = "magic_immunitet,pawn,boss"}, {s = "spell_magic_bondage", nf = "mind_immunitet,magic_immunitet,pawn,boss"}, {s = "spell_pygmy", nf = "magic_immunitet,pawn,boss"}, {s = "spell_scare", nf = "magic_immunitet,mind_immunitet,undead,pawn,boss"}, {s = "spell_weakness", nf = "undead,golem,plant,magic_immunitet,pawn,boss"}, {s = "spell_crue_fate", nf = "magic_immunitet,pawn,boss"}--[[, {s = "spell_ram", nf = "magic_immunitet,pawn,boss,mech"}]] } local cast = {} local acnt = Attack.act_count() local total_prob = 0 local spell_count = table.getn(tab_spell_select_positive) for i = 1, spell_count do local spell = (tab_spell_select_positive[i]).s local nfeatures = (tab_spell_select_positive[i]).nf local tab_spell_targets = {} for j = 0, acnt-1 do if not Attack.act_feature(j, nfeatures) and Attack.act_takesdmg(j) and Attack.act_ally(j) then table.insert(tab_spell_targets, j) -- âûáîð áàçîâûõ öåëåé end end if table.getn(tab_spell_targets) > 0 then -- åñòü áàçîâûå öåëè local spell_lvl = Game.Random (1, 3) -- óðîâåíü çàêëà, êîòîðûé áóäåì þçàòü local applicable = Attack.build_spell_attack(spell, spell_lvl).applicable for i, t in ipairs (tab_spell_targets) do if applicable(t) then -- çàêë ïðèìåíèì íà ýòó öåëü local prob = 10 total_prob = total_prob + prob table.insert(cast, {spell = spell, level = spell_lvl, target = t, prob = prob}) end end end end spell_count = table.getn(tab_spell_select_negative) for i = 1, spell_count do local spell = (tab_spell_select_negative[i]).s local nfeatures = (tab_spell_select_negative[i]).nf local tab_spell_targets = {} for j = 0, acnt-1 do if not Attack.act_feature(j, nfeatures) and Attack.act_takesdmg(j) and Attack.act_enemy(j) then table.insert(tab_spell_targets, j) -- âûáîð áàçîâûõ öåëåé end end if table.getn(tab_spell_targets) > 0 then -- åñòü áàçîâûå öåëè local spell_lvl = Game.Random (1, 3) -- óðîâåíü çàêëà, êîòîðûé áóäåì þçàòü local applicable = Attack.build_spell_attack(spell, spell_lvl).applicable for i, t in ipairs (tab_spell_targets) do if applicable(t) then -- çàêë ïðèìåíèì íà ýòó öåëü local prob = 10 total_prob = total_prob + prob table.insert(cast, {spell = spell, level = spell_lvl, target = t, prob = prob}) end end end end |
#26
|
|||
|
|||
Book of evil correction :
in spells_power.lua Original Quote:
Quote:
|
#27
|
|||
|
|||
Nice find. Added that to the first post. Also added a fix for the Song of Svartalfheim.
|
#28
|
|||
|
|||
Quote:
|
#29
|
|||
|
|||
Great work. Big thnx !
|
#30
|
||||
|
||||
Quote:
Imo, it should always have that 10% chance and having the item (after all, it's a belt slot!) should give you an extra 10% chance. Either that or the description should say 1 item... but then it won't be accurate when you DO have that item. Aargh. Thoughts? |
|
|