diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-10-16 03:17:20 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-10-16 03:17:20 +0000 |
commit | 9584d85bc84fc367147f405403b16eb06daa1ac8 (patch) | |
tree | fb6de00b3eb982a9e7044fe84f2bcda9c32068c5 /world/map/npc/052-1 | |
parent | ed5b7c7df1a770d69c0f60463bd324f762daa078 (diff) | |
download | serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.gz serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.bz2 serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.xz serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.zip |
Equipment stats use
Diffstat (limited to 'world/map/npc/052-1')
-rw-r--r-- | world/map/npc/052-1/channelling.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/052-1/channelling.txt b/world/map/npc/052-1/channelling.txt index 59628d0b..cbe04067 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, (Int+1) / 25; + set @bonus, ((Int+Int2)+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 + Int*2; + set $@illia_magic_power, 1811 + (Int+Int2)*2; // Channelling required power depends on the base Int of the character set $@illia_magic_power_required, 5707 - 2*Int; // magic power loss depends also on Int - set $@illia_magic_power_loss, 53 - ((Int+1)*2)/10; + set $@illia_magic_power_loss, 53 - (((Int+Int2)+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) |