Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

How do you make a "Boost" attack

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
NoUserName
Guest






PostPosted: Tue Dec 01, 2009 5:36 am    Post subject: How do you make a "Boost" attack Reply with quote

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

PostPosted: Tue Dec 01, 2009 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoUserName
Guest






PostPosted: Tue Dec 01, 2009 5:57 am    Post subject: ... Reply with quote

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

PostPosted: Tue Dec 01, 2009 6:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Rya.Reisender
Snippy




Joined: 18 Jan 2008
Posts: 821

PostPosted: Tue Dec 01, 2009 6:37 am    Post subject: Reply with quote

...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
View user's profile Send private message MSN Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Tue Dec 01, 2009 10:40 am    Post subject: Reply with quote

This is difficult to do well right now, but we do have some plans that will make this easier in the future. See:

'Plan for stat buffs'
'Plan for queueable attacks'
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JSH357




Joined: 02 Feb 2003
Posts: 1705

PostPosted: Tue Dec 01, 2009 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Tue Dec 01, 2009 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
NoUserName
Guest






PostPosted: Tue Dec 01, 2009 7:36 pm    Post subject: Reply with quote

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

PostPosted: Tue Dec 01, 2009 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group