2026/03/20 Update
Fixed issue where Factotum's Arcane Dilettante post rest dialog wasn't appearing. Desecrate now correctly doubles a caster's Animate Dead HD pool. Effects are now removed when leaving an area of Desecration. Undead HD pool is now calculated correctly in Animate Dead.
This commit is contained in:
@@ -61,7 +61,7 @@ void main()
|
||||
if(nEvent == FALSE)
|
||||
{
|
||||
// Add eventhook to OnRestFinished to reset the used marker
|
||||
AddEventScript(oPC, EVENT_ONPLAYERREST_FINISHED, "prc_factotum", FALSE, FALSE);
|
||||
AddEventScript(oPC, EVENT_ONPLAYERREST_FINISHED, "prc_factotum", TRUE, FALSE);
|
||||
if (!GetLocalInt(oPC, "InspirationHBRunning")) DeleteLocalInt(oPC, "InspirationHB");
|
||||
if (!GetLocalInt(oPC, "InspirationHB") && !GetLocalInt(oPC, "InspirationHBRunning"))
|
||||
{
|
||||
@@ -69,7 +69,7 @@ void main()
|
||||
SetLocalInt(oPC, "InspirationHB", TRUE);
|
||||
}
|
||||
}
|
||||
else if(EVENT_ONCLIENTENTER)
|
||||
else if(nEvent == EVENT_ONCLIENTENTER)
|
||||
{
|
||||
if(GetLevelByClass(CLASS_TYPE_FACTOTUM, oPC) > 0)
|
||||
{
|
||||
@@ -84,6 +84,6 @@ void main()
|
||||
AssignCommand(oPC, ClearAllActions(TRUE));
|
||||
ClearFactotumSlots(oPC);
|
||||
SetLocalInt(oPC, "FactotumArcDil", GetMaxArcDilSpellLevel(oPC));
|
||||
StartDynamicConversation("prc_fact_splconv", oPC, DYNCONV_EXIT_NOT_ALLOWED, FALSE, TRUE, oPC);
|
||||
DelayCommand(0.1f, StartDynamicConversation("prc_fact_splconv", oPC, DYNCONV_EXIT_NOT_ALLOWED, FALSE, TRUE, oPC));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user