RecipeController and some other changes.
This commit is contained in:
parent
57a7b15213
commit
2d6440aafd
4
trunk/dist/game/data/scripts.cfg
vendored
4
trunk/dist/game/data/scripts.cfg
vendored
@ -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
|
||||
|
||||
|
@ -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,11 +665,11 @@ 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.addLong(_price);
|
||||
sm.addItemName(itemId);
|
||||
sm.addLong(_price);
|
||||
_target.sendPacket(sm);
|
||||
}
|
||||
}
|
||||
|
||||
if (itemCount > 1)
|
||||
{
|
||||
|
@ -44,5 +44,4 @@ public interface IParserAdvUtils extends IParserUtils
|
||||
Duration getDuration(String key);
|
||||
|
||||
<T extends Enum<T>> T getEnum(String key, Class<T> clazz);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user