PDA

View Full Version : [508] Level needed to Wield.



Faab234
June 18th, 2010, 11:54
For Ranged:

Got to " public int getCLRanged(int ItemID) {"

And Add This:

if (ItemID == ITEMID)
return LEVELNEEDEDRANGED;

Or:

if (itemName.equals("ITEMNAME"))
return LEVELNEEDEDRANGED;

For Magic:

Go to "public int getCLMagic(int ItemID) {"

And Add:


if (itemName.equals("ITEMNAME"))
return LEVELNEEDEDMAGIC;

For Strength:

Go to " public int getCLStrength(int ItemID) {"

And Add:


if (itemName.equals("ITEMNAME"))
return LEVELNEEDED;


For Attack:

Go to "public int getCLAttack(int ItemID) {"

And Add:


if (itemName.equals("ITEMNAME"))
return LEVELNEEDED;

For Defence:

Go To " public int getCLDefence(int ItemID) {".

And Add:


if (itemName.equals("ITEMNAME"))
return LEVELNEEDED;

Or:


if (ItemID == ITEMID)
return LEVELNEEDED;

Break
June 18th, 2010, 12:02
Good guide, But not for every base.
Else this can be done much eaiser if your using z508.

Faab234
June 18th, 2010, 14:57
Good guide, But not for every base.
Else this can be done much eaiser if your using z508.

This is for Palidino76.

Break
June 18th, 2010, 15:02
I know, I just said it's not for every base so people will know :P.

Rog3r
June 18th, 2010, 15:35
This seems more like a copy and paste tutorial thus moved it there instead.

The sup
June 18th, 2010, 15:35
Short and simple tutorial. Thank you.

Aaron
June 18th, 2010, 15:36
Good guide+Support on the Section Rog3r:)

Faab234
June 18th, 2010, 15:52
This seems more like a copy and paste tutorial thus moved it there instead.

This isn't C&P, I'm telling people how to do it.

Rog3r
June 18th, 2010, 16:43
This isn't C&P, I'm telling people how to do it.

I'll add a sectional rules here soon however it's just too short and you don't explain every (or most) parts of the code. Overall, there's nothing wrong with it but it just doesn't fit into the teaching category.

Faab234
June 18th, 2010, 16:48
I'll add a sectional rules here soon however it's just too short and you don't explain every (or most) parts of the code. Overall, there's nothing wrong with it but it just doesn't fit into the teaching category.

Ok.

(MTSMTS)

TehCow
June 18th, 2010, 16:53
Wewt, this can help newbies out mate. Gj.

jamie
June 19th, 2010, 05:18
i like it.

Faab234
June 19th, 2010, 09:33
I like you (No Homo).

Nathan'
June 19th, 2010, 09:36
rog3r please could you add more boards, it makes it easier for people to know where to post.

XxBryantD
June 20th, 2010, 16:15
thanks