make making VIBR from molten TTAN+EXOT a little easier (molten VIBR slowly kills EXOT)
This commit is contained in:
parent
242f4bcdf6
commit
751da54183
@ -70,13 +70,24 @@ int Element_EXOT::update(UPDATE_FUNC_ARGS) {
|
||||
}
|
||||
else if (rt == PT_LAVA)
|
||||
{
|
||||
if ((parts[r>>8].ctype == PT_TTAN || parts[r>>8].ctype == PT_GOLD) && !(rand()%10))
|
||||
if (parts[r>>8].ctype == PT_TTAN || parts[r>>8].ctype == PT_GOLD)
|
||||
{
|
||||
if (!(rand()%10))
|
||||
{
|
||||
parts[r>>8].ctype = PT_VIBR;
|
||||
sim->kill_part(i);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else if (parts[r>>8].ctype == PT_VIBR)
|
||||
{
|
||||
if (1>rand()%1000)
|
||||
{
|
||||
sim->kill_part(i);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((parts[i].tmp>245) && (parts[i].life>1000))
|
||||
if (rt!=PT_EXOT && rt!=PT_BREC && rt!=PT_DMND && rt!=PT_CLNE && rt!=PT_PRTI && rt!=PT_PRTO && rt!=PT_PCLN && rt!=PT_VOID && rt!=PT_NBHL && rt!=PT_WARP)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user