diff options
-rw-r--r-- | npc/craft/options.txt | 1 | ||||
-rw-r--r-- | npc/craft/smith.txt | 6 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 5 |
3 files changed, 12 insertions, 0 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index a7f97decf..902b23849 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -450,6 +450,7 @@ function script csys_Apply { // 5% per option enabled. One is always enabled so... .@base-=limit(0, 30000, bitmask_count(CRAFTSYS_CURRENT)*5000); // Lower based on min. tier (max -10%) + // Note higher tier inheirts all of previous penalties .@base-=(CRAFTSYS_CURRENT >= CRGROUP_ATK ? 2500 : 0); // 1st tier .@base-=(CRAFTSYS_CURRENT >= CRGROUP_REGEN ? 2500 : 0); // 2nd tier .@base-=(CRAFTSYS_CURRENT >= CRGROUP_SCRESIST ? 2500 : 0); // 3rd tier diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt index 9d0739926..8cb76f568 100644 --- a/npc/craft/smith.txt +++ b/npc/craft/smith.txt @@ -46,6 +46,12 @@ function script SmithSystem { usecraft .@craft; .@it=getcraftcode(.@entry); + // Hotfix + if (CRAFTING_SCORE && !CRAFTING_SCORE_COMPLETE) { + CRAFTING_SCORE_COMPLETE=CRAFTING_SCORE*39; + Exception("Your char is corrupted, updater failed!"); + } + // Mark the crafting in your score variable CRAFTING_SCORE_COMPLETE+=getiteminfo(.@it, ITEMINFO_ELV); // Update your score book diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 3bd546ff9..b971f10f2 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -651,6 +651,11 @@ function script clientupdater { setitemoptionbyindex(.@index, 0, IOPT_RICHNESS, 1); dispbottom l("Iron Quiver stats restored"); } + // Crazyfefe's fix + if (strcharinfo(0) == "Crazyfefe") { + CRAFTING_SCORE_COMPLETE+=30*39; + CRAFTING_SCORE=CRAFTING_SCORE_COMPLETE/40; + } } // #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted. |