From 6df037322b925220dd503746692200b9aff5d2d4 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 19 Apr 2015 15:37:54 -0400 Subject: add new consts for the params --- world/map/npc/052-1/channelling.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'world/map/npc/052-1') 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) -- cgit v1.2.3-70-g09d2