作者amosdeus (幽素)
看板mud_sanc
標題[wizs]問題請教(十)
時間Wed Jul 4 00:55:14 2007
int beachscape(string str)
{
object ppl = this_player();
if(random(2)==1)
{
tell_object(ppl,CYN"\nxxxxxxxxxxxxxxxxx!\n"NOR);
if((int)ppl->query("skill/xxxx")>xxx||(int)ppl->query("skill/xxx")<xxx)
ppl->set("skill/xxxxx",xxx);
}
return 1;
}
為了保密以x來代替
我想請教問題有兩個
第一、請問要怎樣為同在一個房間的所有玩家,在技能上加的數值
第二、請問要增加技能數值是用add嗎?
檔案目錄:/u/p/plain/wide/virtue/room/149
以上謝謝
Plain@Sanc
--
咽咽學楚吟 病骨傷幽素 秋姿白髮生 木葉啼風雨
燈青蘭膏歇 落照飛蛾舞 古壁生凝塵 羇魂夢中語
【 傷心行 李賀 】
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.127.99.120