Fixing Harmony - Should be AOE
Messed up the title should be "Fixing Harmony - Should be AOE" - changed
Harmony should actually be an AOE spell. I really thought I had fixed this a few months ago, but I guess it is still broken. Spell 1541 is an AOE lull, so after trying everything else I decided to copy 1541 and change the ID to 250, just as a test. It still is not an AOE spell, with the exact same data! 1541, wake of tranquility is definitely an AOE and it works! I can find nothing in the source that would prevent this from working like it should. Just to be sure I am dealing with apples to apples I of course exported my new spell file to the client and bounced the server. This is a mystery I cannot figure out. Is this futile, is this somehow getting interpreted from the client as a single target spell? |
I stole a code block from Alkabor :) I got it.
|
Since you fixed this, would you mind showing your resolution? The reason I ask, is because I'm fairly certain someone else in the future may make a similar post and it'd be nice to have the solution readily available.
|
spdat.cpp I think was the name of the file, under common.
Code:
bool IsBeneficialSpell(uint16 spell_id) |
So as for changes.
This: Code:
if (sai == SAI_Dispell_Sight && spells[spell_id].skill == 18 && !IsEffectInSpell(spell_id, SE_VoiceGraft)) Code:
if ((sai == SAI_Calm && IsEffectInSpell(spell_id, SE_Harmony)) || (sai == SAI_Calm_Song && IsEffectInSpell(spell_id, SE_BindSight)) || (sai == SAI_Dispell_Sight && spells[spell_id].skill == 18 && !IsEffectInSpell(spell_id, SE_VoiceGraft))) |
Exactly.
/10char |
If this is the way the spell is supposed to work, will this change be added to the code?
Celestial |
Harmony should be AOE
Harmony should be AOE
|
All times are GMT -4. The time now is 07:35 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.