RecipeController and some other changes.

This commit is contained in:
MobiusDev 2016-06-03 18:40:51 +00:00
parent 57a7b15213
commit 2d6440aafd
3 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# This file contains a list of scripts that should be loaded by the GameServer
# The path is relative to the scripts folder, for example scripts/event.py would
# The path is relative to the scripts folder, for example scripts/event.java would
# require the following entry:
# event.py
# event.java
#
# Note: You can also load an script during server runtime using the Admin Panel

View File

@ -649,6 +649,9 @@ public class RecipeController
sm = SystemMessage.getSystemMessage(SystemMessageId.C1_CREATED_S2_AFTER_RECEIVING_S3_ADENA);
sm.addString(_player.getName());
sm.addItemName(itemId);
sm.addLong(_price);
_target.sendPacket(sm);
}
else
{
@ -662,10 +665,10 @@ public class RecipeController
sm = SystemMessage.getSystemMessage(SystemMessageId.C1_CREATED_S3_S2_S_AT_THE_PRICE_OF_S4_ADENA);
sm.addString(_player.getName());
sm.addInt(itemCount);
sm.addItemName(itemId);
sm.addLong(_price);
_target.sendPacket(sm);
}
sm.addLong(_price);
sm.addItemName(itemId);
_target.sendPacket(sm);
}
if (itemCount > 1)

View File

@ -44,5 +44,4 @@ public interface IParserAdvUtils extends IParserUtils
Duration getDuration(String key);
<T extends Enum<T>> T getEnum(String key, Class<T> clazz);
}