

Quote from: Joshwa on September 02, 2008, 08:43:08 AMThanks very much.
I have made the changes but in fireball they don't see you the rings of fire but another type of animation
In the Fireball animation the problem is that in the new animation before the rings of fire expand him, as it is correct that is, but later them collapse toward the center of the explosion.
That is the effect that he/she is seen is an explosion followed by an implosion.
Can you fix it?

///////////////////////////////////////////
// IWD Style Casting Graphics and Sounds //
//////////////////////////////////////////////////////////////////////////////////////
// Larloch's Minor Drain, Vampiric Touch //
///////////////////////////////////////////// I simply reversed the block of code that restores the old fireball graphics.
COPY_EXISTING_REGEXP GLOB ~^.+\.spl$~ ~override~
PATCH_IF (SOURCE_SIZE > 0x71) BEGIN //Protects against invalid files
READ_LONG 0x64 oa //Abilities offset
READ_SHORT 0x68 na //Abilities count
FOR ( lp = (oa + ((na -1) * 0x28)); lp > (oa - 1); lp -= 0x28) BEGIN
READ_SHORT (lp + 0x26) pj //Projectile
PATCH_IF (pj = 38) BEGIN //If projectile set to old fireball
WRITE_SHORT (lp + 0x26) 234 //Set projectile to new fireball
END
END
END
BUT_ONLY_IF_IT_CHANGES