diff options
author | mekolat <mekolat@gmail.com> | 2015-04-19 15:37:54 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-30 01:41:56 -0400 |
commit | 6df037322b925220dd503746692200b9aff5d2d4 (patch) | |
tree | 9c7fccf1cecea4f1120e2fbad3c71f1df03094ef /world/map/npc/052-1 | |
parent | bf3c1c0e4add6a5d8a52b043a30775eada1cef2f (diff) | |
download | serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.gz serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.bz2 serverdata-6df037322b925220dd503746692200b9aff5d2d4.tar.xz serverdata-6df037322b925220dd503746692200b9aff5d2d4.zip |
add new consts for the params
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 414e1bf3..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, (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 + 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*bInt; + set $@illia_magic_power_required, 5707 - 2*Int; // magic power loss depends also on Int - set $@illia_magic_power_loss, 53 - ((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) |