OpenGothic icon indicating copy to clipboard operation
OpenGothic copied to clipboard

Improve guild attitudes script functions

Open thokkat opened this issue 1 year ago • 0 comments

In wld_getguildattitude the order of guilds is wrong. Attitude from second guild to first is returned instead of first to second.

In wld_setguildattitude two attitudes are set but in vanilla it's only the first.

I fixed the above, expanded bounds checking and unified names. In wld_exchangeguildattitude every attitude is now only set once instead twice.

thokkat avatar May 06 '24 18:05 thokkat