2025/06/03 Update

Updated NUI spellcast menu (@Rakiov)
Updated Tornado Throw.
Updated Midnight Augmentation.
Updated Lucky Dice's tlk entries.
Fixed Heartwarder's marker feat.
This commit is contained in:
Jaysyn904
2025-06-03 23:13:56 -04:00
parent 188047149c
commit 619b7c62c9
19 changed files with 375 additions and 137 deletions

View File

@@ -163,7 +163,7 @@ void main()
int i, nPowerLevel;
int nMaxLevel = GetMaxEssentiaCapacityFeat(oMeldshaper);
string sFeatID;
for(i = 14001; i < 14260 ; i++)
for(i = 14001; i < 14260 ; i++)
{
nPowerLevel = StringToInt(Get2DACache("spells", "Innate", i));
@@ -180,7 +180,9 @@ void main()
if(SORT) AddToTempList(oMeldshaper, GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", i))), i);
else AddChoice(GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", i))), i, oMeldshaper);
}
}
}
TransferTempList(oMeldshaper);
}
else if(nStage == STAGE_SELECT_ESSENTIA_POWER)
{
@@ -267,4 +269,4 @@ void main()
// Store the stage value. If it has been changed, this clears out the choices
SetStage(nStage, oMeldshaper);
}
}
}

View File

@@ -77,7 +77,8 @@ void main()
// No hitting yourself or your friends
if(GetIsEnemy(oAreaTarget, oInitiator))
{
fDist += MetersToFeet(GetDistanceBetween(oInitiator, oAreaTarget));
//fDist += MetersToFeet(GetDistanceBetween(oInitiator, oAreaTarget));
fDist += PRCMax(10, FloatToInt(MetersToFeet(GetDistanceBetween(oInitiator, oAreaTarget))));
AssignCommand(oInitiator, ClearAllActions(TRUE));
AssignCommand(oInitiator, JumpToLocation(GetLocation(oAreaTarget)));
nBonus = (FloatToInt(fDist) / 5) * 2; // Bonus is +2 for every 5 feet moved