@@ -48,7 +48,7 @@ class Quest (JQuest) :
if event == "31745-5.htm" :
if cond == 2 :
st.set("cond","0")
- # st.getPlayer().setNoble(True) - UNCOMMENT WHEN CHARACTERS TABLE WILL BE UPDATED WITH NOBLESS STATUS
+ st.getPlayer().setNoble(True)
st.giveItems(NOBLESS_TIARA,1)
st.playSound("ItemSound.quest_finish")
st.setState(COMPLETED)
@@ -70,6 +70,7 @@ CREATE TABLE IF NOT EXISTS characters (
in_jail decimal(1,0) DEFAULT 0,
jail_timer decimal(20,0) DEFAULT 0,
power_grade decimal(11,0) DEFAULT NULL,
+ nobless decimal(1,0) DEFAULT 0,
PRIMARY KEY (obj_Id),
KEY `clanid` (`clanid`)
) ;
@@ -0,0 +1 @@
+ALTER TABLE characters ADD nobless DECIMAL( 1, 0 ) DEFAULT '0' NOT NULL;