The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => Topic started by: bloodyhowling on February 01, 2013, 12:53:37 AM

Title: [XP] Adding ATK
Post by: bloodyhowling on February 01, 2013, 12:53:37 AM
I feel like this may have been answered already, but is there a call script that I could place on an item to add base ATK to my actors? IE - Magic spheres that raise your ATK without having to equip a new weapon.
Title: Re: [XP] Adding ATK
Post by: Wiimeiser on February 01, 2013, 01:04:27 AM
Shouldn't items have that option? Or is that what they replaced the casting animation with?
Title: Re: [XP] Adding ATK
Post by: bloodyhowling on February 01, 2013, 01:10:09 AM
Items only allow you to increase certain parameters... ATK isn't one of them. So despite their STR being raised, they still do the same damage when it comes to basic attacks.
Title: Re: [XP] Adding ATK
Post by: Razma on February 01, 2013, 02:30:32 AM
ATK is not a character attribute, it is an attribute of weapons.

STR does influence total atk damage however.

Set a parallel process
Condbranch: Item(MagicSphere) held
then increase attribute:STR by such and such

You want to manipulate attack I suppose, which is the attribute of a  weapon.

So,if bronze sword is equipped
and magic sphere is held
equip bronze sword+ (Which is the same thing, but with higher attack.)

This is somewhat inconvenient, but you could pull it off.

Otherwise, shouldn't modifying strength be enough? I'm sure there is a script that modifies attack directly.

What a pain, I couldn't find a condbranch that detects a player attack being used. But if you could, you could use the event command 'deal damage' inside a common event in a monster group. This could add a specific amount of damage if 'magic sphere' is equipped.

Title: Re: [XP] Adding ATK
Post by: LoganF on February 01, 2013, 01:34:05 PM
Are you wanting something that simply provides a base bonus to ATK by means of a consumable? Rather than increasing the actor's STR, it affects their attack?

I could do a very simple script that you can make use of that gives actors a base ATK that is added to the overall ATK value. It wouldn't be too difficult to do.

Edit:

I've gone ahead and written a basic script to achieve this. It also lets you make items which would also change PDEF, MDEF and EVA in addition to ATK. It can increase 1 or more, as well as decrease (ex, trading 5 PDEF for 5 MDEF). You can find the script here: http://rmrk.net/index.php/topic,47611.0.html