Hey, remember a while back when we were feeling special for having abilities that debuff the foe and boost the user (thus allowing Life Drain effects, etc)?
It works when the player uses it, but
not when the AI does.
[INTERACTION:LEECH_SEED]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:B:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:seeded]
[SYNDROME]
[CE_PHYS_ATT_CHANGE:STRENGTH:25:0:AGILITY:25:0:TOUGHNESS:25:0:ENDURANCE:25:0:START:0:PEAK:1:END:28800] **~8
hours Adventure mode, 1 month Fort mode
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:B]
[IE_IMMEDIATE]
[IE_ARENA_NAME:draining life]
[SYNDROME]
[CE_PHYS_ATT_CHANGE:AGILITY:5000:0:START:0:END:150]
[CAN_DO_INTERACTION:LEECH_SEED]
[CDI:ADV_NAME:Leech Seed]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:BULB]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:15]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:VERB:shoot seeds from your bulb! Leech Seed saps the foe's health:shoots seeds from its
bulb! Leech Seed saps the foe's health:NA]
[CDI:WAIT_PERIOD:150]
So, normally this ability causes a slight debuff to the foe, and a big recuperation buff to the user- I switched it to Agility since that is easier to measure the effect. Now, if you take control of Bulbasaur and use Leech Seed, the foe takes his debuff and you get your big speed boost. BUT, if you spawn a Bulbasaur and take control of, say, a Roc, then when Bulbasaur uses Leech Seed the ROC gets the speed boost and (presumably) the debuff as well.
I'm cross-posting from the Modding Questions thread, and I can report that trying to make TARGET:B:SELF_ONLY causes the creature to never use the ability at all. Still works fine if the player uses it, just not if the mon does. Removing USAGE_HINT:ATTACK makes the mon use it randomly instead of as an attack, which is hardly ideal.
Any ideas?