diff options
author | mekolat <mekolat@gmail.com> | 2015-04-16 21:11:51 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-30 01:41:26 -0400 |
commit | bf3c1c0e4add6a5d8a52b043a30775eada1cef2f (patch) | |
tree | e5b50684900e324ac12eeb16c1c38b6729b3fb86 /world/map/npc/052-1 | |
parent | dbf4de95bec3a15f3e7c636899f679c814af85a2 (diff) | |
download | serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.gz serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.bz2 serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.xz serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.zip |
remove deprecated readparam & statusup2
Diffstat (limited to 'world/map/npc/052-1')
-rw-r--r-- | world/map/npc/052-1/channelling.txt | 8 |
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..414e1bf3 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, (bInt+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 + bInt*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*bInt; // magic power loss depends also on Int - set $@illia_magic_power_loss, 53 - ((readparam(bInt)+1)*2)/10; + set $@illia_magic_power_loss, 53 - ((bInt+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) |