Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How to edit HotA? (started by Baronus in January 2016)
How to edit HotA? This Popular Thread is 123 pages long: 1 2 3 4 5 ... 20 40 60 80 100 ... 119 120 121 122 123 · «PREV
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted April 19, 2026 05:05 PM

Quote:
I cant seem to find where the curse effect is applied though? Do you know which function handles it?

There are no Curse specialists, Curse spell effect is here - 442F84h.

Quote:
Also, I cant see a spell damage function with cases for different spells

See combatManager::CastSpell() @ 5A0140h. Modified by hero::modify_spell_damage() @ 4E59D0h.


 View Profile
BigPig2
BigPig2


Hired Hero
posted April 19, 2026 05:58 PM

Ok so this is some good news, it seems like virtually all damage type spells do call ModifySpellDamage either directly or through AreaEffect (which seems to call MSD regardless of spell if I understand the syntax correctly?), including spells that dont have specialists like Titan's/Lightning, Destroy Undead and yes, Land mine (also Armageddon).

While all the enchantments, regardless of having a specialist or not get routed through SetSpellInfluence. And here only some have the hero bonus actually applied although I feel like you could probably hijack some of the existing cases by switch manipulation?

The code in SetSpellInfluence keeps referring to a "jumptable 00444701" with 49 cases but I cant see any table at that address?

 View Profile
Jump To: Next Thread » This Popular Thread is 123 pages long: 1 2 3 4 5 ... 20 40 60 80 100 ... 119 120 121 122 123 · «PREV
Post New Poll   Post New Topic   Post New Reply

Page compiled in 0.2613 seconds