had to change it, psp compile didnt like it. source->XX
This commit is contained in:
@@ -4150,7 +4150,11 @@ int TargetAbility::resolve()
|
|||||||
{
|
{
|
||||||
ManaCost * diff = abilityCost->Diff(cost);
|
ManaCost * diff = abilityCost->Diff(cost);
|
||||||
source->X = diff->hasX();
|
source->X = diff->hasX();
|
||||||
source->XX = abs(source->X+.1)/2;
|
source->XX = 0;
|
||||||
|
if(source->X > 0)
|
||||||
|
{
|
||||||
|
source->XX = source->X/2;
|
||||||
|
}
|
||||||
delete (diff);
|
delete (diff);
|
||||||
ability->target = t;
|
ability->target = t;
|
||||||
if (ability->oneShot)
|
if (ability->oneShot)
|
||||||
|
|||||||
Reference in New Issue
Block a user