Page 1 of 1

[REL] ObjectDC functions v1.1

PostPosted: 14 Sep 2014, 17:00
by RiiakShiNal
Apparently, I never made a release thread for the ObjectDC functions, so now that they are being updated I should probably go ahead and make the thread.

Description:
This mod contains no cards, but does contain functions that are quite useful for certain cards and for other larger frameworks (for example Manual Mana and the Defending Player functions inside of the Core Fixes). Basically the mod allows for a data chest to be created for a single card object and be referenced by other abilities both on that card and from other cards. The chest is cleared on changing zones (like it did in DotP 2013), but can now be protected for 1 zone change at a time. In DotP 2013 WotC and Stainless had provided this functionality in the base game engine, but they removed it in DotP 2014, this mod aims to give the functionality back to modders.

Download:

Documentation:

Last Update:
  • Added RSN_ProtectObjectDC( oCard ) to allow for protecting the ObjectDC across zone changes.

Re: [REL] ObjectDC functions v1.1

PostPosted: 14 Sep 2014, 17:21
by NeoAnderson
I am glad to see you have considered to update you useful Function, have you modified something of the older functions or you have just added this new one to protect the pointer? Just to know if we could find some variations for cards already coded.

Re: [REL] ObjectDC functions v1.1

PostPosted: 14 Sep 2014, 18:31
by RiiakShiNal
No, the original functions are exactly the same as before so there should be no change to any existing cards using the functions.