Jump to content
  • 0

Tvt


TraineeDreamer

Question

5 answers to this question

Recommended Posts

  • 0

i opened tvt.java i searched for additem() but doesn't exist so i searched for additem and i found this:

 

player.addItem(_eventName+" Event: " + _eventName, _rewardId, _rewardAmount, player, true);

what should i put more so player will get more rewards?

 

i searched little more and i am sure that i must do some changes here so i put more rewards but i dont know what i must put....

 

/**
* Gets the _reward id.
*
* @return the _rewardId
*/
public static int get_rewardId()
{
return _rewardId;
}
 
/**
* Set_reward id.
*
* @param _rewardId the _rewardId to set
* @return true, if successful
*/
public static boolean set_rewardId(int _rewardId)
{
if(!is_inProgress()){
TvT._rewardId = _rewardId;
return true;
}
return false;
}
 
/**
* Gets the _reward amount.
*
* @return the _rewardAmount
*/
public static int get_rewardAmount()
{
return _rewardAmount;
}
 
/**
* Set_reward amount.
*
* @param _rewardAmount the _rewardAmount to set
* @return true, if successful
*/
public static boolean set_rewardAmount(int _rewardAmount)
{
if(!is_inProgress()){
TvT._rewardAmount = _rewardAmount;
return true;
}
return false;
}
Edited by TraineeDreamer
Link to comment
Share on other sites

  • 0

can u help me ppl?

U already found it -> "player.addItem(_eventName+" Event: " + _eventName, _rewardId, _rewardAmount, player, true);"

Make a new line after that one like "player.addItem(_eventName+" Event: " + _eventName, 57, 100, player, true);" -> 57 adena id, 100 adena amount

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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