Module commit
Module commit.
This commit is contained in:
13
_module/nss/deity_monk_level.nss
Normal file
13
_module/nss/deity_monk_level.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "prc_class_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
int iMonk = GetLevelByClass(CLASS_TYPE_MONK, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SWORDSAGE, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_PSION, oPC);
|
||||
|
||||
SetLocalInt(oPC, "MonkLevel", iMonk);
|
||||
}
|
Reference in New Issue
Block a user