Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Kingly Kounters
#3
First... OOPS.  Minor correction in the config.  One list is for actors, the other for enemeis.  But I didn't change the 'text' to note the second is for enemies.  The values are correct... just the text describing them was borked.

As too defining the enemies that perform counter attacks, it's just that you add them to the list within the configuration section:  module CounterAttack.

Code:
  # Enemy Counters
  # ==============
  # Define the actors perfoming counter attacks:  the chance of a counter,
  # the skill ID used (or 0 for melee), and optionally the SP cost.
  #
  #            Chance  Skill  SPCost
  #==========  ======  ======  ====== 
  ENEMY[1]  = [ 100,    7,      true]    # Ghosts use Fire 100%

This (now corrected) is the list that depicts the enemies that perform counter attacks.  Currently only one enemy is defined, an enemy with the ID of 1:  The Ghost.

Regarding [100, 7, true]...  let's go down the list shall we?

  • The ghost, if struck, will perform a counter attack 100% of the time.
  • The ghost, if delivering a counterattack, will use skill #7 (Fire).
  • And if using a skill counterattack, WILL use the ghost's SP because it's set to true.

If I wished to make another enemy like the IMP, I could define it thusly...

Code:
  #==========  ======  ======  ====== 
  ENEMY[7]  = [  50,   33]               # Imps use Venom 50% (no SP Loss)
Now THIS Imp has different characteristics, they are as follows:
  • The Imp, if struck, will perform a counter attack only 50% of the time
  • The Imp, if delivering a counter attack, will use skill #33 (Venom).
  • And if using a skill counterattack, the use of SP is not defined (true is optional)

And again, as the instructions imply... if the skill is set to 0, then the attack is a melee attack and not a skill.

Both actors and enemies can be configured this way. And once fonfigured... it's automatic. No on/off switch. The actual strike hitting the enemy (or actor) triggers the counterattack.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Kingly Kounters - by DerVVulfman - 04-06-2022, 10:07 PM
RE: Kingly Kounters - by kingray100 - 04-12-2022, 05:54 PM
RE: Kingly Kounters - by DerVVulfman - 04-12-2022, 09:52 PM
RE: Kingly Kounters - by kingray100 - 04-15-2022, 07:23 AM
RE: Kingly Kounters - by kingray100 - 06-01-2022, 07:09 PM
RE: Kingly Kounters - by DerVVulfman - 06-02-2022, 01:47 AM
RE: Kingly Kounters - by DerVVulfman - 06-14-2022, 02:51 AM
RE: Kingly Kounters - by kingray100 - 06-02-2022, 06:33 PM
RE: Kingly Kounters - by DerVVulfman - 06-03-2022, 02:12 AM
RE: Kingly Kounters - by kingray100 - 06-19-2022, 07:02 AM
RE: Kingly Kounters - by DerVVulfman - 06-19-2022, 01:26 PM
RE: Kingly Kounters - by kingray100 - 06-19-2022, 11:59 PM
RE: Kingly Kounters - by DerVVulfman - 06-20-2022, 01:17 AM
RE: Kingly Kounters - by kingray100 - 06-20-2022, 08:25 PM
RE: Kingly Kounters - by DerVVulfman - 06-20-2022, 09:19 PM
RE: Kingly Kounters - by kingray100 - 06-20-2022, 11:12 PM
RE: Kingly Kounters - by DerVVulfman - 06-21-2022, 02:11 AM
RE: Kingly Kounters - by DerVVulfman - 06-22-2022, 02:09 AM
RE: Kingly Kounters - by kingray100 - 06-21-2022, 05:22 AM
RE: Kingly Kounters - by DerVVulfman - 06-21-2022, 05:29 AM
RE: Kingly Kounters - by kyonides - 06-21-2022, 06:11 AM
RE: Kingly Kounters - by kingray100 - 06-21-2022, 03:50 PM
RE: Kingly Kounters - by kingray100 - 06-22-2022, 06:57 AM
RE: Kingly Kounters - by DerVVulfman - 06-22-2022, 07:33 PM
RE: Kingly Kounters - by kingray100 - 06-23-2022, 06:54 AM
RE: Kingly Kounters - by kyonides - 06-23-2022, 10:04 AM
RE: Kingly Kounters - by DerVVulfman - 06-23-2022, 03:20 PM
RE: Kingly Kounters - by kingray100 - 06-23-2022, 06:20 PM
RE: Kingly Kounters - by DerVVulfman - 06-23-2022, 08:53 PM
RE: Kingly Kounters - by kingray100 - 06-24-2022, 07:05 AM
RE: Kingly Kounters - by DerVVulfman - 06-25-2022, 02:08 AM



Users browsing this thread: