It is currently 17 Aug 2018, 18:44
   
Text Size

[CARD CODING] -- LAYERS 101

Moderators: Xander9009, CCGHQ Admins

[CARD CODING] -- LAYERS 101

Postby kevlahnota » 06 Dec 2010, 08:27

for those that want to make some cards or like to help updating various cards or just want to read this post, here's some info. :lol:

LAYERS:

Duels of the Planeswalker uses layers that modifies certain effects on an object(card, entity :shock: ).

Layer 0: This is for cards basic ability that affects itself ( First Strike, Trample, Flying ) example card: White Knight

Layer 1: This is for copy effects ( We haven't discovered the functions to use this or maybe its disabled by default ). example card: Clone

Layer 2: This is for control-changing, gain control effects. example card: Gilded Drake, Act of Treason

Layer 3: This is for text-changing effects ( This will probably not implemented in the game :?: ). example card: Mind Bend

Layer 4: This is for Subtype, Supertype changing effects ( Questionable :?: ). example card: Conspiracy

Layer 5: This is for color-changing effects ( Haven't discovered the correct syntax or maybe disabled ). example card: Shifting Sky

Layer 6: This is for ability granting/removing effects( Advanced granting of abilities is limited* :!: ). example card: Akroma's Memorial

Layer 7a: This is for variable Power/Toughness defining effects like */*. example card: Maro

Layer 7b: This is for specific Power/Toughness changing effects "target creature is a 0/1 :twisted: ". example card: Humble second effect.

Layer 7c: This is for modifying Power/Toughness changing effects "target creature gets +3/+3 #-o ". example card: Giant Growth

Layer 7d: This is for changes from counters ( If its implemented.. :shock: lots of cards to update #-o #-o :cry: )

Layer 7e: This is for switching Power and Toughness effects. example card: Transmutation


*NOTE: about layer 6, limited granting of abilities ex. Joraga Treespeaker on Level 5+ :^o


-Kev
User avatar
kevlahnota
Programmer
 
Posts: 527
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 12 times
Been thanked: 151 times

Return to Documentation

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form