Jump to content

ranmaster27

Members
  • Posts

    17
  • Joined

  • Last visited

Community Answers

  1. ranmaster27's post in Client Side - Some sound effects don't play was marked as the answer   
    Welp, I just did a work around through manual item_db scripting.

    Apparently @effect still plays the default potion/healing sounds, so I just added this into their code in item_db.txt
    +misceffect <effectnum>; for each healing item with no effect sound.
    501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(45,65),0; misceffect 204; },{},{} 502,Orange_Potion,Orange Potion,0,200,,100,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(105,145),0; misceffect 205; },{},{} 503,Yellow_Potion,Yellow Potion,0,550,,130,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(175,235),0; misceffect 206; },{},{} 504,White_Potion,White Potion,0,1200,,150,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(325,405),0; misceffect 207; },{},{} 505,Blue_Potion,Blue Potion,0,5000,,150,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal 0,rand(40,60); misceffect 208; },{},{} 506,Green_Potion,Green Potion,0,40,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_end SC_POISON; sc_end SC_SILENCE; sc_end SC_BLIND; sc_end SC_CONFUSION; sc_end SC_HALLUCINATION; misceffect 209; },{},{} 507,Red_Herb,Red Herb,0,18,,30,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(18,28),0; misceffect 204;},{},{} 508,Yellow_Herb,Yellow Herb,0,40,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(38,58),0; misceffect 206; },{},{} 509,White_Herb,White Herb,0,120,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(75,115),0; misceffect 207; },{},{} 510,Blue_Herb,Blue Herb,0,60,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal 0,rand(15,30); misceffect 208; },{},{} 511,Green_Herb,Green Herb,0,10,,30,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_end SC_POISON; misceffect 209; },{},{} Hopefully it's doesn't make the server lag too much. =(
×
×
  • Create New...