PDA

View Full Version : Problem with shapeshifting


sube
August 7th, 2007, 08:57 AM
OK my problem is the following: I modded a unit1 which can shapechange into unit2 via the #shapechange command. Unit1 has F2B3, and unit2 has no magic paths. The result is that unit2 also gets F2B3, which i do not want.

So i add to unit2:

#magicboost 0 -2
#magicboost 7 -3

This takes out F2 from unit2, however B3 is still there. Is it a bug, or am i missing something?

On a side note, unit1 shapechanges to unit2 when wounded during a battle, reverting back to unit once the battle is over. I thought that was the case for #secondshape and #firstshape only. So, is this also a bug, or is it working as intended?

llamabeast
August 7th, 2007, 09:39 AM
Just do the number which means all magic paths. Let's say it's 57 (can't remember):

#magicboost 57 -3

You've come across the fact that #magicboost is bugged for most, or at least several paths.

Kristoffer O
August 7th, 2007, 12:22 PM
There might be a #magicboost all. There is in the code, but I'm not sure if it is implemented in modding. Not sure how it is numbered though.

sube
August 7th, 2007, 05:35 PM
Llama's right, #magicboost 53 -3 did the job (thanks!)