mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-02 02:15:48 -04:00
Fixed Sarlacc Pit Debuff not being applied when approaching the Pit of Carkoon on Tatooine
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package script.creature;
|
||||
|
||||
import script.*;
|
||||
import script.library.buff;
|
||||
import script.library.utils;
|
||||
|
||||
public class sarlacc extends script.base_script
|
||||
@@ -55,6 +56,7 @@ public class sarlacc extends script.base_script
|
||||
if (getEnhancedSkillStatisticModifierUncapped(whoTriggeredMe, "resistance_disease") < 24)
|
||||
{
|
||||
sendSystemMessage(whoTriggeredMe, SID_SARLACC_DOT);
|
||||
buff.applyBuff(whoTriggeredMe, "sarlaccSnare");
|
||||
}
|
||||
}
|
||||
else if (volumeName.equals("sarlaccPreBreach"))
|
||||
@@ -90,6 +92,7 @@ public class sarlacc extends script.base_script
|
||||
}
|
||||
if (getEnhancedSkillStatisticModifierUncapped(content, "resistance_disease") < 24) {
|
||||
sendSystemMessage(content, SID_SARLACC_DOT);
|
||||
buff.applyBuff(content, "sarlaccSnare");
|
||||
}
|
||||
sendSystemMessage(content, SID_SARLACC_ERUPT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user