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

Dumb question...

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Mon Feb 04, 2008 8:19 pm    Post subject: Dumb question... Reply with quote

Can enemy attacks add/subtract items to your inventory? For example, if you make an enemy attack with a cost of 1 potion, will that enemy be able to steal a potion from your inventory?

Follow-up question: Is it possible to change a weapon's attack through plotscripting?
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Wed Feb 06, 2008 2:14 pm    Post subject: Reply with quote

Answer 1: I'm pretty sure not, although you could have an attack turn on a tag and check that after battle so that the item is lost afterwards. This is a pretty poor solution though, so I think that this would make a good feature request. Why not have attacks with item costs enforce those costs on the standard item inventory even when enemies use them? This could be controlled by a general bitset, or even on attack-by-attack basis.

Answer 2: Again no. Items are very inflexible things in the world of plotscripting. The best you could do would be to have a before-battle script that checks to see if the correct weapon is equipped and if it should be a different attack, and then right beforehand, swap in a separate weapon with the correct attack (the player will never see this separate weapon, but it will take up another item slot). You could also have two items with the same name, but then if you are using item:name constants in any of your scripts, they will have to be replaced with ID numbers.
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Fri Feb 08, 2008 6:18 pm    Post subject: Reply with quote

Here's another question... I haven't had time to test so I'll just ask... When an enemies attack is cancelled, is their speed bar set to zero or set to 100%. I think it might be a useful feature to make attacks capable of doing both. That way one would be devastating to an attack by wasting a turn, the other would just waste the time the enemy has spent on the attack's delay. I might be alone in this thought.
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
Newbie_Power




Joined: 04 Sep 2006
Posts: 1762

PostPosted: Fri Feb 08, 2008 6:55 pm    Post subject: Reply with quote

I think cancel attack is done if you are in the "delay" phase of an attack, because it was not put in for attacks designed for canceling, but rather put in for old stun behavior (stun no longer cancels the attack by default).
_________________

TheGiz> Am I the only one who likes to imagine that Elijah Wood's character in Back to the Future 2, the kid at the Wild Gunman machine in the Cafe 80's, is some future descendant of the AVGN?
Back to top
View user's profile Send private message
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Fri Feb 08, 2008 7:17 pm    Post subject: Reply with quote

I understand that aspect of it. I must've been unclear. My question is, when it cancels an attack, does it reset the speed bar to empty or does it reset it to full?
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
Newbie_Power




Joined: 04 Sep 2006
Posts: 1762

PostPosted: Fri Feb 08, 2008 7:20 pm    Post subject: Reply with quote

Since the attack was already chosen, the speed bar would reset on its own. I do not know the behavior of if getting hit by attack cancellation happening before the attack is chosen, though I doubt it will do much.

I could be wrong on the off-chance the attack cancel bitset intentionally does more than the old behavior.
_________________

TheGiz> Am I the only one who likes to imagine that Elijah Wood's character in Back to the Future 2, the kid at the Wild Gunman machine in the Cafe 80's, is some future descendant of the AVGN?
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Sat Feb 09, 2008 8:26 pm    Post subject: Reply with quote

The Drizzle wrote:
I understand that aspect of it. I must've been unclear. My question is, when it cancels an attack, does it reset the speed bar to empty or does it reset it to full?


It should be set to empty (If not, that would be a bug)
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 -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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