diff options
author | Led Mitz <smoothshifter@tuta.io> | 2023-10-16 03:17:20 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-10-16 03:17:20 +0000 |
commit | 569602b26bd80cf00e02b0ab0570c0c8684fb86b (patch) | |
tree | f9afa4c95665265b65bd66d165b061beb2c85f16 /world/map/npc/052-1/channelling.txt | |
parent | aac3cffefd6259f20ccade8d2179dff430eae6e3 (diff) | |
parent | 9584d85bc84fc367147f405403b16eb06daa1ac8 (diff) | |
download | serverdata-569602b26bd80cf00e02b0ab0570c0c8684fb86b.tar.gz serverdata-569602b26bd80cf00e02b0ab0570c0c8684fb86b.tar.bz2 serverdata-569602b26bd80cf00e02b0ab0570c0c8684fb86b.tar.xz serverdata-569602b26bd80cf00e02b0ab0570c0c8684fb86b.zip |
Merge branch 'equipment_stats_use' into 'master'
Equipment stats use
See merge request legacy/serverdata!682
Diffstat (limited to 'world/map/npc/052-1/channelling.txt')
-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) |