[DiscordArchive] but is that correct?
[DiscordArchive] but is that correct?
Archived author: ModoX • Posted: 2023-06-23T20:40:25.931000+00:00
Original source
and for that we may require some new hook
Archived author: Malcrom • Posted: 2023-06-23T20:40:32.934000+00:00
Original source
so the quest reward is added to loot
Archived author: Tea • Posted: 2023-06-23T20:41:33.695000+00:00
Original source
yes we have no way to mark the quest as rewarded for now but you can add drop condition anyway
Archived author: Malcrom • Posted: 2023-06-23T20:41:47.795000+00:00
Original source
```sql
-- Conditions for class loot
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=@ID;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1,@ID,174791,0,0,15,0,400,0,0,0,0,0,'','Item drops for cloth wearer'),
(1,@ID,174791,0,0,47,0,58883,64,0,1,0,0,'','Item drops if quest 58883 is not rewarded'),
(1,@ID,174792,0,0,15,0,3592,0,0,0,0,0,'','Item drops for leather wearer'),
(1,@ID,174792,0,0,47,0,58883,64,0,1,0,0,'','Item drops if quest 58883 is not rewarded'),
(1,@ID,174793,0,0,15,0,4168,0,0,0,0,0,'','Item drops for mail wearer'),
(1,@ID,174793,0,0,47,0,58883,64,0,1,0,0,'','Item drops if quest 58883 is not rewarded'),
(1,@ID,174794,0,0,15,0,35,0,0,0,0,0,'','Item drops for plate wearer'),
(1,@ID,174794,0,0,47,0,58883,64,0,1,0,0,'','Item drops if quest 58883 is not rewarded');
```
Archived author: Malcrom • Posted: 2023-06-23T20:41:51.123000+00:00
Original source
that?
Archived author: Tea • Posted: 2023-06-23T20:42:13.052000+00:00
Original source
no, it should drop when quest is NOT rewarded
Archived author: Malcrom • Posted: 2023-06-23T20:43:40.545000+00:00
Original source
now?
Archived author: Tea • Posted: 2023-06-23T20:43:59.162000+00:00
Original source
still wrong, you put 1 in conditionvalue3 instead of negativecondition
Archived author: Malcrom • Posted: 2023-06-23T20:44:15.925000+00:00
Original source
haha
Archived author: Malcrom • Posted: 2023-06-23T20:44:57.875000+00:00
Original source
there