Manalink TODO list

Just in case anyone wants to help Korath and me 
Things still left to do (mostly regarding hardcoded stuff we know a little) :
1) What exactly happens when a card is "stolen" from his owner ? The decoding of Control Magic and linked functions is crucial.
2) It's possible to change the targets of a card when it's already cast / activated ?
3) How exactly works the function that "attach" an enchantment / effect to another card ? Cards like Aura Graft are doable ?
4) How exactly works the "mana_producer" function ? How the AI is able to choose which color to draw from multi-coloured sources ? A decode of Black Lotus would be nice.
5) When the "TRIGGER_CARD_DRAWN" and "TRIGGER_REPLACE_CARD_DRAW" are invoke, why they function per-card base only some times ? The number of cards to draw when the "draw_cards" functions is called is still available through some means during that event ?
6) Which are the still undiscovered uses of the "LAND_CAN_BE_PLAYED" global variable ?
For reference, grab the fundamental "magic.c", which is the decode of the EXE through HexRays Decompiler, from this thread : viewtopic.php?f=56&t=6528
For more references, download the latest pacth and check the "src" folder, in particular "manalink.h" and the stuff in the "functions" folder.

Things still left to do (mostly regarding hardcoded stuff we know a little) :
1) What exactly happens when a card is "stolen" from his owner ? The decoding of Control Magic and linked functions is crucial.
2) It's possible to change the targets of a card when it's already cast / activated ?
3) How exactly works the function that "attach" an enchantment / effect to another card ? Cards like Aura Graft are doable ?
4) How exactly works the "mana_producer" function ? How the AI is able to choose which color to draw from multi-coloured sources ? A decode of Black Lotus would be nice.
5) When the "TRIGGER_CARD_DRAWN" and "TRIGGER_REPLACE_CARD_DRAW" are invoke, why they function per-card base only some times ? The number of cards to draw when the "draw_cards" functions is called is still available through some means during that event ?
6) Which are the still undiscovered uses of the "LAND_CAN_BE_PLAYED" global variable ?
For reference, grab the fundamental "magic.c", which is the decode of the EXE through HexRays Decompiler, from this thread : viewtopic.php?f=56&t=6528
For more references, download the latest pacth and check the "src" folder, in particular "manalink.h" and the stuff in the "functions" folder.