Works FF Active Defense in Watch mode? And Summon? I added the lines in py and don't work.
And would be interesting to upgrade to FF Active Defense (100) because 50 is small to battle a group of heroes. Or would be better to do an Active Defense that works as Body Armor.
Make sure the line for using the FF Active Defense is in the m25ai file so the hero can use it.
"TActiveDefenseFFSelf()",
- to trigger the AD on the character
"TActiveDefenseFFRemote()",
- to trigger the AD on another target
For Summoning use:
'TSummon(creature=2)',
Make sure you put the creature= in the line with the number corresponding to the creature in your customization list you want to summon.
As for adding a 100 HP version, look for the FF Active Defense attribute code in the ffx.py file and add these lines:
def initffactivedefense100(char,update=0):
if isMP():
return
FFX_ObjectSetAttr(char,'ffactivedefenseMaxHP',100)
if update==0:
ffactivedefenseAddCmds(char)
Next, open FFEdit and add a new attribute called ffactivedefense100 and Save.
The game should now have the new attribute and should work. No guarantees, though ;)
You can also add the text lines in the strings.txt file so it has a description in the game, but that isn't needed for the attribute to work.
Thanks TrajkLogik. I didn't know this codes. You have helped me very much.