(Resolved) Has anyone managed to get SRD_TimedAttack to work for enemy attacks?

Status
Not open for further replies.

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
I'm trying to set up an active defense system using SRD_TimedAttack, and while I have managed to work for the first enemy attack in a round, each enemy after the first ignores the system entirely.

If anyone has a better understanding of how the plugin is coded, can I get some help?
 

Doktor_Q

I'm not a real doktor, but I am a real Q
Veteran
Joined
Aug 1, 2016
Messages
873
Reaction score
562
First Language
English
Primarily Uses
RMMV
I'm surprised you got it working for enemies at all? There's a hard-coded check in the plugin to only activate for the player.

I wrote a little override that should allow you to trigger timed attacks and sequences from enemy skills. Of course, keeping in mind:
  1. Higher 'power' results should mean less damage for enemy skills when you write your damage formulas
  2. Aside from shrinking circles, most of the input graphics appear over the skill user, not the target
  3. It might crash if you try to pull a timed attack from the enemy's weapon, since enemies don't have weapons.
 

Attachments

Last edited:

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
I got it to work by editing out the bit of code that checks if the user is a player character.
 

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
So I tried your plugin with a backup version of TimedAttackCore, but it seems to give the same glitch I already have.

After looking over the code in your plugin, it seems you made literally the same code change that I did.
 
Last edited:

silent_drew

Veteran
Veteran
Joined
Aug 18, 2017
Messages
39
Reaction score
1
First Language
English
Primarily Uses
RMMV
Never mind, the issue I was having was the result of a conflict with Yanfly's STB plugin.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@silent_drew When your query is resolved, please Report your opening post and ask for the thread to be closed. Mods may not see an individual post or change to a topic's title but will see a Report.
Thanks.
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top