Added Vow of Poverty
Added Vow of Poverty, Jaebrin, Hobgoblin Warsoul & Forsaker fixes (thanks PRC5 & @Fencas). Added iprp_matcost.2da for new materials. Updated PRC8 Tester module. Cohorts updated to support 8 classes. Fixed ranged disarm w/ Fighter. Updated release archive.
This commit is contained in:
@@ -113,7 +113,7 @@ void main()
|
||||
if (GetLocked(oTarget) && !GetLockKeyRequired(oTarget))
|
||||
{
|
||||
int iDC = GetLockUnlockDC(oTarget);
|
||||
if(d20(1) + GetClassByPosition(CLASS_TYPE_OCULAR) >= iDC)
|
||||
if(d20(1) + GetLevelByClass(CLASS_TYPE_OCULAR, oCaster) >= iDC)
|
||||
{
|
||||
SetLocked(oTarget, FALSE);
|
||||
AssignCommand(oTarget, SpeakString("**Click**"));
|
||||
@@ -137,7 +137,7 @@ void main()
|
||||
if (GetLocked(oTarget) && GetLockKeyRequired(oTarget))
|
||||
{
|
||||
int iDC = GetLockUnlockDC(oTarget);
|
||||
if(d20(1) + GetClassByPosition(CLASS_TYPE_OCULAR) >= iDC)
|
||||
if(d20(1) + GetLevelByClass(CLASS_TYPE_OCULAR, oCaster) >= iDC)
|
||||
{
|
||||
SetLocked(oTarget, FALSE);
|
||||
AssignCommand(oTarget, SpeakString("**Click**"));
|
||||
|
Reference in New Issue
Block a user