Jump to content

Recommended Posts

Posted

(57, 0) < Config.FIGHTER_Items_PRICE ... it mean -500 return true; 500+ return false;

Hello. no offense but learn some java ( i dont know much but) please go back to your cave

Posted (edited)

(57, 0) < Config.FIGHTER_Items_PRICE ... it mean -500 return true; 500+ return false;

+ if(activeChar.getInventory().getInventoryItemCount(57, 0) < Config.FIGHTER_ITEMS_PRICE)  This mean: if char have adena less than config.

            {

                        activeChar.sendMessage("You do not have enough Adena");

                        return false;

            }

 

Just put this...

I'll update the code later... now i'm on my job.

Edited by 'Baggos'
Posted

+ if(activeChar.getInventory().getInventoryItemCount(57, 0) < Config.FIGHTER_ITEMS_PRICE)  This mean: if char have adena less than config.

            {

                        activeChar.sendMessage("You do not have enough Adena");

                        return false;

            }

 

Just put this...

I'll update the code later... now i'm on my job.

 

youre wrong dude :)

already explained 

next time test before you say crap i know who you are stop posting crap, i remember when you spam me with your CAPITAL GREEKS about 

 

fullfix  - classic greek lame word

fullbalancer - classic greek lame word

FULL PRIDE- classic yours lame word

 

i wont spam more 

 

i told to baggos which was the problem he will update it as he said end of story

Posted

hahahaha kids.. :) an account isn't only for one ;) crap...crap is your face dude

You spek england mucho nice i neid to spek england by yiou

Posted (edited)

Updated!

 

Fixes:

- if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE)
+ if (activeChar.getInventory().getInventoryItemCount(57, 0) < Config.COMMANDS_ITEMS_PRICE)
 
 
- if(!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && activeChar.getKarma() > 0)
+ if (activeChar.getKarma() > 0)

- activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null);
- activeChar.getInventory().destroyItemByItemId("Adena", 57, Config.MAGE_ITEMS_PRICE, activeChar, null);
+ activeChar.getInventory().destroyItemByItemId("Adena", 57, Config.COMMANDS_ITEMS_PRICE, activeChar, null);

- /**
-  * @see com.l2jfrozen.gameserver.handler.IVoicedCommandHandler(java.lang.String, com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance, java.lang.String)
-  */
- @SuppressWarnings("javadoc")

- Useless Check.

 

Added:

Soulshots Grade-S on fighters.

B.Spirishots Grade-S on Mages.

Shining Arrows On bowitems.

Crusader Shield On tankitems.

 

Duelist Items.

Tyrant Items.

Edited by 'Baggos'

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock