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

Fermé
Créé il y a 1 an par neatz09 · 3 commentaires
neatz09 a commenté il y a 1 an
Il n'existe pas encore de contenu.
image a commenté il y a 1 an
Collaborateur

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 a commenté il y a 1 an
Collaborateur

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 a commenté il y a 1 an
Collaborateur
  • 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); } ```
image a référencé ce problème à partir d'un commit il y a 1 an
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.