#448 scribing recipes/spells from different classes is not restricted

Đã đóng
%! (template.HTML=1 năm trước cách đây)đang mở bởi neatz09 · 3 ý kiến
Ở đây vẫn chưa có nội dung nào.
image đã nhận xét 1 năm trước cách đây
Người hợp tác

ideally would be nice to know what messages we get from live to properly implement this, but for now I will put a basic scribe check that just spits out you cannot do this due to level/class restrictions.

ideally would be nice to know what messages we get from live to properly implement this, but for now I will put a basic scribe check that just spits out you cannot do this due to level/class restrictions.
image đã nhận xét 1 năm trước cách đây
Người hợp tác

also looks like on the recipes table all recipes are 0 except one which is the lucky paw set to product_classes 255

also looks like on the recipes table all recipes are 0 except one which is the lucky paw set to product_classes 255
image đã nhận xét 1 năm trước cách đây
Người hợp tác
  • spells scribing didn't have any checks
  • recipe scribing does have a level check, but no class check

    
                        if (recipe_book && recipe_book->GetLevel() > client->GetPlayer()->GetTSLevel()) {
                            client->Message(CHANNEL_NARRATIVE, "Your tradeskill level is not high enough to scribe this book.");
                            safe_delete(recipe_book);
                        }
    
- spells scribing didn't have any checks - recipe scribing does have a level check, but no class check ``` if (recipe_book && recipe_book->GetLevel() > client->GetPlayer()->GetTSLevel()) { client->Message(CHANNEL_NARRATIVE, "Your tradeskill level is not high enough to scribe this book."); safe_delete(recipe_book); } ```
Đăng nhập để tham gia bình luận.
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.