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

Immunity bitset?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Thu Dec 30, 2010 8:00 pm    Post subject: Immunity bitset? Reply with quote

I just noticed that we have bitsets for being weak, strong, and absorbing elements, but not for being immune to them.

i get that attacks can fail vs. an enemy type, but this doesn't work for heroes. plus, maybe you're using enemy types for something decidedly non-elemental.

anyway. seemed like a strange omission so i thought i'd bring it up.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Dec 30, 2010 9:38 pm    Post subject: Reply with quote

Your (or rather, my?) timing is perfect, as I am adding that today.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
FnrrfYgmSchnish
Probably the Grand Poobah or something




Joined: 19 Jul 2003
Posts: 88
Location: Not here

PostPosted: Thu Dec 30, 2010 10:45 pm    Post subject: Reply with quote

Woohoo! No more faking immunity with the combination of obnoxiously high defense, "damage can be zero," and elemental resistances!

Seriously, this is something I've wanted to see added for a really long time. I'm surprised it's taken this long for elemental immunities to get in, though I guess it's possible that it's one of those things that's a lot more complicated to code than it seems.
Back to top
View user's profile Send private message Send e-mail
Blacklight_Studios
Expert of the third person...




Joined: 15 Dec 2010
Posts: 29

PostPosted: Sun Jan 02, 2011 9:59 am    Post subject: Reply with quote

awesome. now I can make non-elemental enemies that are immune to stuff.
_________________
Current project progress:

Lost in the Dark(Primary Project): 1%

Kingdom Hearts Collaborative Project: 0.05%
--
Back to top
View user's profile Send private message
Kenji Murasame
Shizuma




Joined: 06 Nov 2003
Posts: 103
Location: ON TO

PostPosted: Mon Jan 03, 2011 7:50 am    Post subject: Reply with quote

A good workaround is to use the resistance bitset as a immunity. Why? Because having a resistance against an element reduces the damage so much to where they might as well be immune.

Then you set the attack to "fail vs X resistance", and you're set. Immunity is more useful, especially if you want to get fancy with battles.
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Blacklight_Studios
Expert of the third person...




Joined: 15 Dec 2010
Posts: 29

PostPosted: Mon Jan 03, 2011 12:12 pm    Post subject: Reply with quote

Which I'm sure many of us want to do. We like fanciness in our battles.
_________________
Current project progress:

Lost in the Dark(Primary Project): 1%

Kingdom Hearts Collaborative Project: 0.05%
--
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Jan 05, 2011 9:06 am    Post subject: Reply with quote

Quote:
I'm surprised it's taken this long for elemental immunities to get in, though I guess it's possible that it's one of those things that's a lot more complicated to code than it seems.


Just adding a set of elemental immunity bits to heroes and enemies and items and updating the hero bits and save file format and equipment bits merging and battle calculations would probably only have taken a few hours (longer a couple years ago)

But I'm not doing that. I'm actually working on raising the number of elements to 64 (a temporary limit) while implementing all of 'Plan for more flexible elementals'. That's why it's taking so long (I sure missed the HotOHR deadline, so Fenrir gets $10): so far I've only finished the hero-related changes. There's not all that much to see in the nightlies yet, actually it's probably a better idea to avoid them for a couple more days. But if you're already using them, (as usual) do not attempt to downgrade, you could lose all your hero data. If you didn't already lose it when the Jan 1st nightly corrupted it!! Sorry.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
FnrrfYgmSchnish
Probably the Grand Poobah or something




Joined: 19 Jul 2003
Posts: 88
Location: Not here

PostPosted: Wed Jan 05, 2011 10:24 am    Post subject: Reply with quote

Whoa, there was a nightly with a bug that corrupted all of your hero data?? That's pretty scary. Good thing I only update to a new nightly every few months or so... Ha ha ha!

Last edited by FnrrfYgmSchnish on Wed Jan 05, 2011 2:49 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Jan 05, 2011 12:52 pm    Post subject: Reply with quote

I think you mean "good thing I keep backups" ;)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Jan 25, 2011 4:40 am    Post subject: Reply with quote

Wasn't mentioned anywhere, but I thought I should:

As of a few days ago, the new elementals stuff is finally finished (there were plenty of distractions), except for a few extra things (more "equipment elemental merging" formulas, some script commands, maybe changes to editors to make them more intuitive. Also, the "Old awful" formula will be changed a bit.)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
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