Initial Commit
Initial Commit [v1.01]
This commit is contained in:
16
_removed/tk_cm_level_at10.nss
Normal file
16
_removed/tk_cm_level_at10.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
// Actions taken script that sets the Level Setter's target to not use
|
||||
// caster levels above 10.
|
||||
|
||||
#include "x2_inc_craft"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Get the item to be modified.
|
||||
object oTarget = GetLocalObject(GetPCSpeaker(), "TK_CRAFT_MAGIC_Leveler_Target");
|
||||
// Set the target level.
|
||||
SetLocalInt(oTarget, TK_CRAFTMAGIC_LEVEL, 10);
|
||||
// Reset the item's name.
|
||||
SetName(oTarget, "");
|
||||
// Set the item's new name.
|
||||
SetName(oTarget, GetName(oTarget) + " (10)");
|
||||
}
|
Reference in New Issue
Block a user