{"action":"closed","issue":{"url":"https://api.github.com/repos/NebbieArcane/Server/issues/109","repository_url":"https://api.github.com/repos/NebbieArcane/Server","labels_url":"https://api.github.com/repos/NebbieArcane/Server/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/NebbieArcane/Server/issues/109/comments","events_url":"https://api.github.com/repos/NebbieArcane/Server/issues/109/events","html_url":"https://github.com/NebbieArcane/Server/issues/109","id":302874688,"number":109,"title":"Comando Skill per Druidi si impapocchia","user":{"login":"FoxeonNebbie","id":36337118,"avatar_url":"https://avatars0.githubusercontent.com/u/36337118?v=4","gravatar_id":"","url":"https://api.github.com/users/FoxeonNebbie","html_url":"https://github.com/FoxeonNebbie","followers_url":"https://api.github.com/users/FoxeonNebbie/followers","following_url":"https://api.github.com/users/FoxeonNebbie/following{/other_user}","gists_url":"https://api.github.com/users/FoxeonNebbie/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxeonNebbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxeonNebbie/subscriptions","organizations_url":"https://api.github.com/users/FoxeonNebbie/orgs","repos_url":"https://api.github.com/users/FoxeonNebbie/repos","events_url":"https://api.github.com/users/FoxeonNebbie/events{/privacy}","received_events_url":"https://api.github.com/users/FoxeonNebbie/received_events","type":"User","site_admin":false},"labels":[{"id":825165115,"url":"https://api.github.com/repos/NebbieArcane/Server/labels/Check%20request","name":"Check request","color":"cea727","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-06T21:32:58Z","updated_at":"2018-03-16T05:29:23Z","closed_at":"2018-03-16T05:29:23Z","author_association":"NONE","body":"Battendo il comando skill per druidi si impapocchia l'output\r\n\r\nHo notato che nel srogente epr i druidi c'è una differenza \r\nFile Act.info.cpp\r\nConfrontare riga 4440\r\nif (strlen(buf)+strlen(buffer) > (MAX_STRING_LENGTH*2)-2)\r\n\r\ncon riga del druido 4446\r\nif (strlen(buf)+strlen(buffer) > MAX_STRING_LENGTH-2)\r\n\r\nManca per due alla lungghezza\r\n\r\nSotto codice druido\r\ncase 'D':\r\n\tcase 'd': {\r\n\t\tif (!HasClass(ch, CLASS_DRUID)) {\r\n\t\t\tsend_to_char(\"Scommetto che pensi di essere un druido.\\n\\r\", ch);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tsend_to_char(\"La tua classe puo` imparare i seguenti spells:\\n\\r\", ch);\r\n\t\tSET_BIT(ch->player.user_flags,USE_PAGING);\r\n\t\tfor(max=0; max<IMMORTALE; max++) {\r\n\t\t\tfor(i=0; *spells[i] != '\\n'; i++) {\r\n\t\t\t\tif( spell_info[i+1].spell_pointer &&\r\n\t\t\t\t\t\tspell_info[i+1].min_level_druid<IMMORTALE) {\r\n\t\t\t\t\tsnprintf(buf,254,\"[%d] %s %s\", spell_info[i+1].min_level_druid,\r\n\t\t\t\t\t\t\t spells[i],how_good(ch->skills[i+1].learned));\r\n\t\t\t\t\tstrcat(buf,\" \\n\\r\"  );\r\n\t\t\t\t\tif (strlen(buf)+strlen(buffer) > MAX_STRING_LENGTH-2)\r\n\t\t\t\t\t{ break; }\r\n\t\t\t\t\tstrcat(buffer, buf);\r\n\t\t\t\t\tstrcat(buffer, \"\\r\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}"}}
{"actor":{"display_login":"francescosabatini"}}