It is currently 16 Apr 2024, 23:37
   
Text Size

Ideas for "Creature A must block Creature B if able"?

Moderator: CCGHQ Admins

Ideas for "Creature A must block Creature B if able"?

Postby thefiremind » 08 Jul 2012, 19:23

I tried to gather ideas about this with DotP2012, but nothing useful got out. Now, with DotP2013, we have new functions which could open other roads, so I'll ask again: does anyone have a brilliant idea about how to code effects like Turntimber Basilisk? The biggest problem, in my opinion, is that nothing should happen if I force a creature to block something it can't, and in that case, the creature should be free to block something else. But, as far as I know, there's no function to check if a creature can block something: we have CanBlock_Set, but nothing like CanBlock_Test.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: Ideas for "Creature A must block Creature B if able"?

Postby sadlyblue » 08 Jul 2012, 20:45

I think it can't be coded.
But there is a trigger CANT_BLOCK_TEST, but i think is for creatures that can't block and for ai evaluation...
sadlyblue
 
Posts: 175
Joined: 06 Feb 2012, 13:18
Has thanked: 18 times
Been thanked: 16 times

Re: Ideas for "Creature A must block Creature B if able"?

Postby GravitonGamer » 09 Jul 2012, 02:38

I also couldn't find a way to implement it while I was trying to code Hunter Sliver. There just isn't a way to manually check if a creature can block another creature. :(
GravitonGamer
 
Posts: 15
Joined: 18 Sep 2011, 04:21
Has thanked: 7 times
Been thanked: 7 times


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 14 guests


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 14 guests

Login Form