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

Attacks based on stun register

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




Joined: 04 Aug 2013
Posts: 18
Location: Somewhere between Jacobstown and New Canaan

PostPosted: Tue Dec 03, 2013 7:02 am    Post subject: Attacks based on stun register Reply with quote

I'm trying to make an attack that relies on the stun register for its accuracy; if stun>0 it misses. Is there even a way to do this?
If not, can I make an attack that instead deals extra damage based on the stun register, ie if stun>0 +50% damage?
_________________
Trixie is best pony. Tavi is a close second.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Tue Dec 03, 2013 7:28 am    Post subject: Reply with quote

There is an attack bitset "Fail if target is stunned" that should do exactly what you want.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RelicMaker




Joined: 04 Aug 2013
Posts: 18
Location: Somewhere between Jacobstown and New Canaan

PostPosted: Tue Dec 03, 2013 8:07 am    Post subject: Reply with quote

Thats close, but the opposite. I want the attack to fail if the target is NOT stunned. Any way to do that?

I made a typo in my first post, it shoulda read "if stun<1".
_________________
Trixie is best pony. Tavi is a close second.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Tue Dec 03, 2013 8:26 am    Post subject: Reply with quote

Oh! I see.

There is no easy way to do this in the stable beelzebufo release, but in the nightly wip builds, Yes, you can do this pretty easily by creating two attacks, and connect them with a conditional "Instead" chain.

Before we proceed, I should explain a bit about how the stun register works.

Every hero and enemy starts with 1000 points in their stun register. Max stun = 1000, and all heroes and enemies start at max.

When an attack stuns a target, it does damage to the stun register. Suppose an attack stuns an enemy for 10 seconds. That means it does 10 damage to the stun register, so after it hits, the target has 990 points in the stun register. As the stun wears off, points will be added to the stun register one at a time until it is back at 1000

So with that knowledge in hand, you can make your two-part chaining attack.

The first part can be an attack that always misses/fails

The second part can be the attack that only works on stunned targets.

In the Chaining menu for the first attack, you can set up an "Instead" chaining rule like the one in this screenshot:



If the target's stun register is < 1000 then the second attack will replace the first attack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RelicMaker




Joined: 04 Aug 2013
Posts: 18
Location: Somewhere between Jacobstown and New Canaan

PostPosted: Tue Dec 03, 2013 1:16 pm    Post subject: Reply with quote

Oh, ok. I didnt even know that was an option for the chain conditions. Thanks, Bob!
_________________
Trixie is best pony. Tavi is a close second.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
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