Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.3.5][6.x] Kara NPC Fix: Koren #16411

Closed
ghost opened this issue Jan 28, 2016 · 2 comments
Closed

[3.3.5][6.x] Kara NPC Fix: Koren #16411

ghost opened this issue Jan 28, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 28, 2016

Rev: cebdf03
DB: TDB 335.60

Issue: Koren will currently allow everyone repair and buy from him. Retail behavior requires you to be at least honored with the Violet Eye to do such.

Source from 2.0.8

Koren will offer you his services to buy items and repair if you are honored or higher with 
The Violet Eye...

His gossip_menu_option is currently non-existant and there is no condition for this functionality.

Suggested Fix:

DELETE FROM `gossip_menu_option` WHERE `menu_id`=7435;
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES 
(7435, 0, 1, 'I\'m in need of your skill as a blacksmith, Koren.', 14188, 3, 128, 0, 0, 0, 0, NULL, 0);

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceID` = 15 AND `SourceGroup` = 7435;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
(15, 7435, 0, 0, 0, 5, 0, 967, 224, 0, 0, 0, 0, '', 'Koren - Show Vendor option if Honored thru Exalted with Violet Eye');

Tested all rep levels, and he will now only let you buy/sell with him starting at honored.

@Rushor
Copy link
Contributor

Rushor commented Jan 28, 2016

nice :)

@Rushor Rushor changed the title Kara NPC Fix: Koren [3.3.5][6.x] Kara NPC Fix: Koren Feb 2, 2016
@Rushor Rushor self-assigned this Feb 5, 2016
@Rushor
Copy link
Contributor

Rushor commented Feb 6, 2016

aef7265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant