Skip to content
Snippets Groups Projects
Commit 1397f203 authored by Zoey76's avatar Zoey76
Browse files

BETA: Minor fix for Embroidered Soul Cloak quests.

Patch by: nBd
Suggested by: lion
parent 9cd59384
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ public class Q10501_ZakenEmbroideredSoulCloak extends Quest ...@@ -59,7 +59,7 @@ public class Q10501_ZakenEmbroideredSoulCloak extends Quest
{ {
final long currentCount = st.getQuestItemsCount(ZAKENS_SOUL_FRAGMENT); final long currentCount = st.getQuestItemsCount(ZAKENS_SOUL_FRAGMENT);
final long count = getRandom(1, 3); final long count = getRandom(1, 3);
if (count > (FRAGMENT_COUNT - currentCount)) if (count >= (FRAGMENT_COUNT - currentCount))
{ {
st.giveItems(ZAKENS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount); st.giveItems(ZAKENS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount);
st.setCond(2, true); st.setCond(2, true);
......
...@@ -59,7 +59,7 @@ public class Q10502_FreyaEmbroideredSoulCloak extends Quest ...@@ -59,7 +59,7 @@ public class Q10502_FreyaEmbroideredSoulCloak extends Quest
{ {
final long currentCount = st.getQuestItemsCount(FREYAS_SOUL_FRAGMENT); final long currentCount = st.getQuestItemsCount(FREYAS_SOUL_FRAGMENT);
final long count = getRandom(1, 3); final long count = getRandom(1, 3);
if (count > (FRAGMENT_COUNT - currentCount)) if (count >= (FRAGMENT_COUNT - currentCount))
{ {
st.giveItems(FREYAS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount); st.giveItems(FREYAS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount);
st.setCond(2, true); st.setCond(2, true);
......
...@@ -60,7 +60,7 @@ public class Q10503_FrintezzaEmbroideredSoulCloak extends Quest ...@@ -60,7 +60,7 @@ public class Q10503_FrintezzaEmbroideredSoulCloak extends Quest
{ {
final long currentCount = st.getQuestItemsCount(FRINTEZZAS_SOUL_FRAGMENT); final long currentCount = st.getQuestItemsCount(FRINTEZZAS_SOUL_FRAGMENT);
final long count = getRandom(1, 3); final long count = getRandom(1, 3);
if (count > (FRAGMENT_COUNT - currentCount)) if (count >= (FRAGMENT_COUNT - currentCount))
{ {
st.giveItems(FRINTEZZAS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount); st.giveItems(FRINTEZZAS_SOUL_FRAGMENT, FRAGMENT_COUNT - currentCount);
st.setCond(2, true); st.setCond(2, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment