View previous topic :: View next topic |
Author |
Message |
NoUserName Guest
|
Posted: Tue Dec 01, 2009 5:36 am Post subject: How do you make a "Boost" attack |
|
|
How do you make a "Boost" attack in OHRRPGCE?
A skill that temporarily (1 turn) increases a stat (Such as attack) until the next turn when you attack the enemy.
I didn't think it could be done, but I recently tried a game where they were able to implement it. |
|
Back to top |
|
 |
Rya.Reisender Snippy

Joined: 18 Jan 2008 Posts: 821
|
Posted: Tue Dec 01, 2009 5:53 am Post subject: |
|
|
Just make the skill increase attack power and make the normal attack link to an invisible skill that sets attack power to 100%. _________________ Snippy:
"curt or sharp, esp. in a condescending way" (Oxford American Dictionary)
"fault-finding, snappish, sharp" (Concise Oxford Dictionary, UK)
1. short-tempered, snappish, 2. unduly brief or curt (Merriam-Webster Dictionary) |
|
Back to top |
|
 |
NoUserName Guest
|
Posted: Tue Dec 01, 2009 5:57 am Post subject: ... |
|
|
Well, I was hoping there was another way to do it...
Since the character can get status bonuses that can stack with this "Boost" |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Tue Dec 01, 2009 6:11 am Post subject: |
|
|
You could do something like this:
Have a self-targeting "attack" that increases the hero's strength, and then the hero's regular attack silently chains to a self-targeting "attack" which restores your strength attribute to its base value.
I couldn't find any damage math which looks at the difference between a given stat's current and base value - but you could do something tricky like this:
After your normal attack, immediately chain to an attack which subtracts 100% your _current_ strength from its current value, then in the same tick, chain to an attack which adds 100% the _base_ strength value.
Every time your hero attacks, his strength will return to normal. If you prefer, you could instead use 75% or 50% and the stat will return to its base value more slowly.
If the damage math rounds numbers off normally, you should eventually return to normal if the percentage is higher than 50%. Otherwise, your stat might equilibrate at a value that's off by 1 or something.
Lol, if you use percentages larger than 100%, you could make the stat value oscillate around the base value as it converges (assuming negative stat values are possible in battle). _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
Rya.Reisender Snippy

Joined: 18 Jan 2008 Posts: 821
|
Posted: Tue Dec 01, 2009 6:37 am Post subject: |
|
|
...or you just make an attack that looks like the normal attack but deals 150% damage instead of 100% and has a higher delay than the normal attack. Would have the same effect as Bagne's chaining suggestion, just easier to do. :-) _________________ Snippy:
"curt or sharp, esp. in a condescending way" (Oxford American Dictionary)
"fault-finding, snappish, sharp" (Concise Oxford Dictionary, UK)
1. short-tempered, snappish, 2. unduly brief or curt (Merriam-Webster Dictionary) |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Tue Dec 01, 2009 12:03 pm Post subject: |
|
|
Couldn't he use tags to do this (latest nightly)?
Have the boost attack set a tag true; if the tag is true, the physical attack chains to an attack that sets STR to 100% and turns the tag false.
You'd have to reset the tag after every battle, though. Not too big a deal, really. |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Tue Dec 01, 2009 12:59 pm Post subject: |
|
|
That's a good idea! Just bear in mind that you'd need a tag for every modifiable stat for every hero.
It wouldn't work on enemies. _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
NoUserName Guest
|
Posted: Tue Dec 01, 2009 7:36 pm Post subject: |
|
|
Why thank you...
I had no idea I could chain attacks like that in the Nightly build...
I usually have just downloaded the most stable version. |
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Tue Dec 01, 2009 7:40 pm Post subject: |
|
|
I am surprised James forgot! I haven't used tag chaining much yet, but it seems to be a very useful feature. |
|
Back to top |
|
 |
|