summaryrefslogtreecommitdiff
path: root/world/map/npc/052-1/channelling.txt
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-04-30 01:13:05 -0500
committerWushin <pasekei@gmail.com>2015-04-30 01:13:05 -0500
commite690bdd30e3e4bc7ddabbb24a362d8f698f291e0 (patch)
tree220aa71fc82b72652f44c298cc77387fdb9eb426 /world/map/npc/052-1/channelling.txt
parent49b17a120e1b9ae26ef3039219051745ff46e913 (diff)
parent6df037322b925220dd503746692200b9aff5d2d4 (diff)
downloadserverdata-e690bdd30e3e4bc7ddabbb24a362d8f698f291e0.tar.gz
serverdata-e690bdd30e3e4bc7ddabbb24a362d8f698f291e0.tar.bz2
serverdata-e690bdd30e3e4bc7ddabbb24a362d8f698f291e0.tar.xz
serverdata-e690bdd30e3e4bc7ddabbb24a362d8f698f291e0.zip
Merge pull request #332 from mekolat/getparam
remove deprecated readparam & statusup2
Diffstat (limited to 'world/map/npc/052-1/channelling.txt')
-rw-r--r--world/map/npc/052-1/channelling.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/npc/052-1/channelling.txt b/world/map/npc/052-1/channelling.txt
index e65d47a8..01364b41 100644
--- a/world/map/npc/052-1/channelling.txt
+++ b/world/map/npc/052-1/channelling.txt
@@ -101,7 +101,7 @@ function|script|StartChannelling
set $@illia_level_4_progress, 1;
set $@illia_char_channelling$, strcharinfo(0);
- set @bonus, (readparam(bInt)+1) / 25;
+ set @bonus, (Int+1) / 25;
// Lazurite Stones power, will also depend on the Int of the channelling character
setarray $@illia_lazurites_power,
12 + @bonus, // small
@@ -114,11 +114,11 @@ function|script|StartChannelling
setarray $@illia_large_lazurites, 21,40, 34,25;
// amount of initial magic power
- set $@illia_magic_power, 1811 + readparam(bInt)*2;
+ set $@illia_magic_power, 1811 + Int*2;
// Channelling required power depends on the base Int of the character
- set $@illia_magic_power_required, 5707 - 2*readparam(bInt);
+ set $@illia_magic_power_required, 5707 - 2*Int;
// magic power loss depends also on Int
- set $@illia_magic_power_loss, 53 - ((readparam(bInt)+1)*2)/10;
+ set $@illia_magic_power_loss, 53 - ((Int+1)*2)/10;
// register the power status to display hints to the players
// Statuses: 0=critical(below 300), 1=neutral, 2=almost there (max-300)