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

Time limited stat changes

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






PostPosted: Thu Dec 11, 2014 12:06 pm    Post subject: Time limited stat changes Reply with quote

Hi again and hope everyone is well.
My game is going well but I have another question I need answered.
I am doing a defensive type character class that is supposed to be more defensive and I needed some kind of spell that enhances is defense for say 10 seconds or 3 turns. Is it possible to do this kind of stuff? If not is there a way that I can limit the usage of said spell for 1 use per battle? Also is there a way for me to make the spell make enemies focus on my character for that duration without battlescripting (which is not implemented yet I think)?
Thank you for your support and it is much appreciated. Have a good wekend all! Razz
Back to top
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Thu Dec 11, 2014 1:59 pm    Post subject: Reply with quote

Yes, you can do this with a non-blocking attack chain.

The first attack boosts the target's defence. It chains to the second attack using a "Regular" chain with the "Delay doesn't block further actions" bitset turned on.

The second attack removes the defence bonus. It has a long delay. If you want 10 seconds, you should make a delay of about 182 ticks. You can also have a turn-based delay that will be based on how fast the hero takes turns, rather than seconds.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Dec 12, 2014 5:30 pm    Post subject: Reply with quote

Note that if you set a delay in ticks then in real time it will actually probably be longer than that, because while other attacks are animating, or pausing menus are active, the delay counter is paused.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Rya.Reisender
Snippy




Joined: 18 Jan 2008
Posts: 821

PostPosted: Mon Dec 15, 2014 1:11 am    Post subject: Reply with quote

Does an active chain prevent from using the skill again?
_________________
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: Mon Dec 15, 2014 7:34 am    Post subject: Reply with quote

Rya.Reisender wrote:
Does an active chain prevent from using the skill again?


No, it does not.

You can use tag setting/checking to prevent the defend skill from being used while it is already active, but that only works well if only one hero in the party has the skill.
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