N/A

N/A

2,051 views 4 replies
Reply #1 Top

Never mind... it is charging double by the XML. Had to throw it in my quest editor to catch where the error is coming from...

 

Reply #2 Top

<QuestChoiceDef>
    <Description>Build communes for the sick and force them to live apart from us (-50 gildar)</Description>
    <RequiredConditionID>0</RequiredConditionID>
    <NextObjectiveID>1</NextObjectiveID>
    <Treasure>
        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>Gold</Attribute>
            <Value>-50</Value>
        </GameModifier>
    </Treasure>
</QuestChoiceDef>

The bolded treasure above should be removed since the option to choose requires a condition of 50 gold and by how the quests work you will be charged automatically the 50 gold by the condition, then another 50 by this treasure addition.

<QuestConditionDef>
    <ID>0</ID>
    <Objective>
        <Icon>Mana_32.png</Icon>
        <Text>You need 50 gildar to build the commune</Text>
        <IsOptional>0</IsOptional>
    </Objective>
    <Class>ChoiceUnlock</Class>
    <Type>CheckForResource</Type>
    <TextData>Gold</TextData>
    <NumericData>50</NumericData>
</QuestConditionDef>

This is the condition that is already charging and checking for the 50 gold in the first place.

Reply #4 Top

Fixed, thanks Parrottmath!