| 01-19-2004, 01:25 AM | #1 |
hey is there a way to make pillage target a debris? i set its target to debris, but when he attacks a debris he gains no gold. can anyone help me with this? |
| 01-19-2004, 01:33 AM | #2 |
Pilage works by giving the player a percentage of the Resources the building costs verses the buildings HP and damage done... So check the object editor to make sure the "Debris" you are attacking does have a "Build" cost and "Repair" cost. This formula is NOT correct, its just an example of how pillage works (I don't know the percentages): [(BuildCost / MaxHitpoints) * DamageDone] * 75% Something like that. I don't know the % for sure, and I don't know wether it uses "Repair Cost" or "Build Cost"........ |
| 01-19-2004, 01:50 PM | #3 |
ok thanks, i fixed just about everything, until i reaized it goes off of build cost, not repair. and since the doodad had no build cost, i had to remake them as structures. but thats life right? thanks for the help. |
