Is there any way to make a weapon do effective or extra damage against a unit with a certain type of weapon equipped? My idea was to make an “Anti-siege bow” that does extra damage to ballisticians and bolting/purge/eclipse users, in the hack I’m developing ballisticians are their own class (which is enemy/npc only, if that’s relevant), but I want to know if there is a way to make a bow do effective damage against a sage that has bolting equipped but not if it has any other tome.
It can be done with assembly. Do you use the Skill System in your hack?
I have the skillsys version you can install on FEBuilder itself
Alright, that would make it harder if you wanted to add your own assembly to the game because the skill system already hacks into the function that you would need to use. So you would need to work around it. I have a hack you could use but it only works for the vanilla game. It could still be helpful to take a look at it if you wanted an example of what the assembly would look like.
okay, I think I could use it then, at least as a reference, thanks in advance
I don’t have a patch but I could tell you how to add it to a clean copy of the game using a hex editor if that works.
sure, thanks.
– Effective Siege –
//Function Assembly
00 B5 FF 20 18 40 0F 49 88 42 0B D1 20 1C 1E 30 00 78 3B 28 10 D0 42 28 0E D0 48 28 0C D0 0A 49 8A 42 09 D0 FF 20 18 40 C1 00 09 18 89 00 04 48 09 18 09 69 00 22 00 E0 01 22 20 BC 28 47 C0 46 10 9B 80 08 09 00 00 00 3F 00 00 00
//Code To Hack In Routine
00016BFC = 05 48 86 46 00 F8 00 2A 34 D1 22 79 C0 46 C0 46
//Routine Address Pointer
00016C14 = 00 00 00 09
Paste the function assembly bytes to the end of a clean FE8 Rom then paste in the bytes to hack in the routine and the routine address pointer, for those ones make sure you paste over the existing bytes. The last eight bytes of the function assembly is 09 00 00 00 3F 00 00 00, you can replace 09 with the item ID for your effective weapon, and 3F with the class ID of the class you want it to be effective against. It’s set up so the Rapier is effective against Fighters so it should be easy to test in the game’s first chapter. The effective weapon is also effective against enemies with a Bolting, Purge, or Eclipse tome in their first item slot.
Thanks dude, i have auestion, for posterity’s sake, if I manage to achieve this, can I publish the steps here?
Yeah absolutely.
At risk of being repetitive, thanks, even if I dont discover how to, i’ll put your name in my hack’s credits, if you want.
Yeah if it helped you out then I appreciate that, thank you.