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

Closed
opened 4 months ago by neatz09 · 3 comments
neatz09 commented 4 months ago
There is no content yet.
image commented 3 months ago
Collaborator

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 commented 3 months ago
Collaborator

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 commented 3 months ago
Collaborator
  • 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); } ```
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.