[Release]Fix for 130+ items

01/29/2010 17:52 Hanibal#1
Alright, so you have 130+ items on your server and you do not want people to be able to use WeaponMaster do upgrade to that gear.

Here's an easy fix:

In NPCDialog.cs go to Market High Upgrade or whatever you called it in your source and below

Code:
if (GC.MyChar.Level >= NewLevel)
add this

Code:
if (NewLevel != 0 && NewLevel <= 130 && PrevLevel < 135)
This makes it so he will not up any gear above level 130 and you can make your specialty items as a quest or what ever. This also fixes it so people don't get the wrong items if you have job specific items on your server.

EDIT: Sorry this is for 5165...
01/29/2010 18:24 Jedex#2
GOOD JOB HANIBAL!!!
01/29/2010 23:29 Olodady#3
co emu I guess...
01/31/2010 20:39 .Ryu#4
Quote:
Originally Posted by Olodady View Post
co emu I guess...
Nope 5165 re read hes post

Good job hanibal
01/31/2010 21:47 Arcо#5
Actually this code will vary source to source, depending on whats the highest level gear you have.