summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-27 13:07:47 -0400
committergumi <mekolat@users.noreply.github.com>2017-05-28 11:50:15 -0400
commite47172e47bb6ee7c6840174e22d14c94686a9c37 (patch)
tree60865caa729df1019dec04dbfa9856c2571c0421 /npc/custom
parent9e123cb8d22669e8e82571d6d31f993b3641028d (diff)
downloadhercules-e47172e47bb6ee7c6840174e22d14c94686a9c37.tar.gz
hercules-e47172e47bb6ee7c6840174e22d14c94686a9c37.tar.bz2
hercules-e47172e47bb6ee7c6840174e22d14c94686a9c37.tar.xz
hercules-e47172e47bb6ee7c6840174e22d14c94686a9c37.zip
remove the pow buildin from existing scripts
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/quests/thq/THQS_TTShop.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/quests/thq/THQS_TTShop.txt b/npc/custom/quests/thq/THQS_TTShop.txt
index c85a9c9fe..96e7346d3 100644
--- a/npc/custom/quests/thq/THQS_TTShop.txt
+++ b/npc/custom/quests/thq/THQS_TTShop.txt
@@ -67,11 +67,11 @@ function script thqs_trade_token {
// 10^0, 10^1, 10^2
@type -= 1;
- @price = pow(10, @type);
+ @price = (10 ** @type);
// 10^3, 10^4, 10^5
@type += 3; // So we can use pow later to determine the qt of Zeny
- @prize = pow(10, @type);
+ @prize = (10 ** @type);
if( #Treasure_Token < @price ) {
mes "You don't have enough tokens!";