Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spell Item fix
#1
This'll fix the error where it didn't read the player's class, or the item's class requirement properly.

Find:

Code:
If Spell(n).ClassReq - 1 = GetPlayerClas...

And delete the '-1'.

Then find:

Code:
Call PlayerMsg(Index, "This spell can only be learned by a " & GetClassName(Spell(n).ClassReq - 1) & ".", White)

And remove the '-1'.

Done and done.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)